grok-imagine-video-1.5-preview API
استخدم grok-imagine-video-1.5-preview من عائلة Grok Imagine عبر RunAPI. تسعير لكل طلب، بدون اشتراك، والعمليات الفاشلة لا تُحتسب.
curl -X POST https://runapi.ai/api/v1/grok_imagine/text_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-video-1.5-preview",
"prompt": "Generate a short video of a robot hand placing a chess piece on a board, dramatic lighting, slow motion."
}'
import { GrokImagineClient } from "@runapi.ai/grok-imagine";
const client = new GrokImagineClient();
const result = await client.textToVideo.run({
model: "grok-imagine-video-1.5-preview",
prompt: "Generate a short video of a robot hand placing a chess piece on a board, dramatic lighting, slow motion.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\GrokImagine\GrokImagineClient;
$client = new GrokImagineClient();
$result = $client->textToVideo->run([
'model' => 'grok-imagine-video-1.5-preview',
'prompt' => 'Generate a short video of a robot hand placing a chess piece on a board, dramatic lighting, slow motion.',
]);
require "runapi/grok_imagine"
client = RunApi::GrokImagine::Client.new
result = client.text_to_video.run(
model: "grok-imagine-video-1.5-preview",
prompt: "Generate a short video of a robot hand placing a chess piece on a board, dramatic lighting, slow motion."
)
npx skills add runapi-ai/grok-imagine -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
يستهدف grok-imagine-video-1.5-preview نقطة التوازن المثالية بين الجودة والتكلفة ضمن عائلة Grok Imagine.
- تسعير لكل طلب بالدولار الأمريكي
- لا تُحتسب المحاولات الفاشلة
- البث المباشر عند دعمه من النموذج
- إعداد model skill
التسعير
التفاصيل الفنية
| معرّف النموذج | grok-imagine-video-1.5-preview |
| المزوّد | xAI |
| الوسيط | video |
| نوع المهمة | asynchronous |
| وحدة الفوترة | second |
| API endpoint | /api/v1/grok_imagine/text_to_video |
| ترخيص تجاري | نعم — مشمول عبر API |
| حالة الكتالوج | جاهز للتشغيل |
البدء السريع — grok-imagine-video-1.5-preview
نفس البنية · الإصدار مثبت في النموذج
# Install the model skill for app development workflows
npx skills add runapi-ai/grok-imagine -g
Install the Grok Imagine skill for this app: 1. Add runapi-ai/grok-imagine with the skills installer. 2. Load SKILL.md in this workspace. 3. Use its docs, schemas, pricing notes, and setup steps when adding model features. 4. Confirm the install path when done.
استخدم grok-imagine-video-1.5-preview في أربع خطوات
التثبيت
ثبّت SDK الخاص بالنموذج أو مهارة الوكيل لهذا الخط من النماذج.
التهيئة
اضبط حقل model على معرّف النموذج الكامل الظاهر في هذه الصفحة.
الاستدعاء
أرسِل طلبًا مُهيكلًا يتضمن الـ prompt والمدخلات وإعدادات callback.
الاستلام
اقرأ استجابة المهمة أو callback webhook أو عنوان URL للإخراج المخزّن مؤقتًا من RunAPI.
ما المختلف في grok-imagine-video-1.5-preview؟
Video 1.5 preview; text/image input; auto aspect ratio; up to 15s
Prompt-guided style transfer and composition editing from one source image
Video 1.5 preview; text/image input; auto aspect ratio; up to 15s
Input image becomes frame 1; animates with motion + camera
Video 1.5 preview; text/image input; auto aspect ratio; up to 15s
Aurora model; 7 aspect ratios; realistic/artistic/anime styles
الأفضل لـ
إعلانات ومحتوى اجتماعي
أنشئ مقاطع إطلاق المنتجات وإعلانات قصيرة من موجز نصي، وقلّص زمن الإنتاج من أسابيع إلى ساعات.
التعلّم الإلكتروني
حوّل نصوص الدروس إلى فيديوهات شرح متحركة على نطاق واسع من دون كاميرا أو فريق إنتاج.
سير عمل المبدعين
أنتج محتوى قصيرًا قابلًا للانتشار لمنصات التواصل مباشرةً من prompt.
الأسئلة الشائعة حول grok-imagine-video-1.5-preview
هل معرّف النموذج ثابت عبر الإصدارات؟
يحافظ RunAPI على ثبات معرّف النموذج ويتعامل مع تحديثات الإصدارات المتوافقة دون تغيير شكل طلبك.
ما حد المعدل لهذا المتغير؟
تتدرج حدود المعدل لكل مفتاح بحسب مستوى الاستخدام. راجع صفحة التسعير للاطلاع على الحدود الحالية.
هل يمكنني التبديل إلى متغيرات أخرى لاحقًا؟
نعم — المتغير مجرد خيار. بدّل عبر تغيير معامل model.
هل يدعم البث المباشر؟
حيثما يتوفر البث، يقدّم RunAPI البث من البداية إلى النهاية.
أين أبلغ عن مشاكل الجودة؟
افتح issue في مستودع GitHub العام أو راسل الدعم عبر البريد الإلكتروني.