IMAGE MODEL

gpt image 2

openai/gpt-image-2

Developer Price

$0.05 / img

Integrate gpt image 2 (openai/gpt-image-2) via REST API or OpenAI SDK. Transparent developer pricing at $0.05 / img. Ultra low-latency AI image generation. Compatible with official OpenAI SDKs and standard REST cURL requests. Instant account balance deduction with automated failure refunds.

Input Modalities

text, image

Output Modalities

image

Supported Parameters

quality, size

cURL Integration Example

curl -X POST "https://api.pigenai.art/v1/images/generations" \
  -H "Authorization: Bearer pk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-image-2",
    "prompt": "A futuristic cybernetic scene in ultra realistic 8k resolution",
    "size": "1024x1024"
  }'
        

Need an API Key?

Generate live developer credentials in your dashboard.