Skip to main content
POST
Grok Videos

Auktoriseringar

Authorization
string
header
obligatorisk

Rubriker

accept
enum<string>

Grok Videos Param Accept

Tillgängliga alternativ:
application/json,
application/x-ndjson

Kropp

application/json
prompt
string

Grok Videos Prompt

Exempel:

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

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

Grok Videos Model

Tillgängliga alternativ:
grok-imagine-video-1.5-fast:reverse,
grok-imagine-video:reverse,
grok-imagine-video:official,
grok-imagine-video-1.5:official,
grok-imagine-video
Exempel:

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

image_url
string

Grok Videos Image Url

Exempel:

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

reference_image_urls
string[]

Grok Videos Reference Image Urls

aspect_ratio
enum<string>

Grok Videos Aspect Ratio

Tillgängliga alternativ:
1:1,
16:9,
9:16,
4:3,
3:4,
3:2,
2:3
Exempel:

"16:9"

resolution
enum<string>
standard:480p

Grok Videos Resolution

Tillgängliga alternativ:
480p,
720p,
1080p
Exempel:

"480p"

duration
integer
standard:6

Grok Videos Duration

Obligatoriskt intervall: 1 <= x <= 30
Exempel:

6

callback_url
string

Grok Videos Callback Url

async
boolean

Grok Videos Async

Svar

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