Skip to main content
POST
Grok Videos

Autorisierungen

Authorization
string
header
erforderlich

Header

accept
enum<string>

Grok Videos Param Accept

Verfügbare Optionen:
application/json,
application/x-ndjson

Body

application/json
prompt
string

Grok Videos Prompt

Beispiel:

"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

Verfügbare Optionen:
grok-imagine-video-1.5-fast:reverse,
grok-imagine-video:reverse,
grok-imagine-video:official,
grok-imagine-video-1.5:official,
grok-imagine-video
Beispiel:

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

image_url
string

Grok Videos Image Url

Beispiel:

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

reference_image_urls
string[]

Grok Videos Reference Image Urls

aspect_ratio
enum<string>

Grok Videos Aspect Ratio

Verfügbare Optionen:
1:1,
16:9,
9:16,
4:3,
3:4,
3:2,
2:3
Beispiel:

"16:9"

resolution
enum<string>
Standard:480p

Grok Videos Resolution

Verfügbare Optionen:
480p,
720p,
1080p
Beispiel:

"480p"

duration
integer
Standard:6

Grok Videos Duration

Erforderlicher Bereich: 1 <= x <= 30
Beispiel:

6

callback_url
string

Grok Videos Callback Url

async
boolean

Grok Videos Async

Antwort

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