Skip to main content
POST
  • Supports text-to-video and video generation from one optional first-frame image.
  • Accepts at most one public first-frame image URL.
  • Supports durations from 1 to 15 seconds; default is 8.
  • Supports 480p, 720p, and 1080p.
  • Async task API: poll video task status with the returned task ID.
Do not pass base64 image data. Upload local files with the Upload 이미지 API, then pass the returned public URL in image.

Authorizations

string
필수
All API requests require Bearer Token authentication.

Body

string
기본값:"grok-video-1.5"
필수
Use grok-video-1.5.
string
필수
Describe the motion, camera movement, and visual direction for the reference image.
string
필수
Optionally pass one public first-frame image URL.
  • Maximum: 1
  • Supported URL schemes: http://, https://
integer
기본값:"8"
Video duration.Supported range: 115 seconds
string
기본값:"720p"
Video resolution. Supported values: 480p, 720p, 1080p.
string
기본값:"16:9"
Video aspect ratio. Supported values: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3.

Pricing

응답

string
Task identifier for polling video status.
string
Object type, always generation.task.
string
모델 name used for the task.
string
Task status: queued, in_progress, completed, or failed.

Create a video task

Query task status

Use the returned id with Video Task 상태.