Limited offer | New users get 30% off Pro plans.Claim now
image2 API

Powerful AI Image Generation API

Bring image2 AI image generation into your product and turn ideas into production-ready visuals with a simple, reliable API.

Fast integration
Reliable service
Transparent pricing
Data security
Complete docs
A cat sitting by a sunny window

POST /v1/images/generations

{
  "model": "gpt-image-2",
  "prompt": "A cute cat sitting by the window, warm sunlight on its fur",
  "size": "1024x1024",
  "n": 1
}
Generated

Fast integration

Simple API design that can be integrated in minutes.

Reliable service

99.9% availability with accelerated delivery.

Transparent pricing

Credit-based usage with clear, predictable costs.

Data security

HTTPS transport and privacy-minded processing.

Complete docs

Detailed API docs and practical code examples.

Access in 3 steps

1

Get API Key

Create an account and API key.

2

Choose endpoint

Use the image generation API.

3

Call API

Send a request and receive results.

Quick Start

curl -X POST https://image2.vip/api/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2",
    "prompt": "A cute cat sitting by the window, warm sunlight on its fur",
    "size": "1024x1024",
    "n": 1
  }'
Response
{
  "created": 1715881600,
  "data": [
    {
      "url": "https://image2.vip/generations/img_abc123.png",
      "revised_prompt": "A cute cat sitting by the window, warm sunlight on its fur"
    }
  ]
}