Memuatkan templat…
✦

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

⚡ Jalankan melalui API

Generate and edit images with Flare, Sunburst or Economy. Choose flexible token-based generation or fixed-price 1K images.

Jenis model:

Harga: Economy · 1K · PNG/GIF · per image: 6 ($0.03)

Playground

Medan diisi mengikut spesifikasi model. Anda boleh terus menjalankannya atau menyunting mana-mana medan dahulu.

Sedia
Arahan

Wajib

Nisbah aspek
background
output_format
frame_count
frame_duration_ms
Baki: —
Hasil
Sejarah

Contoh hasil untuk varian ini. Tekan Jalankan untuk menjana hasil sendiri.

Lihat semua model →
≡
README
Panduan lengkap menggunakan 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 pricing

Flare / Sunburst: actual usage, charged to two decimal places. Resolution and content affect token usage; this is not a fixed price per image.

Text input1080 credits / 1M tokens ($5.4)
Cached text input270 credits / 1M tokens ($1.35)
Image input1728 credits / 1M tokens ($8.64)
Cached image input432 credits / 1M tokens ($2.16)
Image output6480 credits / 1M tokens ($32.4)
Economy · 1K · PNG/GIF · per image6 ($0.03)
Panduan ringkas
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":"..."}'