GPT Image 2

OpenAI GPT Image 2 image editing via kie.ai jobs API. Supports prompt-only generation and reference-image editing.

All models
Result

Configure parameters and click Run to test the API.

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