Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Use your APIPod API key as a Bearer token in the Authorization header.

Body

application/json
model
string
required

Public APIPod model ID.

Allowed value: "gpt-image-2-lite"
prompt
string
required

A text description of the desired image(s).

Maximum string length: 32000
image_urls
string[]

Reference images.

resolution
enum<string>
default:1K

The resolution of the generated images.

Available options:
1K,
2K,
4K
aspect_ratio
enum<string>
default:auto
Available options:
auto,
1:1,
2:3,
3:2,
3:4,
4:3,
4:5,
5:4,
9:16,
16:9,
21:9

Response

200 - application/json

Task accepted

Standard response for task submission

code
integer
required
data
Task Submit Data · object
required

Data content for task submission

message
string
required