正在載入範本…
✦

gpt-image-2-6/economy-text-to-image

⚡ 透過 API 執行

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)

線上試用

已依模型規格填入範例。可直接執行,也可以先修改欄位。

就緒
提示詞

必填

長寬比
background
output_format
frame_count
frame_duration_ms
餘額: —
結果

此版本的輸出範例。按「執行」即可生成自己的結果。

瀏覽所有模型 →
≡
README
GPT Image 2.6 完整使用指南

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

ParameterSupported values
prompt1–20,000 characters
input_urlsUp to 16 public JPEG/PNG/WebP URLs, up to 30 MB each; image-to-image variants only.
resolutionFlare / Sunburst: 1K (default), 2K, 4K. Economy: fixed 1K; omit resolution.
aspect_ratioFlare / 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.
backgroundauto / opaque / transparent; applies only at 1K.
output_formatFlare / Sunburst: png, jpeg, webp; text-to-image also supports gif. Economy: png; text-to-image also supports gif.
n / qualityOne 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)
快速入門
POST/v1/images/generations
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":"..."}'