Skip to main content
POST
Grok Videos

Authorizations

Authorization
string
header
required

Headers

accept
enum<string>

Grok Videos Param Accept

Available options:
application/json,
application/x-ndjson

Body

application/json
prompt
string

Grok Videos Prompt

Example:

"A cinematic shot of a kitten chasing a butterfly in a sunlit garden"

model
enum<string>
default:grok-imagine-video-1.5-fast:reverse

Grok Videos Model

Available options:
grok-imagine-video-1.5-fast:reverse,
grok-imagine-video:reverse,
grok-imagine-video:official,
grok-imagine-video-1.5:official,
grok-imagine-video
Example:

"grok-imagine-video-1.5-fast:reverse"

image_url
string

Grok Videos Image Url

Example:

"https://cdn.acedata.cloud/5hmkdg.jpg"

reference_image_urls
string[]

Grok Videos Reference Image Urls

aspect_ratio
enum<string>

Grok Videos Aspect Ratio

Available options:
1:1,
16:9,
9:16,
4:3,
3:4,
3:2,
2:3
Example:

"16:9"

resolution
enum<string>
default:480p

Grok Videos Resolution

Available options:
480p,
720p,
1080p
Example:

"480p"

duration
integer
default:6

Grok Videos Duration

Required range: 1 <= x <= 30
Example:

6

callback_url
string

Grok Videos Callback Url

async
boolean

Grok Videos Async

Response

Grok Videos Response 200

success
boolean

Grok Videos Response 200 Success

task_id
string

Grok Videos Response 200 Task Id

trace_id
string

Grok Videos Response 200 Trace Id

data
object[]

Grok Videos Response 200 Data