Image generation and editing

GPT Image 2.6 API

Create images and animations with GPT Image 2.6.

Choose Flare for fast iteration or Sunburst for detailed composition and editing. Generate one image per request, edit using up to 16 references, or create a GIF from a text prompt.

Try playground
$0.017/image
Starting price
1K / 2K / 4K
Resolution
Up to 16
References
OpenAI
gpt-image-2.6image task
$0.017/image
Starting price
1K / 2K / 4K
Resolution
Up to 16
References

Model capabilities

Built for production API workflows, not one-off demos.

Use GPT Image 2.6 from the same platform surface as the rest of your video and image stack: API keys, credits, logs, webhooks, and docs stay consistent across providers.

Two versions, the same price

Flare and Sunburst share the same fixed price at each resolution.

Generation and reference editing

Use text alone or provide images to guide composition, preserve details, and edit existing scenes.

Image and GIF output

Choose PNG, JPEG, or WebP for images. GIF supports text prompts with automatic composition and no reference images. SVG is unavailable.

API workflow

Submit tasks, track progress, and return generated assets.

01

Describe the result

Write a prompt and choose your version, resolution, and output format.

02

Submit one task

Receive a task ID. Poll that ID or receive a completion callback; keep polling after a client timeout.

03

Use your output

Download the image or animation from the returned output URL.

POST /v1/images/generations
curl -X POST https://api.aivideoapi.ai/v1/images/generations \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-image-2.6","input":{"prompt":"A warm reading corner beside a rainy window","version":"flare","resolution":"1k","aspect_ratio":"16:9","n":1}}'
What teams build
Product imagery
Reference editing
Posters and text
Looping animations

Pricing and usage

Clear model options with shared credits.

1K
3.4 credits/image

$0.017 before account multipliers

2K
12 credits/image

$0.06 before account multipliers

4K
16 credits/image

$0.08 before account multipliers

Start building with GPT Image 2.6 in AI Video API.

Create one API key, use one credit balance, and switch between video and image models without provider-specific plumbing.

Read docs