grok-imagine-video API video AI
xAI cung cấp grok-imagine-video cho tạo video. Flatkey định tuyến mô hình qua /v1/videos. $0.072 per second.
Đầu ra
Xem trướcTạo bằng Seedance 2.0
Tóm tắt yêu cầu
- Điểm cuối
- POST /v1/videos
- ID model
- grok-imagine-video
- Tỷ lệ khung hình
- 16:9
- Độ phân giải
- —
- Thời lượng
- 5s
- Media tham chiếu
- Không có
Chỉ xem trước. Đăng nhập để gửi yêu cầu đến Flatkey.
{
"model": "grok-imagine-video",
"prompt": "Creative direction: A man stands still in a neutral gray studio while a compact quadcopter drone circles behind and beside him. Keep the camera locked at waist height so the drone's orbit, distance, and the subject's profile remain easy to read.\n\nVisual treatment: Live-action character-and-drone study with neutral gray lighting and clear spatial separation.\n\nShot sequence: 1. Hold the man in profile in the neutral gray studio.; 2. Move the quadcopter behind and beside him along a clear curved path.; 3. Keep its distance from the man as the locked camera holds the composition.\n\nContinuity: Maintain character design, equipment geometry and travel direction from first to final frame.\nExclude: extra people or props, text, logos and watermarks.",
"duration": 5
}Hiệu suất API
grok-imagine-video Độ tin cậy và khả dụng của API
Dữ liệu đo lường yêu cầu Flatkey cho grok-imagine-video sẽ hiển thị tại đây khi có đủ lưu lượng production.
Hoạt động API
grok-imagine-video Mức sử dụng và hoạt động yêu cầu API
Theo dõi số lượng yêu cầu và hoạt động suy luận thành công của grok-imagine-video trong kỳ báo cáo gần nhất.
grok-imagine-video giá
grok-imagine-video Giá và thanh toán API
Giá bên dưới được tính từ dữ liệu giá Flatkey cho mô hình này và các nhóm hiển thị do API giá trả về.
Nạp thêm tín dụng
Dùng cùng số dư và API key Flatkey cho mô hình hình ảnh, video, âm thanh và văn bản.
- Loại mô hình
- Văn bản thành video
- API
- /v1/videos
- Cơ sở tính phí
- giây
- Thời lượng
- 1–15s
- Tỷ lệ khung hình
- adaptive
grok-imagine-video trình tạo video AI và API: năng lực chính
Tuyến grok-imagine-video của xAI hỗ trợ văn bản · ảnh · video. Danh mục: Marketing.
grok-imagine-video cho tạo video
Chuyển brief bằng văn bản thành đầu ra tạo video qua /v1/videos.
Quy trình tham chiếu của grok-imagine-video
Dùng tài liệu tham chiếu có sẵn khi tuyến grok-imagine-video nhận media hoặc ngữ cảnh tham chiếu.
Biến thể theo kênh của grok-imagine-video
Điều chỉnh một ý tưởng thành các biến thể cần cho cửa hàng, chiến dịch hoặc pipeline nội dung.
Bàn giao production của grok-imagine-video
Đưa kết quả đã duyệt từ thử prompt vào quy trình tạo Flatkey có thể lặp lại.
So sánh
grok-imagine-video So sánh API: năng lực và quyền truy cập
So sánh dữ kiện danh mục của grok-imagine-video với mốc thế hệ trước trước khi thay đổi tích hợp.
| Khả năng | Thế hệ trước | grok-imagine-video |
|---|---|---|
| Nhà cung cấp | Chưa xác minh trong ảnh chụp danh mục này | xAI |
| Phương thức | Chưa xác minh trong ảnh chụp danh mục này | văn bản · ảnh · video |
| Ngữ cảnh | Chưa xác minh trong ảnh chụp danh mục này | Danh mục không liệt kê cửa sổ ngữ cảnh |
| Điểm cuối | Chưa xác minh trong ảnh chụp danh mục này | /v1/videos |
| Tính phí | Chưa xác minh trong ảnh chụp danh mục này | $0.072 per second |
Chọn đúng yêu cầu trước khi tích hợp
Kiểm tra luồng hỗ trợ, chi phí hiện tại và hợp đồng tham số chính xác của Flatkey.
Tính từ cấu hình hiện tại và giá danh mục khi có đơn giá cố định.
- Cấu hình hiện tại
- 5s
- Giá trực tiếp
- $0.072 / giây
- Ước tính yêu cầu
- $0.072
Phí cuối cùng phụ thuộc yêu cầu và nhóm tài khoản; giá token hoặc phân tầng không thể quy về một số cố định.
Luồng và Model ID
Chỉ dùng luồng được đánh dấu khả dụng. Flatkey giữ một ID công khai, phần thân chọn kiểu đầu vào.
Văn bản thành video
Tạo clip từ văn bản và điều khiển đầu ra.
- ID mô hình
grok-imagine-video- Endpoint
/v1/videos
Ảnh thành video
Làm chuyển động ảnh tham chiếu và giữ chủ thể.
- ID mô hình
grok-imagine-video- Endpoint
/v1/videos
Tương thích tham số
Các giá trị từ cùng cấu hình mà Playground sử dụng.
durationThời lượng1–15
Mặc định: 5imageGiới hạn tham chiếu1 tệp
Endpoint: /v1/videosTừ thử nghiệm đến production
Dùng cùng hợp đồng trong Playground và API, đồng thời xử lý xác thực, số dư, trạng thái và đầu ra.
Vòng đời yêu cầu
- 1
Kiểm tra mô hình, prompt, tham chiếu và đầu ra.
- 2
Gửi yêu cầu và lưu task ID.
- 3
Thăm dò trạng thái hoặc xử lý callback.
- 4
Tải và lưu tệp trước khi hết hạn.
Kiểm tra production
Chặn giá trị và số tham chiếu không hỗ trợ.
Xử lý riêng khóa, số dư, giới hạn và giá nhóm.
Nêu rõ prompt hoặc tài sản cần thay.
Giữ task ID, giới hạn thử lại và không coi timeout là thành công.
Thư viện prompt
Ví dụ prompt grok-imagine-video cho tạo video
Bắt đầu bằng prompt grok-imagine-video cho tạo video, sau đó điều chỉnh các trường yêu cầu trong playground.
Tạo bằng Seedance 2.0
Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction. Visual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent. Shot sequence: 1. Frame the mustard-jacketed man and white envelope in the stairwell.; 2. Ease closer as he opens the envelope and reads.; 3. Hold his upward glance toward the landing without changing eyeline direction. Continuity: Keep the character's face, clothing and key prop consistent; preserve screen direction across cuts. Exclude: extra people or props, text, logos and watermarks.
Tạo bằng Seedance 2.0
Creative direction: A white travel mug with a blue hinged lid stands on a dark studio surface. One hand flips the lid open at its fixed hinge; a thin plume of steam rises from the opening. Finish on the mug profile with its lid, handle and opening clearly visible. Visual treatment: Photoreal product close-up with a soft edge light on white ceramic, a blue lid and restrained backlit steam. Shot sequence: 1. Hold the closed mug in a three-quarter close-up; 2. Show the hand opening the lid around its hinge; 3. Let the steam rise and settle on the open product profile Continuity: Keep the product silhouette, cap or hinge, materials and prop positions stable; hold the final hero frame. Exclude: extra people or props, text, logos and watermarks.
Tạo bằng Seedance 2.0
Creative direction: A man enters an empty industrial room beside the sea and walks toward a large window. The camera follows from behind as the ocean and warm sunset fill the opening, ending on his silhouette against the view. Visual treatment: Live-action location reveal with industrial shadows and warm coastal sunset. Shot sequence: 1. Follow the man from behind through the industrial room.; 2. Approach the large window as the sunset ocean fills the opening.; 3. Stop behind his silhouette and retain detail around the window frame. Continuity: Maintain scene geography, subject scale and motivated light direction throughout the camera move. Exclude: extra people or props, text, logos and watermarks.
Tạo bằng Seedance 2.0
Creative direction: A man stands still in a neutral gray studio while a compact quadcopter drone circles behind and beside him. Keep the camera locked at waist height so the drone's orbit, distance, and the subject's profile remain easy to read. Visual treatment: Live-action character-and-drone study with neutral gray lighting and clear spatial separation. Shot sequence: 1. Hold the man in profile in the neutral gray studio.; 2. Move the quadcopter behind and beside him along a clear curved path.; 3. Keep its distance from the man as the locked camera holds the composition. Continuity: Maintain character design, equipment geometry and travel direction from first to final frame. Exclude: extra people or props, text, logos and watermarks.
Tạo bằng Seedance 2.0
Creative direction: A presenter speaks at a home desk into a black microphone. Cut to a close view of one hand connecting a small audio cable and adapter, then return to the seated presenter continuing the explanation. Visual treatment: Live-action creator demonstration with natural desk lighting and restrained depth of field. Shot sequence: 1. Establish the seated presenter speaking into the black microphone.; 2. Cut to the hand aligning and inserting the cable into the adapter.; 3. Return to the original desk framing as the explanation continues. Continuity: Keep demonstration props, layout and hand contact consistent so the action remains legible. Exclude: extra people or props, text, logos and watermarks.
Tạo bằng Seedance 2.0
Creative direction: A man in a dark gallery pushes and rotates a glowing turquoise rectangular panel. Orange and purple panels light up around him as he changes its angle, ending with the three colored surfaces arranged across the room. Visual treatment: Light-installation performance with turquoise, orange and purple emissive panels. Shot sequence: 1. Frame the man touching the turquoise panel in the dark gallery.; 2. Follow his hands pushing and rotating the panel while orange and purple panels illuminate.; 3. Hold all three colored surfaces in their final arrangement. Continuity: Keep the main subject, palette and light behavior consistent as the visual pattern develops. Exclude: extra people or props, text, logos and watermarks.
Vì sao dùng API grok-imagine-video
Vì sao dùng grok-imagine-video qua Flatkey?
Dùng một gateway cho grok-imagine-video, kiểm soát tài khoản và các mô hình còn lại trong danh mục.
grok-imagine-video trong một API
Giữ rõ model ID và endpoint của grok-imagine-video trong khi dùng cùng khóa Flatkey cho các workload khác.
Giá danh mục trực tiếp
Xem đơn vị tính phí hiện tại của grok-imagine-video trước khi gửi yêu cầu, rồi xác nhận ước tính cuối trong tài khoản.
Bàn giao mô hình thực tế
Thử prompt grok-imagine-video trong playground công khai và mang cùng thiết lập vào tích hợp đã xác thực.
Kiểm soát sử dụng và định tuyến
Tập trung khóa, hạn mức và định tuyến cho grok-imagine-video mà không đổi quy trình ứng dụng hướng tới nhà cung cấp.
grok-imagine-video API
grok-imagine-video Hướng dẫn tích hợp API
Dùng model ID ở trên với /v1/videos; giữ các trường yêu cầu và đơn vị tính phí đã ghi nhận cho tuyến này.
curl https://router.flatkey.ai/v1/videos \ -H "Content-Type: application/json" \ -H "Authorization: Bearer sk-***" \ -d '{"model":"grok-imagine-video","prompt":"Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.\n\nVisual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent.\n\nShot sequence: 1. Frame the mustard-jacketed man and white envelope in the stairwell.; 2. Ease closer as he opens the envelope and reads.; 3. Hold his upward glance toward the landing without changing eyeline direction.\n\nContinuity: Keep the character'"'"'s face, clothing and key prop consistent; preserve screen direction across cuts.\nExclude: extra people or props, text, logos and watermarks.","duration":5}' # Poll for the result (replace TASK_ID with the returned task id) curl "https://router.flatkey.ai/v1/videos/TASK_ID" \ -H "Authorization: Bearer sk-***"
Câu hỏi thường gặp
grok-imagine-video API
câu hỏi về giá, tính năng và cách dùng
Giải đáp về giá, năng lực, endpoint và giới hạn danh mục của grok-imagine-video.