ApiModels

Grok Imagine 模型

Grok Imagine 的模式、积分价格与 Vidrush API 示例。

简介

厂商: Grok。grok-imagine 支持文字或图片提示词生成视频。grok-imagine-1-5 仅支持图片输入,且只有 16 秒、720p 的配置。

支持模式

模型模式时长分辨率宽高比音频
grok-imaginetext-to-video, image-to-video6s, 10s, 15s, 30s480p, 720p2:3, 3:2, 1:1, 9:16, 16:9不支持
grok-imagine-1-5仅 image-to-video16s720p16:9, 9:16不支持

积分价格

grok-imagine

文生视频和图生视频使用相同矩阵。

分辨率6s10s15s30s
480p10203060
720p20304590

grok-imagine-1-5

分辨率16s
720p20

所有数值均为每次生成消耗的积分。

cURL

curl -X POST https://vidrush-ai.com/api/v1/videos \
  -H "Authorization: Bearer $VIDRUSH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine-1-5",
    "mode": "image-to-video",
    "prompt": "The camera slowly pushes toward the subject",
    "image_urls": ["https://example.com/source.jpg"],
    "options": {
      "duration": "16s",
      "resolution": "720p",
      "aspect_ratio": "16:9"
    }
  }'

CLI

vidrush generate -m grok-imagine-1-5 \
  -p "The camera slowly pushes toward the subject" \
  --mode image-to-video --image https://example.com/source.jpg \
  --duration 16s --resolution 720p --aspect-ratio 16:9 --wait

MCP

让 MCP 客户端调用 generate_video,传入 grok-imagine-1-5image_urls 数组和 mode: "image-to-video"

注意事项

  • grok-imagine-1-5 支持 image-to-video,且必须提供图片输入。
  • 两个 Grok 模型都不应传 audio: true