grok-imagine
วีดีโอ APIHOTGrok Video API มอบวิธีการให้ทีมงานใช้ Grok Imagine สำหรับการสร้างวิดีโอในเวิร์กโฟลว์การผลิตโดยเน้น API เป็นหลัก มันรองรับการสร้างวิดีโอจากข้อความตามคำสั่ง, การสร้างวิดีโอจากภาพอ้างอิง, การปรับความละเอียดวิดีโอ, และการขยายวิดีโอจากหนึ่งตระกูลโมเดล
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
การประมาณค่าเป็น USD ใช้ $0.005/เครดิตกับแผนรายปีที่ดีที่สุด การเรียกเก็บเงินขั้นสุดท้ายจะเป็นไปตามตัวแปรGrok Video ที่เลือกและการตั้งค่าผลลัพธ์
ฟิลด์คำขอหลัก
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 สำหรับการสร้าง
สนามเด็กเล่น ตัวอย่างคำขอ ฟิลด์คำขอ และราคาบนหน้านี้เป็นไปตามประเภทโมเดลที่เลือก
ดูเอกสาร API อย่างละเอียด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 เพิ่มให้กับขั้นตอนการทำงานวิดีโอของคุณ
หน้าเว็บนี้ใช้โครงสร้างแบบ API-first เหมือนกับเอกสารอ้างอิง: ทดสอบโมเดล ทำความเข้าใจกับฟิลด์ แล้วจึงดำเนินการรวมเข้าด้วยกัน
การสร้างวิดีโอจากข้อความ
แปลงคำสั่งที่ละเอียดให้เป็นแนวคิดวิดีโอสั้นสำหรับโพสต์ในโซเชียล โฆษณา ช่วงเวลาผลิตภัณฑ์ และการสำรวจความคิดสร้างสรรค์อย่างรวดเร็ว
การเคลื่อนไหวจากภาพเป็นวิดีโอ
ทำให้ภาพต้นฉบับเคลื่อนไหวในขณะที่รักษาวัตถุหลัก, การจัดองค์ประกอบ, และทิศทางภาพที่ทีมของคุณได้อนุมัติแล้ว
ปรับปรุงคุณภาพและขยาย
ปรับปรุงคลิป Grok ที่ประสบความสำเร็จด้วยการยกระดับวิดีโอ หรือดำเนินการสร้างที่มีอยู่ต่อด้วยงานขยาย
API-ready payloads
ทำงานกับรหัสโมเดล, คำสั่ง, URL ของภาพ, รหัสงาน, อัตราส่วนภาพ, การเรียกกลับ, และการสำรวจงานในเส้นทางการรวมเดียวกัน
จากการทดสอบGrok Video ไปจนถึงคำขอผลิต
เส้นทางที่กระชับสำหรับทีมที่ต้องการตรวจสอบคุณภาพผลลัพธ์ก่อนที่จะเชื่อมต่อการสร้างGrok Video เข้ากับแอป
1. เลือกโหมด
เลือกข้อความเป็นวิดีโอสำหรับการสร้างเฉพาะพรอมต์, ภาพเป็นวิดีโอสำหรับการสร้างภาพเคลื่อนไหวจากภาพต้นฉบับ, หรือโหมดต่อเนื่องสำหรับการยกระดับและขยาย
2. ส่งการสร้าง
เรียกใช้ API ด้วยรหัสบัญชีของคุณ รหัสโมเดล ข้อความแจ้ง URL รูปภาพหรือรหัสงานต้นทาง (ถ้ามี) และ URL สำหรับการเรียกกลับ
3. สำรวจและนำกลับมาใช้ใหม่
ติดตามงานจนกว่างานจะสำเร็จ จากนั้นใช้ URL ผลลัพธ์ซ้ำในผลิตภัณฑ์ การทำงานแคมเปญ หรืองานวิดีโอที่ติดตามต่อ
คุณสามารถสร้างอะไรได้บ้างด้วย Grok Video API
ใช้ API เมื่อผลิตภัณฑ์ของคุณต้องการ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
สร้างขึ้นสำหรับเวิร์กโฟลว์ API Grok Video จริง
การดำเนินการที่ถูกจำกัดด้วยบัญชี
ผู้ใช้เข้าสู่ระบบ ส่งงาน และใช้เครดิตผ่านกระบวนการสร้าง SdanceAI ที่มีอยู่
ข้อมูลอ้างอิงและงานที่ได้รับมอบหมาย
Image-to-video ยอมรับ URL ของภาพต้นฉบับ ในขณะที่การทำงานแบบ upscale และ extend สามารถดำเนินต่อจาก ID งานวิดีโอที่เสร็จสมบูรณ์ได้
การวนซ้ำที่ตระหนักถึงโหมด
เริ่มต้นด้วยการสร้างข้อความหรือภาพ แล้วค่อยนำผลลัพธ์ที่มีแนวโน้มดีไปเข้าสู่กระบวนการปรับขนาดหรือขยายเมื่อจำเป็น
คำถามเกี่ยวกับ Grok Video API
Grok Video API ใช้สำหรับอะไรดีที่สุด?
เหมาะที่สุดสำหรับการสร้างวิดีโอสั้นที่สามารถทำซ้ำได้ รวมถึงคลิปที่นำโดยพรอมต์ ภาพต้นฉบับที่เคลื่อนไหว ตัวแปรวิดีโอ ผลลัพธ์ที่ขยายขนาด และลำดับครีเอทีฟที่ยาวขึ้น
โหมดGrok Video แบบใดบ้างที่มีให้ใช้งาน?
หน้าปัจจุบันนี้เปิดเผย Grok Imagine Text to Video, Grok Imagine Image to Video, Grok Imagine Video Upscale, และ Grok Imagine Video Extend
ความแตกต่างระหว่างข้อความเป็นวิดีโอและภาพเป็นวิดีโอคืออะไร?
Text to Video เริ่มต้นเพียงจากคำสั่ง Image to Video ใช้ภาพต้นฉบับหนึ่งภาพหรือมากกว่าพร้อมกับคำสั่ง ซึ่งจะดีกว่าเมื่อคุณต้องการความต่อเนื่องของวัตถุหรือองค์ประกอบ
ฉันควรใช้ upscale หรือ extend เมื่อใด?
ใช้ 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.
API รองรับการเรียกกลับหรือไม่?
ใช่ แบบแผนของคำขรร้องรวมถึงการตั้งค่าการเรียกกลับในกรณีที่รองรับ ดังนั้นบริการของคุณสามารถรับการแจ้งเตือนเมื่อภารกิจเสร็จสิ้นได้
ฉันสามารถใช้ Grok Video API สำหรับเวิร์กโฟลว์เชิงพาณิชย์ได้หรือไม่?
หน้านี้ได้รับการตั้งค่าสำหรับเวิร์กโฟลววิดีโอการผลิต สำหรับการใช้งานเชิงพาณิชย์ โปรดตรวจสอบแผนบัญชี ยอดเครดิต ความพร้อมใช้งานของโมเดล และข้อกำหนดนโยบายเนื้อหาที่เกี่ยวข้อง
ฉันสามารถทำภาพสินค้าเดิมให้เคลื่อนไหวได้ไหม?
ใช่ ใช้โหมดจากภาพเป็นวิดีโอโดยมี URL ของภาพต้นฉบับและพรอมต์ที่อธิบายการเคลื่อนไหว พฤติกรรมของกล้อง และทิศทางภาพสุดท้าย
ฉันควรจัดการค่าใช้จ่ายอย่างไร?
เริ่มต้นด้วยการทดสอบคำสั่งด่วนหรือการเปลี่ยนภาพเป็นวิดีโอ จากนั้นจึงเก็บงานปรับขนาดและต่อยอดสำหรับคลิปที่ใกล้เคียงกับเป้าหมายของคุณแล้ว
ฉันสามารถตรวจสอบฟิลด์ API จริงได้ไหม?
ใช่ เลือกโหมดGrok Video บนหน้านี้ และ JSON ของคำขอ รายการฟิลด์ และแผงราคาจะอัปเดตให้ตรงกับโมเดลนั้น
เปลี่ยนGrok Video ให้เป็นเวิร์กโฟลว์การผลิตของคุณ
เปิดเครื่องกำเนิด ทดสอบพรอมต์Grok Video หรือภาพต้นฉบับ จากนั้นใช้เอกสาร API เมื่อคุณพร้อมที่จะเชื่อมเข้ากับการผลิต