ভিডিওxAIনতুন

Grok Video

Grok Imagine টেক্সট এবং ইমেজ থেকে ভিডিও

model: "grok-video"

API ডকুমেন্টেশনএজেন্টদের জন্য ডকুমেন্টেশন

মোড

একটি মডেল আইডি, নিচের প্রতিটি মোড। আপনি যে ক্ষেত্রগুলি পাঠান তা মোড নির্বাচন করে এবং মূল্য মোড অনুসরণ করে।

মোডনির্বাচিত দ্বারাসাধারণ মূল্য
লেখা থেকে ভিডিও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."
  }
}'