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: "grok-imagine-1.5-preview"
prompt
string
required
Maximum string length: 4000
image_url
string
default:""
required
duration
integer
default:10

Output video length.

Required range: 1 <= x <= 15
resolution
enum<string>
default:720p

Output resolution. Currently only 720p is supported.

Available options:
480p,
720p
aspect_ratio
enum<string>
default:16:9

Output video width height aspect ratio

Available options:
1:1,
16:9,
9:16

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