Skip to main content
POST
/
v1
/
images
/
generations
gpt-image-1.5-lite API
curl --request POST \
  --url https://api.evolink.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "gpt-image-1.5-lite",
  "prompt": "A beautiful colorful sunset over the ocean"
}
'
{
  "created": 1757156493,
  "id": "task-unified-1757156493-imcg5zqt",
  "model": "gpt-image-1.5-lite",
  "object": "image.generation.task",
  "progress": 0,
  "status": "pending",
  "task_info": {
    "can_cancel": true,
    "estimated_time": 100
  },
  "type": "image",
  "usage": {
    "billing_rule": "per_call",
    "credits_reserved": 2.5,
    "user_group": "default"
  }
}

Authorizations

Authorization
string
header
required

All APIs require Bearer Token authentication

Get API Key:

Visit the API Key Management Page to get your API Key

Add to request header:

Authorization: Bearer YOUR_API_KEY

Body

application/json
model
enum<string>
default:gpt-image-1.5-lite
required

Image generation model name

Available options:
gpt-image-1.5-lite
Example:

"gpt-image-1.5-lite"

prompt
string
required

Prompt describing the image you want to generate, or describing how to edit the input image. Limited to 2000 tokens

Maximum string length: 2000
Example:

"A beautiful colorful sunset over the ocean"

size
enum<string>

Size of the generated image, supports two formats:

Aspect Ratio Format:

  • 1:1: Square
  • 2:3: Portrait
  • 3:2: Landscape

Pixel Format:

  • 1024x1024: Square
  • 1024x1536: Portrait
  • 1536x1024: Landscape
Available options:
1:1,
2:3,
3:2,
1024x1024,
1024x1536,
1536x1024
Example:

"1024x1024"

quality
enum<string>
default:auto

Quality of the generated image

Supported quality levels:

  • low: Low quality, faster generation
  • medium: Medium quality
  • high: High quality, slower generation
  • auto: Automatic selection (default)
Available options:
low,
medium,
high,
auto
Example:

"auto"

image_urls
string<uri>[]

Reference image URL list for image-to-image and image editing features

Notes:

  • Supports 1~16 images per request
  • Maximum size per image: 50MB
  • Supported formats: .jpeg, .jpg, .png, .webp
  • Image URLs must be directly accessible by the server, or URLs that trigger direct download (typically URLs ending with image extensions like .png, .jpg)
Example:
[
"https://example.com/image1.png",
"https://example.com/image2.png"
]
n
enum<integer>
default:1

Number of images to generate, currently only supports 1

Available options:
1
Example:

1

Response

Image task created successfully

created
integer

Task creation timestamp

Example:

1757156493

id
string

Task ID

Example:

"task-unified-1757156493-imcg5zqt"

model
string

Actual model name used

Example:

"gpt-image-1.5-lite"

object
enum<string>

Task object type

Available options:
image.generation.task
progress
integer

Task progress percentage (0-100)

Required range: 0 <= x <= 100
Example:

0

status
enum<string>

Task status

Available options:
pending,
processing,
completed,
failed
Example:

"pending"

task_info
object

Async task information

type
enum<string>

Task output type

Available options:
text,
image,
audio,
video
Example:

"image"

usage
object

Usage and billing information