ビデオxAI新規

Grok Video

Grokテキスト・画像からビデオへ

model: "grok-video"

APIドキュメントエージェント用ドキュメント

モード

1つのモデルID、すべてのモード。送信するフィールドがモードを決定し、価格はモードに従います。

モード選択方法標準価格
テキストから動画生成prompt
リクエスト例
{
  "model": "grok-video",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.300
画像から動画生成image_url
リクエスト例
{
  "model": "grok-video",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.300

入力

必須

Prompt

オプション

Provide an image to animate, or leave empty for text-to-video. A public https URL, or an upload URL from POST /v1/uploads.

オプション
6

Duration (seconds)

オプション

Resolution

オプション

Aspect Ratio

結果

出力例

このモデルの実際の結果です。実行してあなたの結果をここに表示させてください。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "grok-video",
  "input": {
    "prompt": "Subterranean city carved into a hollow asteroid rotating for gravity, skyscrapers pointing inward toward a central fusion lamp, camera orbiting clockwise at mid-city altitude, the lamp'\''s pale blue light pulsing imperceptibly brighter as the orbit progresses, atmospheric haze thickening near the curved far wall, tiny transit shuttles arcing between towers, hard sci-fi aesthetic with physically plausible lighting and material detail."
  }
}'