Grok Imagine Video 1.5 Text to Video
Grok Imagine Video 1.5 Grok Imagine Video 1.5 Text to Video is a live Muapi endpoint for text-to-video. Submit it with one API key and poll the shared result endpoint.
ใช้ Grok Imagine Video 1.5 API เพื่อสร้างวิดีโอจากข้อความ สร้างวิดีโอจากภาพโดยกำหนดเฟรมสุดท้ายได้ และสร้างวิดีโอจากภาพอ้างอิงได้สูงสุดเจ็ดภาพ สร้างคลิปความยาว 1–15 วินาทีพร้อมเสียงในตัวที่ความละเอียด 480p, 720p หรือ 1080p หรือเลือก Grok Imagine Video 1.5 Lite เพื่อให้ได้ต้นทุนต่อวินาทีต่ำที่สุด
Grok Imagine Video 1.5 Grok Imagine Video 1.5 Text to Video is a live Muapi endpoint for text-to-video. Submit it with one API key and poll the shared result endpoint.
Grok Imagine Video 1.5 Grok Imagine Video 1.5 Image to Video is a live Muapi endpoint for image-to-video. Submit it with one API key and poll the shared result endpoint.
Grok Imagine Video 1.5 Grok Imagine Video 1.5 Reference to Video is a live Muapi endpoint for image-to-video. Submit it with one API key and poll the shared result endpoint.
Grok Imagine Video 1.5 Lite Grok Imagine Video 1.5 Lite Text to Video is a live Muapi endpoint for text-to-video. Submit it with one API key and poll the shared result endpoint.
Grok Imagine Video 1.5 Lite Grok Imagine Video 1.5 Lite Image to Video is a live Muapi endpoint for image-to-video. Submit it with one API key and poll the shared result endpoint.
Grok Imagine Video 1.5 Preview Grok Imagine Video 1.5 Preview is a live Muapi endpoint for image-to-video. Submit it with one API key and poll the shared result endpoint.
Grok Imagine Video 1.5 API เปิดให้ผู้พัฒนาใช้งานโมเดลวิดีโอของ xAI ผ่านแค็ตตาล็อกปลายทางแบบอะซิงโครนัสชุดเดียว สร้างคลิปจากพรอมต์ข้อความ ทำภาพนิ่งให้เคลื่อนไหวโดยกำหนดเฟรมสุดท้ายได้ หรือใช้ภาพอ้างอิงได้สูงสุดเจ็ดภาพเพื่อกำกับวิดีโอ แต่ละคลิปเพิ่มแทร็กเสียงในตัวที่ซิงก์กันได้ มีความยาวตั้งแต่ 1 ถึง 15 วินาที และรองรับอัตราส่วนภาพเก้าแบบ ตั้งแต่ 16:9 และ 9:16 ไปจนถึง 21:9 และ 5:2
เลือก Grok Imagine Video 1.5 เพื่อสร้างวิดีโอที่ความละเอียด 480p, 720p หรือ 1080p หรือเลือก Grok Imagine Video 1.5 Lite เมื่อต้องการประหยัดค่าใช้จ่าย Lite มีราคา 25% ของอัตรามาตรฐาน และรองรับการสร้างวิดีโอจากข้อความและภาพเดี่ยว ทั้งสองรุ่นใช้ Muapi คีย์ API, รหัสคำขอ, ปลายทางสำหรับตรวจสอบผลลัพธ์ และ webhook เสริมชุดเดียวกับส่วนอื่น ๆ ของ [Grok Imagine API](/grok-imagine)
เปลี่ยนพรอมต์ให้เป็นคลิปความยาว 1–15 วินาที พร้อมเสียงในตัว อัตราส่วนภาพเก้าแบบ และเอาต์พุตความละเอียด 480p, 720p หรือ 1080p
ทำให้ภาพหนึ่งภาพเคลื่อนไหวเป็นเฟรมแรก หรือเพิ่มเฟรมสุดท้ายเพื่อกำหนดจุดจบของคลิป (เมื่อใช้เฟรมสุดท้ายจะรองรับ 480p และ 720p)
กำหนดตัวตนและสไตล์ด้วยภาพอ้างอิงหนึ่งถึงเจ็ดภาพ ใช้ได้กับ Grok Imagine Video 1.5 ที่ความละเอียด 480p และ 720p
Grok Imagine Video 1.5 Lite สร้างวิดีโอจากข้อความและภาพในราคา 25% ของราคาต่อวินาทีมาตรฐาน
ส่งงาน Grok Imagine Video 1.5 ด้วย JSON บันทึก รหัสคำขอ แล้วตรวจสอบผลลัพธ์ผ่านปลายทางมาตรฐาน
curl -X POST https://api.muapi.ai/api/v1/grok-imagine-video-1-5-text-to-video \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A dog running on a sunny beach, cinematic slow motion","aspect_ratio":"16:9","duration":8,"resolution":"720p","generate_audio":true}'
# Response: {"request_id":"REQUEST_ID"}กำหนดอัตราส่วนภาพ ระยะเวลา ความละเอียด และการสร้างเสียง
curl -X POST https://api.muapi.ai/api/v1/grok-imagine-video-1-5-image-to-video \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"The camera slowly pushes in as the subject smiles","image_url":"https://example.com/photo.jpg","duration":8,"resolution":"720p"}'ระบุ URL ของภาพเฟรมแรก และระบุ URL ของ last_image เพิ่มเติมได้
curl -X POST https://api.muapi.ai/api/v1/grok-imagine-video-1-5-reference-to-video \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"The character from the references walks through a neon city at night","images_list":["https://example.com/ref1.jpg","https://example.com/ref2.jpg"],"aspect_ratio":"16:9","duration":8,"resolution":"720p"}'ระบุพรอมต์และ URL ของภาพอ้างอิงหนึ่งถึงเจ็ดภาพ
curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \ -H "x-api-key: YOUR_API_KEY"
อ่าน URL ของวิดีโอที่สร้างเสร็จแล้วจากอาร์เรย์ outputs
เป็น API แบบอะซิงโครนัสสำหรับโมเดล Grok Imagine Video 1.5 ของ xAI ซึ่งสร้างวิดีโอจากข้อความ ภาพ หรือภาพอ้างอิงหลายภาพ พร้อมเสียงในตัวที่เลือกใช้ได้
Grok Imagine Video 1.5 มีค่าใช้จ่าย $0.08 ต่อวินาทีที่ 480p, $0.14 ต่อวินาทีที่ 720p และ $0.25 ต่อวินาทีที่ 1080p คลิป 480p ความยาว 8 วินาทีมีค่าใช้จ่าย $0.64
Lite มีค่าใช้จ่าย 25% ของอัตรามาตรฐาน: $0.02 ต่อวินาทีที่ 480p, $0.035 ต่อวินาทีที่ 720p และ $0.0625 ต่อวินาทีที่ 1080p
เลือกความละเอียด 480p, 720p หรือ 1080p และกำหนดระยะเวลาได้ตั้งแต่ 1 ถึง 15 วินาที โดยสร้าง 1080p ด้วยการขยายความละเอียดจาก 720p ส่วนการสร้างวิดีโอจากภาพอ้างอิงรองรับ 480p และ 720p
ได้ โดย `generate_audio` มีค่าเริ่มต้นเป็น true และเพิ่มแทร็กเสียงที่ซิงก์กับวิดีโอ ตั้งค่าเป็น false เพื่อสร้างวิดีโอแบบไม่มีเสียง
ไม่รองรับ Lite รองรับการสร้างวิดีโอจากข้อความและจากภาพเดี่ยว หากต้องการสร้างวิดีโอจากภาพอ้างอิงสูงสุดเจ็ดภาพ ให้ใช้ Grok Imagine Video 1.5
ใช้ API key เดียวเพื่อสร้างวิดีโอด้วย Grok Imagine Video 1.5 และ 1.5 Lite จากข้อความ ภาพ หรือภาพอ้างอิง