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: "nano-banana-2"
prompt
string
required

Describe the content of the image to be generated.

Maximum string length: 3993
image_urls
string[]
aspect_ratio
enum<string>
default:1:1

the generated image's width and height aspect ratio.

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

Output image resolution.

Available options:
512px,
1K,
2K,
4K

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