gpt-image-2-6/economy-text-to-image
Generate and edit images with Flare, Sunburst or Economy. Choose flexible token-based generation or fixed-price 1K images.
價格: Economy · 1K · PNG/GIF · 按張計費: 6 ($0.03)
線上試用
已依模型規格填入範例。可直接執行,也可以先修改欄位。
探索更多圖片模型
更多 OpenAI AI 模型
最新與熱門 AI 模型
GPT Image 2.6: generation and editing
Flare is the faster option; Sunburst focuses on detail and edit consistency. Both support 1K, 2K and 4K. Economy offers fixed-price 1K PNG output.
Parameters
| Parameter | Supported values |
|---|---|
| prompt | 1–20,000 characters |
| input_urls | Up to 16 public JPEG/PNG/WebP URLs, up to 30 MB each; image-to-image variants only. |
| resolution | Flare / Sunburst: 1K (default), 2K, 4K. Economy: fixed 1K; omit resolution. |
| aspect_ratio | Flare / Sunburst: auto, 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 21:9, 9:21, 3:1, 1:3. Economy: auto, 1:1, 16:9, 9:16, 3:2, 2:3, 21:9, 4:3. |
| background | auto / opaque / transparent; applies only at 1K. |
| output_format | Flare / Sunburst: png, jpeg, webp; text-to-image also supports gif. Economy: png; text-to-image also supports gif. |
| n / quality | One task per request; no batch count or quality parameter is documented. |
API usage
POST /v1/images/generations with model, prompt and optional parameters. For editing, pass input_urls. The gateway waits for completion and returns data[].url and usage; no provider callback or polling is required.
GIF limits
Flare / Sunburst documentation conflicts on GIF frame counts and SVG support. We expose their agreed frame_count values auto/4/9/16; Economy text-to-image also supports 25/36/64. frame_duration_ms accepts integers 20–2000, rounded by the model provider to 10 ms. GIF applies only to text-to-image. SVG is not offered.
GPT Image 2.6 定價
Flare/Sunburst 按實際用量扣點,精確至小數點後兩位。解析度與內容會影響最終費用。
| 文字輸入 | 1080 點/百萬 token ($5.4) |
| 快取文字輸入 | 270 點/百萬 token ($1.35) |
| 圖片輸入 | 1728 點/百萬 token ($8.64) |
| 快取圖片輸入 | 432 點/百萬 token ($2.16) |
| 圖片輸出 | 6480 點/百萬 token ($32.4) |
| Economy · 1K · PNG/GIF · 按張計費 | 6 ($0.03) |
curl https://modelfold.ai/v1/images/generations \
-H "Authorization: Bearer $MODELFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-image-2-6/economy-text-to-image","prompt":"..."}'








