text_to_image
Generate images from text prompts using Flux Kontext models. Returns task ID, status, and output URLs.
Instructions
Create a Flux Kontext task on RunAPI (text to image). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| watermark | No | ||
| aspect_ratio | No | ||
| callback_url | No | ||
| output_format | No | ||
| safety_tolerance | No | ||
| source_image_url | No | ||
| enable_translation | No | ||
| enable_prompt_expansion | No | ||
| wait | No | Poll until the task reaches a terminal status. | |
| timeout_ms | No | ||
| poll_interval_ms | No | ||
| model | No | RunAPI model slug for this model line. |