text_to_image
Creates a GPT Image task to generate images from text prompts, returning task ID, status, and output URLs.
Instructions
Create a GPT Image task on RunAPI (text to image). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| quality | Yes | ||
| aspect_ratio | Yes | ||
| 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. |