PonyFlow
Works with Pony, Illustrious, and SDXL!
Please post images generated to this workflow page!
I would love to see your creations! Unfortunately I can't automatically tag this workflow as a resource. The checkpoints and loras you used will be automatically tagged, and show up in the model's images gallery automatically!
NOTE: READ THE INSTALL INSTRUCTIONS ABOUT THE HIGHRESFIX NODE. IT WILL NOT WORK THE FIRST TIME YOU LOAD THIS WORKFLOW.
This workflow is focused on creating high-quality, unique images for Pony and SDXL.
This is my personal workflow and wildcard files I have built up over a year of working with StableDiffusion!
The showcase images are some of my favorite generations over the past year using some variation of this workflow.
Included is a
README.md full of install instructions, where to download the models, and usage tips.
ponyflow_wildcards.yaml a wildcards
ponyflow_v1_workflow.json - The workflow to load into ComfyUI
If you have any questions, let me know in the comments below!
V3 Changelog:
I've simplified this workflow by removing the HiRes Fix node, and instead added an img2img Upscaler that gives similar/ better results.
V2 Changelog:
Added Prompting/ Wildcard/ CFG/ Usage notes inside the workflow to answer commonly asked questions
You can now disable HighResFix/ Upscaling entirely to iterate on styles quickly
No more sample mismatch
Hopefully fixed HighResFix breaking the first time 馃
Copy of README:
## Installation
Install ComfyUI https://github.com/comfyanonymous/ComfyUI
Install ComfyUI Manager https://github.com/ltdrdata/ComfyUI-Manager
- Open ComfyUI
- Load the workflow
- Manager > Install Missing Custom Nodes
聽 聽 - Install all of the missing nodes (I use nightly versions for everything)
- Restart ComfyUI
- Install all of the models listed below to their proper places
- Copy the ponyflow_wildcards.yaml wildcard file into the ComfyUI\custom_nodes\comfyui-impact-pack\wildcards directory.
- Restart ComfyUI
- Trying to run this initially, you may run into an error with the HighRes-Fix Script node. To remedy this, create a new version of the node, make sure the paramters are the same, then reconnect the new one to the KSampler node and delete the old one. Make sure to disabling "use_same_seed" as well. No clue why this happens, but it happens consistently the first time...
## Model Downloads
### Checkpoint
Install to ComfyUI\models\checkpoints
Any Pony model will work. CyberRealistic Pony is one of the most popular models that works out of the box.
https://civarchive.com/models/443821/cyberrealistic-pony?modelVersionId=1346181
### Controlnet
Install to ComfyUI\models\controlnet (I renamed mine to controlnet_union_promax.safetensors)
### Depth Anything
The Depth Anything V2 - Relative node will automatically download and install the needed model.
### Upscale models
Install to ComfyUI\models\upscale_models
https://civarchive.com/models/147759/remacri
### Loras
Install to ComfyUI\models\loras
https://huggingface.co/tianweiy/DMD2/blob/main/dmd2_sdxl_4step_lora.safetensors
https://huggingface.co/tianweiy/DMD2/blob/main/dmd2_sdxl_4step_lora_fp16.safetensors
### CLIP-ViT-H-14-laion2B-s32B-b79K
Install to ComfyUI\models\clip_vision
https://huggingface.co/laion/CLIP-ViT-H-14-laion2B-s32B-b79K/blob/main/model.safetensors
### IPAdapter ip-adapter-plus_sdxl_vit-h
Install to ComfyUI\models\ipadapter (You must manually create this folder)
https://huggingface.co/h94/IP-Adapter/blob/main/sdxl_models/ip-adapter-plus_sdxl_vit-h.safetensors
## Usage
This workflow is focused on creating high-quality, unique images for Pony and SDXL.
It contains different features, all controlled by the Fast Groups Bypasser (rgthree) node. The names of the features correspond to the named groups in the workflow. Turning one off will bypass the entire group.
For general text2img, I use:
- Enable Initial Gen
- Enable Highres
- Enable Film Grain
You can toggle on and off previews if you want to mess with scheduler/ upscaling settings to see differences.
### Skimmed CFG
https://github.com/Extraltodeus/Skimmed_CFG
Many people ask how I make my images. They're hard to replicate solely because of this node. Skimmed CFG makes allows your to turn up CFG values and prompt weights (photorealistic:1.5). Try out 5/12/24/48 CFG while setting Skimmed CFG to 3/5/7!
It allows you to weight your prompts more heavily and develop unique styles. For example, try adding (abstract minimal art:1.9) to your next prompt!
For a baseline, I recommend Skimming CFG at 5.0 and CFG at 12. Please test these values out per-model though because they change the output significantly.
## ImpactWildcardEncode
The positive and negative prompt inputs are wildcard encoders. These process the included yaml file into new unique prompts! This lets you change up pieces of the scene, person, or the entire prompt! The default example shows my normal workflow.
Pick a random person, give them a random body size, and put them in a random scene. You can specify more or less detail, or not use wildcards at all!
There are many techniques to using wildcards that I give examples of in ponyflow_wildcards.yaml.
For more information on wildcards, refer to the guide here: https://github.com/ltdrdata/ComfyUI-extension-tutorials/blob/Main/ComfyUI-Impact-Pack/tutorial/ImpactWildcard.md
When making changes to wildcards, refresh them in the ComfyUI menu under Edit > Impact: refresh Wildcard
I probably need to write an entire article on lessons learned using wildcards...
## Film Grain
I like using the post processing film grain node included in the workflow for realistic images. Try out diffferent values for scale, strenght, and saturation as you like.
## Controlnet Depth
Upload an image to the Load Controlnet Image node to use it as a template for your image. This will take the "shape" of an image, and mold your output to the shape of the input image. Enable the "Depth Sample" node to see what the image's influence is.
## Style Transfer
Upload an image to the "Load Style Image" node to copy its color scheme, and artistic qualities.
Adjust "weight_style" and "end_at" parameters to adjust the strength of the style transferred. As a default I like them both at 0.5, but each style image requires tuning.
## Extra VAE
I've included an extra "Load VAE" node in case the model you use does not have its own VAE. You can use the standard SDXL vae, or one of the many avilable on CivitAI
Description
I've simplified this workflow by removing the HiRes Fix node, and instead added an img2img Upscaler.
FAQ
Comments (26)
Great workflow thanks! Whats the changelog in v3?
Thanks! I added info in the About this version section but forgot to update the changelog in the description. This version replaces the Highres Fix node so many people have issue with. Now you can just modify the upscaler settings to meet your needs.
works great
I have two trouble
- IPAdapterStyleComposition
insightface model is required for FaceID models
- ImageResizeKJ
'int' object has no attribute 'shape'
I have the same problem was there any solution?
I didn't temporarily connect 'get_image_size' to Get_Wide, but to the next IMAGE node. I left GET_Height as it is. The error doesn't appear, the image is created, but some functionality may not work
I fixed it by inserting a new Resize Image node from the same KJnodes pack and I reconnect Get_Height to height_input and Get_Width to width_input. The rest of the node connections should remain the same. This seems to fix it just fine
Is it possible to add eye detailer, I'd love to use it for anthro characters, let me know <3 I will send the buzz! hehe <3
Yeah, eye detailer for V4 please. Awesome work btw thanks for sharing
I had an eye/ skin detailer in this flow originally, but didn't like the results as they were hard to use with wildcards. It should be easy enough to find another workflow and copy the nodes into this one though.
May be obvious to some but how do you change the person? If a say blonde woman... I get the same blonde woman, is it possible to change up the faces?
do a search in articles on pony faces there are alot of tip avaiable
when I go to load the missing custom nodes, it says no results.
Thank you ! It works really well but for one problem i have : As soon as i unswitch "Enable Upscale" (i often don't need any, and it speed the process then) i got a "No input found for flattened id [312] slot [-1]" error.
works great. issue with the upscale, just added the 4x remcrit pth file and I was up and running.
Is there an easier way to add loras? I find myself having to add them into the wildcard prompt and it's a lot of work.
I tend to have them all written up in the prompt card, or at least most of the one I use/experiment with the most, then just put a # in front of the ones I don't want. When you run it, it doesn't anything with a # in front of it. Just make sure everything is on a separate line, otherwise it will block out the entire paragraph.
For example:
<lora:Pony Realism Slider:2>
<lora:RealSkin_xxXL_v1:1>
#<lora:Dramatic Lighting Slider:2.2>
#<lora:body_weight_slider_v1:0.6>
Awesome
Hello, I don't think I'll get an answer, but anyway... (Oh, and if you think you can help me and it suits me, I can make a contribution!) With this workflow, can I create a realistic AI influencer (like a real woman, so with textured skin, nothing plastic) with total consistency in sfw/nsf_w, while changing the poses, facial expressions, backgrounds...
Nice
I've tried to install all nodes with the node manager, but there's two nodes it refuses to install. ComfyLiterals and ComfyUI-Image_filters. Anyone else having this problem?
Great work on constructing this!
Fantastic. I wanted to try Pony Realistic a bit more and this was one of the first workflows I came across. I did notice your images before on several Pony LoRA and model pages and wondered how you make your images. Thank you for putting this together. 鉂わ笍
Is there anyway we can get a ZIT or Flex 2 version of this? The controlnet works so well and I can't find a similar workflow for those 2 and that sucks.



















