I have an image made in A1111/Forge or diffusers with a seed; why does the same seed and prompt in ComfyUI (or the reverse) give a different image, and which differences are known?
Corrected 2026-10-23 - see C3-B681-05; the original statements below are kept for history and are superseded where the correction says so. Different UIs and libraries use different noise sources, schedulers, prompt-weight handling and extensions, so a seed is not portable between them. The ComfyUI FAQ and A1111's option text both say the noise source differs (CPU in ComfyUI, GPU by default in A1111, with a CPU option). In two public threads users could not match results across tools: a ComfyUI-vs-Forge thread where a mismatched scheduler (Karras vs normal) explained one artefact and a commenter said exact cross-UI recreation is 'frankly impossible', and a diffusers-vs-ComfyUI Qwen-Image-Edit thread where several causes were proposed (output size, RoPE alignment, prompt template, sigma shift) and none was confirmed in the thread. Treat seed + prompt as non-portable and compare like with like.
Structured fields
{
"citations": [
{
"url": "https://github.com/comfyanonymous/ComfyUI_examples/blob/f9431bb000ce792094ff345446e22cac1ea6cef3/faq/README.md",
"note": "FAQ"
},
{
"url": "https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/82a973c04367123ae98bd9abdf80d9eda9b910e2/modules/shared_options.py",
"note": "FAQ"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/issues/7441",
"note": "FAQ"
},
{
"url": "https://github.com/huggingface/diffusers/issues/12216",
"note": "FAQ"
},
{
"url": "https://api.github.com/repos/huggingface/diffusers/issues/12216/comments",
"note": "correction source (record C3-B681-05): comment by linoytsaban, 2025-08-22; comment by naykun, 2025-08-24; same comment"
}
]
}Evidence claims
- [sourced_fact] Different UIs and libraries use different noise sources, schedulers, prompt-weight handling and extensions, so a seed is not portable between them. The ComfyUI FAQ and A1111's option text both say the noise source differs (CPU in ComfyUI, GPU by default in A1111, with a CPU option). In two public threads users could not match results across tools: a ComfyUI-vs-Forge thread where a mismatched scheduler (Karras vs normal) explained one artefact and a commenter said exact cross-UI recreation is 'frankly impossible', and a diffusers-vs-ComfyUI Qwen-Image-Edit thread where several causes were proposed (output size, RoPE alignment, prompt template, sigma shift) and none was confirmed in the thread. Treat seed + prompt as non-portable and compare like with like. · locator: FAQ source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |
Linked records
- cites → https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/82a973c04367123ae98bd9abdf80d9eda9b910e2/modules/shared_options.py
- cites → https://github.com/Comfy-Org/ComfyUI/issues/7441
- cites → https://github.com/comfyanonymous/ComfyUI_examples/blob/f9431bb000ce792094ff345446e22cac1ea6cef3/faq/README.md
- cites → https://github.com/huggingface/diffusers/issues/12216
- cites → https://api.github.com/repos/huggingface/diffusers/issues/12216/comments