image_to_image
Transform an existing image using a text prompt. Adjust denoise, steps, and other parameters to control the result.
Instructions
Transform an existing image guided by a text prompt.
All parameters except prompt and input_image are optional with sensible defaults. Change any parameter to customize.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cfg | No | Guidance scale. Default: 8.0. Typical: 1.0-20.0. | |
| seed | No | Random seed. Default: -1 (random). | |
| steps | No | Sampling steps. Default: 20. Typical: 15-50. | |
| prompt | Yes | Text description guiding the transformation. | |
| denoise | No | Denoising strength. Default: 0.75. Range: 0.0 (no change) to 1.0 (full regeneration). Typical: 0.5-0.8. | |
| sampler | No | Sampler algorithm. Default: "euler". Use list_samplers_and_schedulers() to see all. | euler |
| lora_name | No | LoRA model. Default: "" (none). Use list_models(folder="loras") to see options. | |
| scheduler | No | Noise scheduler. Default: "normal". Use list_samplers_and_schedulers() to see all. | normal |
| checkpoint | No | Checkpoint model. Default: "" (auto-selects). Use list_models(folder="checkpoints") to see options. | |
| input_image | Yes | Filename in ComfyUI's input directory. Upload first with upload_image if needed. | |
| lora_strength | No | LoRA influence. Default: 1.0. Range: 0.0-2.0. | |
| negative_prompt | No | Things to avoid. Default: "" (none). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||