text_to_image
Generate images from text prompts using Flux AI models. Specify model, aspect ratio, and polling to get output URLs.
Instructions
Create a Flux task on RunAPI (text to image). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| prompt | Yes | ||
| timeout_ms | No | ||
| aspect_ratio | No | ||
| callback_url | No | ||
| output_count | No | ||
| poll_interval_ms | No |