generate_image
Generate images from text prompts using the FLUX model in ComfyUI. Control output with settings for size, steps, and scheduler.
Instructions
Generate an image using Flux dev model in ComfyUI
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed for reproducibility (-1 for random) | |
| steps | No | Number of sampling steps | |
| width | No | Width of the generated image | |
| height | No | Height of the generated image | |
| prompt | Yes | The text prompt to generate an image from | |
| cfg_scale | No | Classifier-free guidance scale | |
| scheduler | No | Scheduler to use | normal |
| batch_size | No | Number of images to generate in parallel (1-4 recommended) | |
| sampler_name | No | Sampling method to use | euler |
| negative_prompt | No | Negative prompt to avoid certain features |