GPT Image 2.6

GPT Image 2.6 image generation and editing with Flare and Sunburst versions, up to 16 reference images, 1K / 2K / 4K output, and text-to-GIF generation.

All models

Required for generation and editing; must not be blank.

GIF output always uses auto.

GIF uses text prompts only, with no reference images. SVG is unavailable.

Optional. Leave unset to let the model choose; does not change the price.

Optional. Leave unset to let the model choose; does not change the price.

Optional references, free of charge. Playground uploads accept JPG/PNG/WebP up to 10 MB each; the API also accepts public image URLs or Data URLs up to 20 MB.

Pricing
3.4credits
flare 1K × 1
flare 1K × 13.4 credits
flare 2K × 112 credits
flare 4K × 116 credits
sunburst 1K × 13.4 credits
sunburst 2K × 112 credits
sunburst 4K × 116 credits
Result

Configure parameters and click Run to test the API.

Code Example
curl -X POST https://api.aivideoapi.ai/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-image-2.6",
  "input": {
    "version": "flare",
    "resolution": "1k",
    "aspect_ratio": "auto",
    "n": 1,
    "output_format": "png"
  }
}'