Where can I find tutorials about img2img in n8n?

Hi,how can I use img2img and convert 3d images into 2d pixel art images using OpenAI API key?What nodes do you need?

I’m a beginner at this and I don’t know how to start!

Hey @southervio, while you wait for a response, here are some things that might help:

Suggested resources

Automatically matched to your question.

Docs:

Forum:

@Anshul_Namdev - you’ve helped with similar issues before, can you take a look?

Automatically suggested by n8n’s community bot. It’s a pilot - please share feedback here.

@southervio No Worries! One moment while I write my workflow JSON!

Read/Write Files from Disk

if i use this node and get ,Access to the file is not allowed ''and I used my image which is 3d in another file path how can I fix that error?i’ve used gpt to get answers because I have no idea how to start!
This is my path and I installed n8n by npm locally C:\Users\souty\Pictures\n8n-files

I really am clueless!

You need to change the env var N8N_RESTRICT_FILE_ACCESS_TO and allow that folder for that env var! It would be in your .yml or n8n configuration!

@achamm I downloaded an 3d image char but it’s in my Pictures folder and Downloads folder and there is no link.Do I have to place it in a website the char?

@southervio no! You can use the read/write node too!

and here, just replace user with your computers username and ensure the file path is correct!

N8N_RESTRICT_FILE_ACCESS_TO=/Users/YOURNAME/Pictures;/Users/YOURNAME/Downloads

Can the 2d character be used in a sprite sheet grid as in the character moves,attacks,defends,uses specials and etc?All this in one image?

yes, but i would separate it for simplicity! And if you can, use gpt image -2 its stronger!

Hi @southervio Welcome!
n8n 2.0 restricts the Read/Write Files from Disk node to ~/.n8n-files by default, which on Windows resolves to C:\Users\souty\.n8n-files, so the n8n-files folder you made inside Pictures is still outside the allowed path. Create C:\Users\souty\.n8n-files, move the 3D image into it, and set File(s) Selector to C:\Users\souty\.n8n-files\your-image.png. That path is allowed out of the box, with no config change and no restart.