grok-imagine-video API video AI
xAI menyediakan grok-imagine-video untuk pembuatan video. Flatkey merutekannya melalui /v1/videos. $0.072 per second.
Keluaran
PratinjauDibuat dengan Seedance 2.0
Ringkasan permintaan
- Titik akhir API
- POST /v1/videos
- ID model
- grok-imagine-video
- Rasio aspek
- 9:16
- Resolusi
- —
- Durasi
- 5s
- Media referensi
- Tidak ada
Hanya pratinjau. Masuk untuk mengirim permintaan ini ke Flatkey.
{
"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
}Performa API
grok-imagine-video Keandalan dan ketersediaan API
Telemetri permintaan Flatkey untuk grok-imagine-video akan tampil di sini jika trafik produksi sudah mencukupi.
Aktivitas API
grok-imagine-video Penggunaan dan aktivitas permintaan API
Pantau volume permintaan dan aktivitas inferensi berhasil untuk grok-imagine-video pada periode pelaporan terbaru.
grok-imagine-video harga
grok-imagine-video Harga dan penagihan API
Harga di bawah dihitung dari data harga Flatkey untuk model ini dan grup terlihat yang saat ini dikembalikan oleh API harga kami.
Tambah kredit
Gunakan saldo dan kunci API Flatkey yang sama untuk model gambar, video, audio, dan teks.
- Jenis model
- Teks menjadi video
- API
- /v1/videos
- Dasar penagihan
- detik
- Durasi
- 1–15s
- Rasio aspek
- adaptive
grok-imagine-video generator video AI dan API: kemampuan utama
Rute grok-imagine-video dari xAI mendukung teks · gambar · video. Kategori katalog: Marketing.
grok-imagine-video untuk pembuatan video
Ubah brief tertulis menjadi output pembuatan video melalui /v1/videos.
Alur kerja referensi grok-imagine-video
Gunakan referensi yang ada saat rute grok-imagine-video menerima media atau konteks referensi.
Varian siap kanal grok-imagine-video
Adaptasikan satu konsep menjadi varian yang dibutuhkan toko, kampanye, atau pipeline konten.
Serah-terima produksi grok-imagine-video
Pindahkan hasil yang disetujui dari eksplorasi prompt ke alur generasi Flatkey yang dapat diulang.
Bandingkan
grok-imagine-video Perbandingan API: kemampuan dan akses
Bandingkan fakta katalog grok-imagine-video dengan acuan generasi sebelumnya sebelum mengubah integrasi.
| Kemampuan | Generasi sebelumnya | grok-imagine-video |
|---|---|---|
| Penyedia | Belum diverifikasi dalam snapshot katalog ini | xAI |
| Modalitas | Belum diverifikasi dalam snapshot katalog ini | teks · gambar · video |
| Konteks | Belum diverifikasi dalam snapshot katalog ini | Katalog tidak mencantumkan jendela konteks |
| Titik akhir API | Belum diverifikasi dalam snapshot katalog ini | /v1/videos |
| Penagihan | Belum diverifikasi dalam snapshot katalog ini | $0.072 per second |
Pilih permintaan yang tepat sebelum integrasi
Periksa alur yang didukung, biaya saat ini, dan kontrak parameter Flatkey.
Dihitung dari konfigurasi saat ini dan tarif katalog jika harga unit tetap tersedia.
- Konfigurasi saat ini
- 5s
- Tarif langsung
- $0.072 / detik
- Estimasi permintaan
- $0.072
Biaya akhir mengikuti permintaan dan grup akun; harga token atau bertingkat tidak dapat dijadikan satu angka tetap.
Alur dan Model ID
Gunakan hanya alur yang tersedia. Flatkey mempertahankan satu ID publik dan body memilih jenis input.
Teks ke video
Buat klip dari teks dan kontrol output.
- ID model
grok-imagine-video- Endpoint
/v1/videos
Gambar ke video
Animasikan referensi sambil menjaga subjek dan komposisi.
- ID model
grok-imagine-video- Endpoint
/v1/videos
Kompatibilitas parameter
Nilai berasal dari konfigurasi yang sama dengan Playground.
durationDurasi1–15
Default: 5imageBatas referensi1 file
Endpoint: /v1/videosDari tes pertama ke produksi
Gunakan kontrak yang sama di Playground dan API serta tangani validasi, saldo, status, dan hasil.
Siklus permintaan
- 1
Validasi model, prompt, referensi, dan output.
- 2
Kirim permintaan dan simpan task ID.
- 3
Polling status atau proses callback.
- 4
Ambil dan simpan file sebelum kedaluwarsa.
Pemeriksaan produksi
Blokir nilai dan referensi yang tidak didukung.
Tangani kunci, saldo, limit, dan harga grup terpisah.
Tunjukkan prompt atau aset yang harus diganti.
Simpan task ID, batasi percobaan, dan jangan anggap timeout berhasil.
Pustaka prompt
Contoh prompt grok-imagine-video untuk pembuatan video
Mulai dengan prompt grok-imagine-video untuk pembuatan video, lalu sesuaikan kolom permintaan yang terlihat di playground.
Dibuat dengan 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.
Dibuat dengan 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.
Dibuat dengan 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.
Dibuat dengan 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.
Dibuat dengan 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.
Dibuat dengan 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.
Mengapa API grok-imagine-video
Mengapa menggunakan grok-imagine-video melalui Flatkey?
Gunakan satu gateway untuk grok-imagine-video, kontrol akun, dan seluruh katalog model lainnya.
grok-imagine-video dalam satu API
Pertahankan model ID dan endpoint grok-imagine-video secara eksplisit dengan kunci Flatkey yang sama untuk workload lain.
Harga katalog live
Lihat dimensi penagihan grok-imagine-video sebelum mengirim permintaan, lalu konfirmasi estimasi akhir di akun.
Serah-terima model praktis
Uji prompt grok-imagine-video di playground publik dan bawa pengaturan yang sama ke integrasi terautentikasi.
Kontrol penggunaan dan rute
Pusatkan kunci, kuota, dan rute grok-imagine-video tanpa mengubah alur kerja aplikasi terhadap penyedia.
grok-imagine-video API
grok-imagine-video Panduan integrasi API
Gunakan model ID di atas dengan /v1/videos; pertahankan kolom permintaan dan unit penagihan yang terdokumentasi untuk rute ini.
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-***"
Pertanyaan umum
grok-imagine-video API
pertanyaan harga, fitur, dan penggunaan
Jawaban tentang harga, kemampuan, endpoint, dan batas katalog grok-imagine-video.