Video

Grok Imagine 1.5 Lite

Changed on

Low-cost text and image-to-video with lip-synced speech by xAI.

post/generate/video/xai/grok-video-1.5-lite

Request

  • Base URL
    https://api.krea.ai
  • Auth
    HTTP bearer

Headers

X-Webhook-URL, string uri

URL to receive a POST request when the job completes. The webhook will receive the job data including results. Deliveries are signed with Ed25519 (EdDSA); verify them with the keys at https://api.krea.ai/.well-known/jwks.json (see X-Krea-Webhook-* headers). Treat requests without these headers as unauthenticated.

Request body

object required
prompt, string required
start_image, string uri nullable

Can be an external URL, base64 data URI, or uploaded asset URL.

start_video, string uri nullable

Can be an external URL, base64 data URI, or uploaded asset URL.

duration, integer
resolution, '480p' | '720p' | '1080p'
aspect_ratio, '16:9' | '9:16' | '1:1' | '4:3' | '3:4' | '3:2' | '2:3' | '21:9'

Aspect ratio of a text-to-video clip. With a start image, the output matches its aspect ratio.

Response

The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results.

object required
job_id, string uuid required
status, 'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'finalizing' | 'completed' | 'failed' | 'cancelled' required
created_at, string date-time required
completed_at, unknown required
result, unknown required
error, object
progress, number nullable
export_progress, object

Motion exports only, while running: frames rendered of the total, then finishing while the sound is added, then saving while the MP4 is filed.

Changes