generate_image
Create an image from a text prompt. Costs money; checked against the budget first.
Instructions
Create an image from a text prompt. Costs money; checked against the budget first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model ID from list_models. Default: configured default. | |
| prompt | Yes | What to create, in natural language. | |
| resolution | No | Image size: 512, 1K, 2K or 4K | 1K |
| output_name | No | Short name used in the file name (a slug is derived from it). | |
| aspect_ratio | No | e.g. 1:1, 16:9, 9:16, 4:5 | 1:1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||