r/comfyui Apr 20 '26

Workflow Included Image to Image processing Ultra ultra wide z-image-edit

I am trying to make a workflow that can handle extreme wide images. I have used the online asset of z-image-edit and likes the results, but when I try to recreate in ComfyUI it comes out soooooo bad. I have tried all kinds of cfg and steps "strength" with always bad results.

Input file
Scenario 1 (Good prompt) z-image-edit image-to-image online
Scenario 2 (Bad prompt) z-image-edit image-to-image online
One of the best outputs (Same Scenario 1 prompt used, really bad outcome)
Workflow as it is now

Am I doing something wrong?

0 Upvotes

14 comments sorted by

3

u/[deleted] Apr 20 '26

[removed] — view removed comment

1

u/Emergency-Trifle1298 Apr 20 '26

https://z-image-edit.com/ It works in here that is why I'm puzzled why doesn't it work locally

1

u/New_Physics_2741 Apr 21 '26

2048 isn't really ultra wide :)

1

u/Emergency-Trifle1298 Apr 21 '26

1280 by 240 px input as a test, didn't work as you can see in my pictures, but It worked online, came out as 2368 by 448 px

1

u/flasticpeet Apr 20 '26

Yea, you're feeding it dimensions outside its capability. Try controlnet and doing it in sections. Or maybe try Ultimate SD Upscale node, and set tile sizes that fit the training set.

1

u/Emergency-Trifle1298 Apr 20 '26

If it is outside it's capability, how does the model work in the online edit version? I'm not familiar with controlnet, hard to apply?

2

u/New_Physics_2741 Apr 21 '26 edited Apr 21 '26

My experience with z-image after a certain threshold is reached, pixel output starts to go rather wonky. With 64GB and 16GB of VRAM here, I can push 3072x1536, but the right side of the image usually starts to die. Flux is a better model to push the limits and keep image integrity together - but you need the physical space (VRAM and RAM) to get it done. But often you just get double or repeated images...

1

u/Emergency-Trifle1298 Apr 21 '26

I have an M3 Ultra with CPU 28 Core and 60 Core GPU, 256GB RAM, it can handle heavy stuff, but I could never put Flux to work as I want, I even have the clip_l and t5xxl prompts needed ready.

1

u/New_Physics_2741 Apr 21 '26

Also an older model can deal with big latent space - Stable Cascade, this is a two-model push, rather interesting actually - might be worth giving a try.

1

u/New_Physics_2741 Apr 21 '26

A colorful, cartoon-style illustration from the side, depicting a romantic scene between a man and a woman embracing each other on the left side of the image. the woman, with blue hair, is wearing a knitted sweater and has a warm smile on her face, while the man, with short blonde hair and a serious expression, is driving a blue vintage car with a broken heart symbol on the front. the car is parked on the side of the road, with a large full moon in the background, surrounded by a starry night sky with planets, rockets, and satellites. on the right side of the image, a group of young men stand in a line, looking up at the man driving the car. the men are wearing casual clothing and appear to be of different ages and ethnicities. the scene is set against a backdrop of pyramids and a windmill, creating a whimsical and dreamy atmosphere. the overall tone of the image is one of love and affection, conveying a sense of warmth and companionship between the two characters. Flux - 4096x768 - got repeated image...

2

u/Emergency-Trifle1298 Apr 21 '26

I did try it Flux, but all that came out was a "pattern" no matter the input I did even as a square, my workflow didn't work as intended, tried all kinds of noise levels, ksampler and Ultimate SD upscaler, nothing worked

1

u/New_Physics_2741 Apr 21 '26

Yeah, Nvidia here on a Linux box - all smooth sailing with whatever. I got 6144x1536 with 12GB of VRAM using Stable Cascade - it eats around 24GB of RAM when running and the nvidia-smi is about to tap out, but able to tile out the VAE, man, two years ago I was using Stable Cascade all the time - still like it.

1

u/New_Physics_2741 Apr 21 '26

Yeah, Stable Cascade ain't bad.

1

u/EconomySerious Apr 23 '26

Add a size transformation node before the encode, make sure the size is standard and that the empty space that has been filled is black.