{"id":"989d19a0-ffb0-47bb-b76f-16e2942aa060","revision":0,"last_node_id":12,"last_link_id":11,"nodes":[{"id":1,"type":"MarkdownNote","pos":[-470,-10],"size":[430,247],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[],"title":"About this workflow","properties":{},"widgets_values":["## ComfyUI Nodes Explained: Image Size\n\n**Finished workflow** = the answer to the Practice tasks. Press **Run** to generate the orange panda painter as a **tall image (832 x 1216)**.\n\nThe video and the Practice workflow:\nhttps://workflows.pixaroma.com/comfyui-nodes-explained/3/\n\n**The 3 model files (Z-Image Turbo, free, the same files as in Videos 1 and 2):**\n\n- [z_image_turbo_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_int8_convrot.safetensors) (6.2 GB)\n  goes in **ComfyUI/models/diffusion_models/z-image**\n- [qwen_3_4b_fp8_mixed.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b_fp8_mixed.safetensors) (5.6 GB)\n  goes in **ComfyUI/models/text_encoders**\n- [ae.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors) (0.3 GB)\n  goes in **ComfyUI/models/vae**\n\nAfter you add files while ComfyUI is open, click an empty spot on the canvas and press **R**, so the lists refresh."],"widgets_values_named":{"text":"## ComfyUI Nodes Explained: Image Size\n\n**Finished workflow** = the answer to the Practice tasks. Press **Run** to generate the orange panda painter as a **tall image (832 x 1216)**.\n\nThe video and the Practice workflow:\nhttps://workflows.pixaroma.com/comfyui-nodes-explained/3/\n\n**The 3 model files (Z-Image Turbo, free, the same files as in Videos 1 and 2):**\n\n- [z_image_turbo_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_int8_convrot.safetensors) (6.2 GB)\n  goes in **ComfyUI/models/diffusion_models/z-image**\n- [qwen_3_4b_fp8_mixed.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b_fp8_mixed.safetensors) (5.6 GB)\n  goes in **ComfyUI/models/text_encoders**\n- [ae.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors) (0.3 GB)\n  goes in **ComfyUI/models/vae**\n\nAfter you add files while ComfyUI is open, click an empty spot on the canvas and press **R**, so the lists refresh."},"color":"#432","bgcolor":"#653"},{"id":2,"type":"MarkdownNote","pos":[-470,317],"size":[430,240],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"title":"What you learned","properties":{},"widgets_values":["### How image size works\n\nThe **empty latent** is the **blank canvas**: its **width** and **height** set the size of the image, in pixels.\n\nChange the size, and the **same seed gives a new image**.\n\n**2048 x 2048** has 4x the pixels of 1024 x 1024 and took about 5x longer. Try ideas at a normal size first.\n\nThe shape is the **aspect ratio**: 832 x 1216 is tall, 1216 x 832 is wide, both about one million pixels.\n\n**Empty SD3 Latent Image** moves in steps of **16** (1080 becomes 1088), **Empty Latent Image** in steps of **8**. With the **KSampler**, any empty latent node works.\n\n**batch_size** = how many images one Run makes. At 1024 a batch of 4 took about as long as 4 separate Runs; at 512 it was almost twice as fast."],"widgets_values_named":{"text":"### How image size works\n\nThe **empty latent** is the **blank canvas**: its **width** and **height** set the size of the image, in pixels.\n\nChange the size, and the **same seed gives a new image**.\n\n**2048 x 2048** has 4x the pixels of 1024 x 1024 and took about 5x longer. Try ideas at a normal size first.\n\nThe shape is the **aspect ratio**: 832 x 1216 is tall, 1216 x 832 is wide, both about one million pixels.\n\n**Empty SD3 Latent Image** moves in steps of **16** (1080 becomes 1088), **Empty Latent Image** in steps of **8**. With the **KSampler**, any empty latent node works.\n\n**batch_size** = how many images one Run makes. At 1024 a batch of 4 took about as long as 4 separate Runs; at 512 it was almost twice as fast."},"color":"#432","bgcolor":"#653"},{"id":3,"type":"UNETLoader","pos":[0,340],"size":[270,82],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[1]}],"properties":{"cnr_id":"comfy-core","ver":"0.42.1","Node name for S&R":"UNETLoader","models":[{"name":"z_image_turbo_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_int8_convrot.safetensors","directory":"diffusion_models"}]},"widgets_values":["z-image\\z_image_turbo_int8_convrot.safetensors","default"],"widgets_values_named":{"unet_name":"z-image\\z_image_turbo_int8_convrot.safetensors","weight_dtype":"default"},"color":"#223","bgcolor":"#335"},{"id":4,"type":"CLIPLoader","pos":[0,540],"size":[270,106],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[2,10]}],"properties":{"cnr_id":"comfy-core","ver":"0.42.1","Node name for S&R":"CLIPLoader","models":[{"name":"qwen_3_4b_fp8_mixed.safetensors","url":"https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b_fp8_mixed.safetensors","directory":"text_encoders"}]},"widgets_values":["qwen_3_4b_fp8_mixed.safetensors","lumina2","default"],"widgets_values_named":{"clip_name":"qwen_3_4b_fp8_mixed.safetensors","type":"lumina2","device":"default"},"color":"#223","bgcolor":"#335"},{"id":5,"type":"VAELoader","pos":[0,730],"size":[270,58],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[9]}],"properties":{"cnr_id":"comfy-core","ver":"0.42.1","Node name for S&R":"VAELoader","models":[{"name":"ae.safetensors","url":"https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors","directory":"vae"}]},"widgets_values":["ae.safetensors"],"widgets_values_named":{"vae_name":"ae.safetensors"},"color":"#223","bgcolor":"#335"},{"id":6,"type":"CLIPTextEncode","pos":[400,340],"size":[420,270],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":2},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[3]}],"title":"CLIP Text Encode (Positive Prompt)","properties":{"cnr_id":"comfy-core","ver":"0.42.1","Node name for S&R":"CLIPTextEncode"},"widgets_values":["A stylized 3D animated film still of a cute chubby panda painter in a cozy artist's studio. Its fur pattern is a giant panda's, but in orange and white: bright orange round ears, orange patches around its eyes, orange arms and legs, an orange band across its shoulders, and soft white fur everywhere else. It stands on its hind legs at a wooden easel, wearing a navy beret and a cream apron with a few paint stains. Its right paw holds a thin paintbrush touching the canvas, its left paw rests relaxed at its side. Beside the easel, a small wooden stool holds three open paint pots, orange, blue and yellow. Big shiny dark eyes, soft rounded shapes, fur made of fine soft strands. Warm afternoon sunlight comes from a tall window on camera-left, a beam of light with floating dust, shelves of paint jars behind. Medium shot at the panda's eye level, 50mm, the background softly blurred. A palette of warm orange, navy and cream."],"widgets_values_named":{"text":"A stylized 3D animated film still of a cute chubby panda painter in a cozy artist's studio. Its fur pattern is a giant panda's, but in orange and white: bright orange round ears, orange patches around its eyes, orange arms and legs, an orange band across its shoulders, and soft white fur everywhere else. It stands on its hind legs at a wooden easel, wearing a navy beret and a cream apron with a few paint stains. Its right paw holds a thin paintbrush touching the canvas, its left paw rests relaxed at its side. Beside the easel, a small wooden stool holds three open paint pots, orange, blue and yellow. Big shiny dark eyes, soft rounded shapes, fur made of fine soft strands. Warm afternoon sunlight comes from a tall window on camera-left, a beam of light with floating dust, shelves of paint jars behind. Medium shot at the panda's eye level, 50mm, the background softly blurred. A palette of warm orange, navy and cream."},"color":"#232","bgcolor":"#353"},{"id":8,"type":"EmptySD3LatentImage","pos":[400,920],"size":[270,106],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"batch_size","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[6]}],"properties":{"cnr_id":"comfy-core","ver":"0.42.1","Node name for S&R":"EmptySD3LatentImage"},"widgets_values":[832,1216,1],"widgets_values_named":{"width":832,"height":1216,"batch_size":1}},{"id":9,"type":"KSampler","pos":[860,340],"size":[320,262],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":1},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":3},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":11},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":6},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[7]}],"properties":{"cnr_id":"comfy-core","ver":"0.42.1","Node name for S&R":"KSampler"},"widgets_values":[2026,"fixed",8,1,"res_multistep","simple",1],"widgets_values_named":{"seed":2026,"control_after_generate":"fixed","steps":8,"cfg":1,"sampler_name":"res_multistep","scheduler":"simple","denoise":1}},{"id":10,"type":"VAEDecode","pos":[1220,340],"size":[210,46],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":7},{"localized_name":"vae","name":"vae","type":"VAE","link":9}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[8]}],"properties":{"cnr_id":"comfy-core","ver":"0.42.1","Node name for S&R":"VAEDecode"}},{"id":11,"type":"SaveImage","pos":[1220,440],"size":[520,600],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":8},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null}],"outputs":[{"localized_name":"images","name":"images","type":"IMAGE","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.42.1","Node name for S&R":"SaveImage"},"widgets_values":["Nodes Explained/Image Size"],"widgets_values_named":{"filename_prefix":"Nodes Explained/Image Size"}},{"id":12,"type":"CLIPTextEncode","pos":[400,660],"size":[420,200],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":10},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[11]}],"title":"CLIP Text Encode (Negative Prompt)","properties":{"cnr_id":"comfy-core","ver":"0.42.3","Node name for S&R":"CLIPTextEncode"},"widgets_values":["blurry, ugly, bad hands, low quality"],"widgets_values_named":{"text":"blurry, ugly, bad hands, low quality"},"color":"#322","bgcolor":"#533"}],"links":[[1,3,0,9,0,"MODEL"],[2,4,0,6,0,"CLIP"],[3,6,0,9,1,"CONDITIONING"],[6,8,0,9,3,"LATENT"],[7,9,0,10,0,"LATENT"],[8,10,0,11,0,"IMAGE"],[9,5,0,10,1,"VAE"],[10,4,0,12,0,"CLIP"],[11,12,0,9,2,"CONDITIONING"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.55,"offset":[560,80]}},"version":0.4}