comfyui_transform_image
Modify an existing image by describing the desired changes in a text prompt. Uses img2img with configurable strength and steps to control deviation.
Instructions
Transform an existing image using a text prompt (img2img).
The input image must already be uploaded to ComfyUI via comfyui_upload_image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cfg | No | Classifier-free guidance scale | |
| wait | No | If True, block until complete and return result | |
| image | Yes | Filename of the image in ComfyUI's input directory | |
| model | No | Checkpoint model name (leave empty for default) | |
| steps | No | Number of sampling steps | |
| prompt | Yes | Text description guiding the transformation | |
| strength | No | How much to deviate from the input image | |
| negative_prompt | No | What to avoid in the output | bad quality, blurry |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||