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: "wan2.7-image"
prompt
string
required

The positive prompt for the generation.

Maximum string length: 5000
size
enum<string>
default:1K

Output image resolution parameters.

Available options:
1K,
2K
aspect_ratio
enum<string>
default:16:9

The output image's 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
thinking_mode
boolean
default:true

when enabled, the model will enhance reasoning capabilities to improve image generation quality, but it will increase generation time.

watermark
boolean
default:false

Whether to add a watermark, which will be placed in the bottom right corner of the image.

n
enum<integer>
default:1
Available options:
1,
2,
3,
4
Required range: 1 <= x <= 4

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