GPT Image 2 API
Generate and edit images with GPT Image 2 through one API.
GPT Image 2 supports prompt-only image generation and reference-image editing behind one public model ID. It shares the same API key, credit balance, task logs, and operational model catalog as your video workflows.




Model capabilities
Built for production API workflows, not one-off demos.
Use GPT Image 2 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.
Text-to-image output
Create product visuals, illustrations, thumbnails, and campaign concepts from prompts.
Reference-image editing
Use input images to guide composition, product identity, or transformation tasks.
Simple flat pricing
Use a predictable per-image credit cost for product and user-facing workloads.
Shared billing balance
Run image and video generation through the same credits and account controls.
Submit tasks, track progress, and return generated assets.
Send prompt and references
Use one public model ID for generate and edit workflows.
Track async task
Poll task status or handle completion callbacks.
Use returned assets
Store or display generated images in your application.
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",
"prompt": "A clean studio product image on a neutral background"
}'Pricing and usage
Clear model options with shared credits.
$0.012/image
One public model ID
Reference image workflow
Start building with GPT Image 2 in AI Video API.
Create one API key, use one credit balance, and switch between video and image models without provider-specific plumbing.