generate_image_from_text
Generate images from descriptive text prompts. Choose workflows and set width, height for customized output.
Instructions
Generates an image using ComfyUI based on the provided prompt and optional parameters.
Args:
prompt: The positive text prompt (It must be in English).
workflow_name: The name of the workflow file (without .json) from the 'workflows' directory to use.
If None, uses the default workflow ('t2image_bizyair_flux').
width: The desired width of the image (default: 1024).
height: The desired height of the image (default: 1024).
Returns:
A URL to view the generated image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| workflow_name | Yes | ||
| width | No | ||
| height | No | ||
| seed | No |