Grok Imagine Video API

Model-specific Buble API parameters, modes, pricing, and examples for Grok Imagine Video.

Grok Imagine Video API

Grok Imagine Video supports entertainment-oriented video generation, image-driven videos, video editing, and video extension workflows.

Model keys

  • gork/grok-imagine-video — Grok Imagine Video

Supported modes and inputs

ModelModeLabelInput requirements
gork/grok-imagine-videotext_to_videoText to VideoPrompt max 2000 chars
gork/grok-imagine-videoframes_to_videoFrames to VideoPrompt max 2000 chars
Images start_frame: 1-1 files, 10 MB, formats jpg, jpeg, png, webp
gork/grok-imagine-videoreference_to_videoReference to VideoPrompt max 2000 chars
Images reference: 1-7 files, 10 MB, formats jpg, jpeg, png, webp
gork/grok-imagine-videovideo_editVideo EditPrompt max 2000 chars
Videos: 1-1 files, 100 MB, max 8.7s, formats mp4, mov, webm
gork/grok-imagine-videovideo_extensionVideo ExtensionPrompt max 2000 chars
Videos: 1-1 files, 100 MB, max 15s, formats mp4

Options

ModelOptionDefaultAllowed valuesApplies to
gork/grok-imagine-videoduration5s1s, 2s, 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15stext_to_video, frames_to_video, video_edit
gork/grok-imagine-videoreference_to_video_durationduration5s1s, 2s, 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10sreference_to_video
gork/grok-imagine-videovideo_extension_durationduration5s2s, 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10svideo_extension
gork/grok-imagine-videoaspect_ratio16:916:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3text_to_video, frames_to_video, video_edit, reference_to_video
gork/grok-imagine-videoresolution480p480p, 720ptext_to_video, frames_to_video, video_edit, reference_to_video

Pricing

ModelPricing
gork/grok-imagine-video4 credits per second

Production guidance

  • Pass mode explicitly.
  • Use only option values listed above.
  • Upload media with POST /api/v1/files before calling media-input modes.
  • Use the exact model key for the variant you want.

Example: text to video

curl https://buble.ai/api/v1/generations \
  -H "Authorization: Bearer $BUBLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gork/grok-imagine-video",
    "mode": "text_to_video",
    "prompt": "A cinematic product launch shot with slow camera movement, premium lighting, and realistic motion",
    "duration": "5s",
    "aspect_ratio": "16:9",
    "resolution": "480p"
  }'

Example: media-guided video

curl https://buble.ai/api/v1/generations \
  -H "Authorization: Bearer $BUBLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gork/grok-imagine-video",
    "mode": "reference_to_video",
    "prompt": "Animate the source into a polished cinematic motion shot with natural camera movement",
    "image_urls": ["https://example.com/reference.png"],
    "duration": "5s",
    "aspect_ratio": "16:9",
    "resolution": "480p"
  }'