text_to_image
Generate images from text descriptions with GPT Image 2. Choose aspect ratio, resolution, and optionally wait for task completion.
Instructions
Create a GPT Image 2 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 | No | ||
| timeout_ms | No | ||
| aspect_ratio | No | ||
| poll_interval_ms | No | ||
| output_resolution | No |