Authorizations
Please use your API Token for authentication
Body
application/json
Task parameters
Prompt (required, max 5000 characters)
Maximum length:
5000Example:
"a futuristic cityscape at sunset"
Aspect ratio (optional, default 1:1)
Available options:
1:1, 16:9, 9:16, 3:4, 4:3 Example:
"1:1"
Negative prompt (optional)
Example:
"blurry, low quality"
Number of images to generate (optional, 1-4, default 1)
Required range:
1 <= x <= 4Example:
1
Random seed (optional, integer type)
Example:
0
Response
OK
Task ID
Example:
"01234567-89ab-cdef-0123-456789abcdef"