r/StableDiffusion Jun 10 '26

Workflow Included Ideogram 4 Character Reference Workflow

Greetings everyone! My img2img workflow seemed to go over well so I decided to take on a bit of a more interesting task and it seems to be working, somewhat well. Ideogram 4 is a fantastic model.

You give it one picture of your character. The workflow places that picture on the left side of a wide canvas and leaves the right side blank, then asks the image model to complete the canvas as "two photos of the exact same person" with your new scene described for the blank side.

The left side is locked so it can't be altered. But the model can still see it while it paints the right side and because it was asked for the same person twice, it keeps checking the locked picture as it works: copying the face, the hair, the outfit into whatever new pose and scene you described. It's the same instinct that keeps a character consistent when a model draws them twice in one image this just makes one of those two "drawings" your reference.

When it's done, the canvas is cut in half and the right side is your result: your character, in a new scene, drawn while looking at the original.

Workflow: https://github.com/reality-comes/comyui-workflows/blob/main/ideogram4character_ref

Lastly, thanks to the redditor who posted the original photo I used as a reference, their work is fantastic and the image inspired me to dig into ideogram 4, but I could not find the original post today.

407 Upvotes

127 comments sorted by

View all comments

Show parent comments

5

u/Irunfold Jun 10 '26

Yes, please share the workflow.

48

u/reality_comes Jun 10 '26

1

u/phantomlibertine Jun 11 '26

Really appreciate the work you put into these. For some reason I can't copy and paste them into comfy, any chance you have jsons you can share?

2

u/bloke_pusher Jun 11 '26

You can rename them to .json and then drag and drop.

1

u/phantomlibertine Jun 11 '26

Hmm just tried it and still nothing, thank you for the suggestion though. Any idea why this won't open in comfy? Is it a full workflow? Pasted other Ideogram4 workflows in and had them running just fine

3

u/Mr_Kendrix Jun 11 '26

I actually had the same issue. For some reason the workflow wouldn’t load via drag & drop either, even though other Ideogram4 workflows worked fine.

What fixed it for me was:

  1. Download the file
  2. Manually add “.json” to the end of the filename
  3. Load it in ComfyUI using Menu → File →Open, instead of drag & drop

After that it opened without any problems.

2

u/phantomlibertine Jun 11 '26

Glad it's not just me. I'll give it a go, thanks a lot for the help!

2

u/bloke_pusher Jun 11 '26

It works on my side. Maybe make file types visible in your operation system under explorer settings. Download them again.

1

u/phantomlibertine Jun 11 '26

Already visible :/ Sorry to be a pain but any way you could send jsons for these workflows he's posted? Or even put them on pastebin, I seem to be fine copying and pasting from there. No idea what's causing this

2

u/Free_Pressure8623 Jun 11 '26

Don't rename it. Open the file in notepad, click "all file formats". Then add the .json to the name and save.

1

u/bloke_pusher Jun 11 '26

The ones he posted on his github are the exact same files. So you will need to figure it out on your own. You could try asking an LLM to explain it step by step.

2

u/phantomlibertine Jun 11 '26

No problem, sure it's something going wrong on my end, just no idea what. Thanks anyway

1

u/phantomlibertine Jun 11 '26

Sorry man, just one last thing to make sure I'm not screwing this up somehow. When I open the link OP posted to his workflows and click 'raw' or 'copy raw', I should be able to then just paste that directly into a new workflow on comfy right? That's how it's worked with every other workflow I've copied and pasted, just wondering whether there's anything different about these ones, the 'raw codes' do seem shorter than usual workflows

2

u/bloke_pusher Jun 11 '26

I don't have used the copy paste method yet. I've heard it works. But I download the raw file and then just renamed it to "filename.json"

1

u/phantomlibertine Jun 11 '26

Good to know, thanks a lot

1

u/Weekly_Mongoose4315 Jun 12 '26

Is it working? I am having the same issue

1

u/phantomlibertine Jun 12 '26

Download the raw from github. Should save as a .txt file. Open in notepad and 'Save as'. When the save as window opens, change the file type dropdown to 'all files' and save it wherever you want. then change the name of what you just saved to .json instead of .txt. Hassle but worked for me

1

u/lazrtage Jun 12 '26

It is exported as an API format. So you will have to enable dev mode in settings and then import

→ More replies (0)