Grok

grok-imagine

วีดีโอ APIHOT

Grok 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

รุ่นที่เลือก
Grok Imagine Text to Video

480p: 2 เครดิต/วินาที - ข้อความเป็นวิดีโอ - วินาทีเอาท์พุต × 2

720p: 3 เครดิต/วินาที - ข้อความเป็นวิดีโอ - วินาทีเอาท์พุต × 3

480p: 10 เครดิต/วินาที - ข้อความเป็นวิดีโอ - วินาทีเอาท์พุต × 10

720p: 14 เครดิต/วินาที - ข้อความเป็นวิดีโอ - วินาทีเอาท์พุต × 14

การประมาณค่าเป็น USD ใช้ $0.005/เครดิตกับแผนรายปีที่ดีที่สุด การเรียกเก็บเงินขั้นสุดท้ายจะเป็นไปตามตัวแปรGrok Video ที่เลือกและการตั้งค่าผลลัพธ์

งานใหม่จะปรากฏที่นี่หลังจากที่คุณส่ง
อินพุต API

ฟิลด์คำขอหลัก

Use a predictable payload for prompts, image URLs, source task IDs, aspect ratio, and callback settings.

ขอ JSON
{
  "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 ที่สามารถสร้างซ้ำได้ ไม่ใช่แค่การสร้างด้วยตนเองครั้งเดียว

คลิปสั้นนำโดยพรอมต์สำหรับ TikTok, Reels และ Shorts
ภาพนิ่งของผลิตภัณฑ์เคลื่อนไหวและภาพแคมเปญ
การสำรวจสตอรี่บอร์ดและวิดีโอแนวคิดอย่างรวดเร็ว
วิดีโอหลายรูปแบบสำหรับโฆษณา ภาพขนาดย่อ และหน้าลงจอด
เวอร์ชันที่ปรับขนาดเพิ่มของคลิปที่สร้างขึ้นและประสบความสำเร็จ
คลิปขยายสำหรับกระบวนการสร้างสรรค์แบบวนซ้ำ
การแสดงชุมชน

Grok Video ที่สร้างสำเร็จจากชุมชน

เรียกดูผลลัพธ์Grok Video สาธารณะที่เสร็จสมบูรณ์แล้ว จากนั้นเปิดเคสใดก็ได้เพื่อตรวจสอบพรอมต์ การตั้งค่า และผลลัพธ์

ดูเพิ่มเติม
videoGrok Imagine Image to Video

Grok Imagine Image to Video

Que acicale su cabello cerrando ojos, luego mire a camara y se acomode boca abajo, con el mismo rostro. que se vea voluminosa

26 ก.ค. 2569ดูรายละเอียด
videoGrok Imagine Image to Video

Grok Imagine Image to Video

Respecter exactement les images de référence. Conserver sans aucune modification les deux personnages 3D cartoon, leurs visages, leurs coiffures, leurs expressions naturelles, leurs vêtements, leurs proportions, leurs couleurs, l’éclairage chaleureux de la pièce et le style 3D cartoon. La vidéo débute avec les deux personnages enlacés dans un moment romantique. La jeune femme s’approche lentement et lui donne un tendre baiser pendant que la caméra effectue un léger travelling circulaire cinématographique. Soudain, l’ambiance change progressivement : un épais brouillard envahit silencieusement toute la pièce, la lumière devient plus froide et inquiétante, les yeux de la jeune femme s’illuminent d’une intense lueur jaune dorée, tandis que de fins crocs apparaissent discrètement au coin de ses lèvres. Elle pousse un puissant cri de prédatrice surnaturelle qui résonne dans toute la pièce. Le jeune homme, d’abord surpris, reste complètement figé par une mystérieuse force invisible, incapable de bouger, avec une expression de peur intense. Une énergie lumineuse et surnaturelle semble être absorbée vers la jeune femme, sans montrer de blessure ni de violence graphique. Son apparence devient de plus en plus menaçante tandis que le jeune homme paraît progressivement perdre ses forces. Le brouillard devient plus dense, les ombres s’animent subtilement, les rideaux bougent sous un vent inexpliqué et la caméra alterne entre gros plans sur les yeux lumineux, les crocs, les expressions des personnages et des plans larges révélant l’atmosphère oppressante de la pièce. Rendu cinématographique digne d’un film d’horreur surnaturel, tension croissante, éclairage dramatique, effets volumétriques, profondeur de champ réaliste, animation très fluide, qualité 8K Ultra HD, format vertical 9:16.

26 ก.ค. 2569ดูรายละเอียด
videoGrok Imagine Image to Video

Grok Imagine Image to Video

Que acicale su cabello cerrando ojos, luego mire a camara y se acomode boca arriba, con el mismo rostro

26 ก.ค. 2569ดูรายละเอียด
videoGrok Imagine Image to Video

Grok Imagine Image to Video

que mire a cámara y luego se gire presumiendo su gran retaguardia

26 ก.ค. 2569ดูรายละเอียด
videoGrok Imagine Image to Video

Grok Imagine Image to Video

Respecter exactement l’image de référence. Conserver sans aucune modification les deux personnages 3D cartoon, leurs visages, leurs coiffures, leurs expressions naturelles, leurs proportions, leurs vêtements, leurs couleurs, leur style visuel et l’environnement. La vidéo commence avec la jeune femme qui sourit chaleureusement au jeune homme, lui tend doucement la main et lui dit avec une voix joyeuse : « Viens voir ceci. » Elle lui prend délicatement la main et ils avancent ensemble en se regardant avec complicité. La caméra les suit dans un travelling fluide jusqu’à un coin calme de la pièce, à l’écart des autres personnes. Ils s’arrêtent face à face, échangent un long regard rempli de tendresse, puis se rapprochent naturellement pour partager un moment d’affection discret et romantique, évoquant l’atmosphère d’une lune de miel. Ils restent enlacés quelques instants en souriant, pendant que la caméra effectue un léger mouvement circulaire autour d’eux. Éclairage chaleureux, ambiance paisible, animation fluide, expressions naturelles, rendu cinématographique romantique, émotion sincère, profondeur de champ réaliste, qualité 8K Ultra HD, format vertical 9:16. Vidéo de 15s

26 ก.ค. 2569ดูรายละเอียด
videoGrok Imagine Image to Video

Grok Imagine Image to Video

"Это ограбление! Руки!"

26 ก.ค. 2569ดูรายละเอียด
บันทึกการผลิต

สร้างขึ้นสำหรับเวิร์กโฟลว์ API Grok Video จริง

การดำเนินการที่ถูกจำกัดด้วยบัญชี

ผู้ใช้เข้าสู่ระบบ ส่งงาน และใช้เครดิตผ่านกระบวนการสร้าง SdanceAI ที่มีอยู่

ข้อมูลอ้างอิงและงานที่ได้รับมอบหมาย

Image-to-video ยอมรับ URL ของภาพต้นฉบับ ในขณะที่การทำงานแบบ upscale และ extend สามารถดำเนินต่อจาก ID งานวิดีโอที่เสร็จสมบูรณ์ได้

การวนซ้ำที่ตระหนักถึงโหมด

เริ่มต้นด้วยการสร้างข้อความหรือภาพ แล้วค่อยนำผลลัพธ์ที่มีแนวโน้มดีไปเข้าสู่กระบวนการปรับขนาดหรือขยายเมื่อจำเป็น

FAQ

คำถามเกี่ยวกับ 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 เมื่อคุณพร้อมที่จะเชื่อมเข้ากับการผลิต

พร้อมใช้งานกับ API
workflow
4 โหมด
เครื่องมือวิดีโอ
รหัสงาน
follow-ups