GPT Image 2 Official
gpt_image_2_officialGenerate or edit images through an OpenAI-compatible gateway with configurable presets, sizes, and aspect ratios for multi-provider support.
Instructions
Generate or edit images via the OpenAI Images compatible gateway. The active startup preset owns provider, model, timeout, retry, and field dispatch behavior. You may override preset and api_key per call; if preset is supplied, api_key is required in the same request. Without overrides, the configured preset and API key are used. Select image_size plus aspect_ratio from the catalog enums to derive the provider size preset. Call list_image_tools_catalog first when you need the current supported size presets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | ||
| mode | Yes | ||
| prompt | Yes | ||
| save_path | Yes | ||
| aspect_ratio | No | 1:1 | |
| image_size | No | 1K | |
| quality | No | auto | |
| output_format | No | png | |
| output_compression | No | ||
| background | No | auto | |
| moderation | No | auto | |
| n | No | ||
| preset | No | ||
| api_key | No | ||
| images | No | ||
| mask | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||