ویڈیوxAIنیا

Grok Video

Grok Imagine متن اور تصویر سے ویڈیو

model: "grok-video"

API دستاویزاتایجنٹس کے لیے دستاویزات

موڈز

ایک ماڈل 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."
  }
}'