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.




模型能力
为生产级 API 工作流设计,不只是演示。
GPT Image 2 与你接入的其他视频和图片模型共用同一套 API Key、积分、日志、Webhook 和文档体系。
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.
Resolution-based pricing
Pay per resolution tier — 1K, 2K, or 4K — and match cost to the quality your workload needs.
Shared billing balance
Run image and video generation through the same credits and account controls.
提交任务、跟踪进度、取回生成结果。
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"
}'定价与用量
清晰的模型选项,共享积分余额。
$0.0235/image
$0.047/image
$0.0705/image
在 AI Video API 上开始使用 GPT Image 2。
一个 API Key、一份积分余额,在视频和图片模型之间无缝切换,无需为每家供应商单独接入。