comfyui_generate_image
Generate an image from a text prompt using ComfyUI's default txt2img workflow, with adjustable model, steps, size, and guidance.
Instructions
Generate an image from a text prompt using a default txt2img workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cfg | No | Classifier-free guidance scale | |
| wait | No | If True, block until complete and return result | |
| model | No | Checkpoint model name (leave empty for default) | |
| steps | No | Number of sampling steps | |
| width | No | Image width in pixels | |
| height | No | Image height in pixels | |
| prompt | Yes | Text description of the image | |
| negative_prompt | No | What to avoid in the output | bad quality, blurry |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||