grok-imagine
واجهة برمجة تطبيق الفيديوHOTيوفر Grok Video API للفرق طريقة تعتمد على واجهة برمجة التطبيقات لاستخدام توليد الGrok Video Imagine داخل سير عمل الإنتاج. وهو يدعم إنشاء الفيديو عن طريق النصوص، وإنشاء الفيديو من الصور المرجعية، وتكبير الفيديو، وتمديد الفيديو من عائلة نموذج واحدة.
Use the playground to validate prompts, source images, task IDs, duration, aspect ratio, and payload behavior before connecting Grok video generation to your app, creative tool, or content pipeline.
يبدأ بأدنى تكلفة $0.01/s
480p: 2 الاعتمادات/الثانيات - النص إلى الفيديو - ثواني الإخراج × 2
720p: 3 الاعتمادات/الثانيات - النص إلى الفيديو - ثواني الإخراج × 3
480p: 10 الاعتمادات/الثانيات - النص إلى الفيديو - ثواني الإخراج × 10
720p: 14 الاعتمادات/الثانيات - النص إلى الفيديو - ثواني الإخراج × 14
تقديرات الدولار الأمريكي تستخدم 0.005 دولار لكل رصيد مع أفضل خطة سنوية. الفوترة النهائية تتبع إصدار Grok الفيديو المختار وإعدادات الإخراج.
حقول الطلب الأساسية
Use a predictable payload for prompts, image URLs, source task IDs, aspect ratio, and callback settings.
{
"model": "grok-imagine/text-to-video",
"input": {
"prompt": "A couple of doors open to the right one by one randomly and stay open, to show the inside, each is either a living room, or a kitchen, or a bedroom or an office, with little people living inside.",
"aspect_ratio": "2:3",
"mode": "normal",
"duration": "6",
"resolution": "480p"
}
}استخدم Grok Imagine Text to Video للتوليد
ملعب الألعاب وطلب العينة وحقول الطلب والتسعير في هذه الصفحة تتبع نوع النموذج المحدد.
عرض مستندات واجهة برمجة التطبيقات التفصيليةOpen the full API documentation for endpoints, authentication, task polling, and payload details. /models/grok-imagine.md
promptstringText prompt describing the desired video motion. Required field.aspect_ratioenumSpecifies the width-to-height ratio of the generated video. Controls the aspect ratio of the output. (2:3, 3:2, 1:1, 16:9, 9:16)modeenumSpecifies the generation mode affecting the style and intensity of motion. (fun, normal, spicy)durationnumberThe duration of the generated video (in seconds) (6-30). (Minimum: 6, Maximum: 30, Step: 1)resolutionenumThe resolution of the generated video. (480p, 720p)nsfw_checkerbooleanDefaults to false. You can set it to false based on your needs. If set to false, our content filtering will be disabled, and all results will be returned directly by the model itself.ما الذي تضيفه واجهة برمجة تطبيقات Grok Video إلى سير عمل الفيديو الخاص بك
تتبع الصفحة نفس هيكل الـ API أولاً مثل المرجع: اختبر النموذج، وافهم الحقول، ثم انتقل إلى التكامل.
توليد الفيديو من النص
حوّل التعليمات التفصيلية إلى مفاهيم فيديو قصيرة للمنشورات الاجتماعية، والإعلانات، ولحظات المنتج، واستكشاف الإبداع السريع.
التحرك من الصورة إلى الفيديو
تحريك صور المصدر مع الحفاظ على الموضوع والتكوين والاتجاه البصري الذي وافق عليه فريقك بالفعل.
تكبير وتوسيع
حسّن مقاطع Grok الناجحة من خلال تحسين دقة الفيديو، أو تابع إنشاء قائم بالفعل بمهمة توسيع.
API-ready payloads
العمل مع معرفات النماذج، والتعليمات، وروابط الصور، ومعرفات المهام، ونسب العرض إلى الارتفاع، واستدعاءات الرد، واستطلاع المهام في مسار تكامل واحد.
من اختبار فيديو جروك إلى طلب الإنتاج
مسار مضغوط للفرق التي ترغب في التحقق من جودة المخرجات قبل ربط توليد Grok Video بالتطبيق.
1. اختر وضعًا
اختر النص إلى الفيديو لإنشاء من خلال النص فقط، أو الصورة إلى الفيديو لتحريك الصورة المصدر، أو وضع المتابعة للتكبير والتمديد.
2. تقديم الجيل
اتصل بواجهة برمجة التطبيقات باستخدام مفتاح حسابك، ومعرّف النموذج، والمطالبة، وعناوين URL الاختيارية للصور أو معرف مهمة المصدر، وعنوان URL للتراجع.
3. الاستطلاع وإعادة الاستخدام
تتبع المهمة حتى تنجح، ثم أعد استخدام رابط الإخراج في منتجك أو سير عمل الحملة أو مهمة الفيديو التالية.
ما الذي يمكنك إنشاؤه باستخدام واجهة برمجة التطبيقات للفيديو جروك
استخدم واجهة برمجة التطبيقات عندما يحتاج منتجك إلى إخراج Grok Video قابل للتكرار، وليس مجرد توليدات يدوية لمرة واحدة.
نجاحات توليد مقاطع الGrok Video من المجتمع
تصفح مخرجات Grok Video العامة التي اكتملت بنجاح، ثم افتح أي حالة لفحص الطلب والإعدادات والنتيجة.
Real life scene, bank Holiday monday, new build living room on sofa, randy dominant 70-year-old Salford bloke next door dad wearing a crisp diffferent cotton business shirt with a sheen large stiff pinched collar, top buttons undone, tucked tightly in
Real life scene, bank Holiday monday, new build living room on sofa, randy dominant 70-year-old Salford bloke next door dad wearing a crisp diffferent cotton business shirt with a sheen large stiff pinched collar, top buttons undone, tucked tightly into dark smart trousers with a black belt., he is otk disciplining a 40 year old, 5 foot, thug scally bloke, who is wearing simlar, filthy talking, swearing
Use the uploaded image as the only reference. Create an 8-second vertical (9:16) ultra-realistic cinematic fashion video. The woman must remain exactly the same person as in the reference image. Preserve her facial features, skin tone, hairstyle, body p
Use the uploaded image as the only reference. Create an 8-second vertical (9:16) ultra-realistic cinematic fashion video. The woman must remain exactly the same person as in the reference image. Preserve her facial features, skin tone, hairstyle, body proportions, natural expression, and overall appearance consistently throughout the entire video. The dress must remain exactly the same dress shown in the reference image. Do not redesign, restyle, or modify it in any way. Preserve the exact yellow color, the same cotton fabric texture, embroidery, covered buttons, stitching, round neckline, sleeves, waist seam, silhouette, length, wrinkles, folds, and every visible detail exactly as in the original image. The back of the dress is extremely important. Keep it exactly the same as the reference image. It has a simple, clean back with only the waist seam. There must be NO belt, NO sash, NO ribbon, NO bow, NO back tie, NO pleats, NO gathers, NO decorative elements, NO extra seams, and NO redesign of the back. The woman begins sitting naturally on the sofa in the seaside lounge. She smiles gently, stands up naturally, then slowly walks through the elegant Mediterranean seaside corridor beside the ocean. The corridor has white walls, blue wooden railings, Mediterranean flowers, green vines, and beautiful coastal plants. The sea remains visible beside her during the walk. Her walking is slow, elegant, and completely natural. She has realistic posture, subtle arm movement, natural breathing, and soft hair movement from the sea breeze. The dress moves only with realistic fabric physics while keeping its exact original shape and design. The camera starts with a medium shot, then smoothly follows behind her with a stabilized cinematic tracking shot, clearly showing the original back of the dress while she walks. At the end of the corridor, she gently stops, turns her head toward the sea, and smiles softly while looking at the horizon. Bright Mediterranean afternoon sunlight, realistic shadows, natural ocean reflections, crystal-blue water, gentle waves, subtle movement of flowers and leaves in the breeze. Professional luxury fashion commercial, photorealistic, 4K HDR, full-frame cinema camera, natural skin texture, sharp details, stable camera movement, no AI look. Negative Prompt: No dress redesign, no color change, no fabric change, no belt, no sash, no ribbon, no bow, no pleats, no gathers, no extra seams, no accessories, no body reshaping, no face changes, no identity drift, no clothing deformation, no flickering, no warped hands, no distorted anatomy, no AI artifacts.
1950s Ad card and board dice game for family named "crack me"
1950s Ad card and board dice game for family named "crack me"
No zoom, no music, static camera. She doesnt change her pose but arch her back and relies on the block from the back. She imitate medieval torture like sit and stand impaling on black rubber stake
No zoom, no music, static camera. She doesnt change her pose but arch her back and relies on the block from the back. She imitate medieval torture like sit and stand impaling on black rubber stake
No music, no zoom, static camera, keep their poses. used by him with an animal passion and frenzy pace in supernatural tempo from the very start of the video
No music, no zoom, static camera, keep their poses. used by him with an animal passion and frenzy pace in supernatural tempo from the very start of the video
No music, no zoom, static camera, keep their pose. hardly used by him with an animal passion and frenzy in supernatural tempo from the very start of the video
No music, no zoom, static camera, keep their pose. hardly used by him with an animal passion and frenzy in supernatural tempo from the very start of the video
مصمم لتدفقات عمل واجهة برمجة تطبيقات Grok للفيديو الحقيقية
تنفيذ مقيد بالحساب
يقوم المستخدمون بتسجيل الدخول، وتقديم الوظائف، واستهلاك الاعتمادات من خلال تدفق التوليد الحالي لـ SdanceAI.
مرجع ومدخلات المهام
يقبل تحويل الصورة إلى فيديو روابط الصور المصدر، بينما يمكن لسير العمل الخاص بالتكبير والتمديد الاستمرار من معرفات مهام الفيديو المكتملة.
التكرار المدرك للنمط
ابدأ بتوليد النصوص أو الصور، ثم حوّل المخرجات الواعدة إلى عمليات تكبير أو تمديد عند الحاجة.
أسئلة واجهة برمجة تطبيقات جروك للفيديو
ما هو أفضل استخدام لـ Grok Video API؟
إنه الأفضل لتوليد الفيديوهات القصيرة القابلة للتكرار، بما في ذلك المقاطع الموجهة بالمطالبات، والصور المصدرية المتحركة، والنسخ المتنوعة من الفيديو، والمخرجات المحسنة، والتسلسلات الإبداعية الممتدة.
ما هي أوضاع الفيديو المتاحة في جروك؟
تعرض الصفحة الحالية Grok Imagine تحويل النص إلى فيديو، Grok Imagine تحويل الصورة إلى فيديو، Grok Imagine تكبير الفيديو، وGrok Imagine تمديد الفيديو.
ما الفرق بين تحويل النص إلى فيديو وتحويل الصورة إلى فيديو؟
تحويل النص إلى فيديو يبدأ من موجه فقط. تحويل الصورة إلى فيديو يستخدم صورة واحدة أو أكثر بالإضافة إلى موجه، وهو أفضل عندما تحتاج إلى استمرارية الموضوع أو التكوين.
متى يجب أن أستخدم التكبير أو التوسيع؟
استخدم upscale عندما يكون لديك بالفعل Grok Video ناجح وتريد نسخة بجودة أعلى. استخدم extend عندما تريد متابعة توليد مكتمل ليصبح تسلسلاً أطول.
أين يمكنني اختباره قبل دمجه؟
Use the playground on this page to test prompts, image URLs, source task IDs, aspect ratios, callbacks, and API payload behavior before moving into production.
هل تدعم واجهة البرمجة التطبيقية الاستدعاءات الراجعة؟
نعم. تتضمن مخطوطة الطلب إعدادات رد الاتصال حيثما كان ذلك مدعوماً، حتى تتمكن خدمتك من استلام إشعارات إتمام المهام.
هل يمكنني استخدام واجهة برمجة تطبيقات Grok Video في سير العمل التجاري؟
تم تكوين هذه الصفحة لسير عمل الفيديو الإنتاجي. للاستخدام التجاري، راجع خطة حسابك، ورصيد الرصيد، وتوفر النماذج، ومتطلبات سياسة المحتوى المعمول بها.
هل يمكنني تحريك صورة منتج موجودة؟
نعم. استخدم وضع الصورة إلى فيديو مع رابط صورة المصدر وموجه يصف الحركة وسلوك الكاميرا والاتجاه البصري النهائي.
كيف يجب أن أدير التكلفة؟
ابدأ باختبارات سريعة للنص أو الصورة إلى الفيديو، ثم خصص مهام التكبير والتوسيع للمقاطع التي تكون بالفعل قريبة من هدفك.
هل يمكنني فحص حقول واجهة برمجة التطبيقات الفعلية؟
نعم. اختر وضع Grok Video في هذه الصفحة وسيتحدث طلب JSON وقائمة الحقول ولوحة التسعير لتتناسب مع هذا النموذج.
حوّل Grok Video إلى سير عمل الإنتاج الخاص بك
افتح المولد، اختبر موجه Grok Video أو صورة المصدر، ثم استخدم مستندات API عندما تكون جاهزًا لتوصيله بالإنتاج.