grok-imagine
API VideoHOTGrok Video API memberikan tim cara API-pertama untuk menggunakan generasi video Grok Imagine di dalam alur kerja produksi. Ini mendukung pembuatan video dari teks berbasis prompt, pembuatan video dari gambar berbasis referensi, peningkatan resolusi video, dan perpanjangan video dari satu keluarga model.
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.
Biaya terendah mulai dari $0.01/s
480p: 2 kredit/dtk - Teks ke Video - Detik keluaran ร 2
720p: 3 kredit/dtk - Teks ke Video - Detik keluaran ร 3
480p: 10 kredit/dtk - Teks ke Video - Detik keluaran ร 10
720p: 14 kredit/dtk - Teks ke Video - Detik keluaran ร 14
Perkiraan USD menggunakan $0,005/kredit dengan paket tahunan terbaik. Penagihan akhir mengikuti varian video Grok yang dipilih dan pengaturan keluaran.
Bidang permintaan inti
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"
}
}Gunakan Grok Imagine Text to Video untuk generasi
Area bermain, permintaan sampel, permintaan bidang, dan harga di halaman ini mengikuti jenis model yang dipilih.
Lihat dokumen API secara detailOpen 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.Apa yang ditambahkan API Grok Video ke alur kerja video Anda
Halaman ini mengikuti struktur API-first yang sama seperti referensi: uji model, pahami bidang-bidangnya, lalu lanjutkan ke integrasi.
Generasi teks-ke-video
Ubah petunjuk terperinci menjadi konsep video bentuk pendek untuk postingan sosial, iklan, momen produk, dan eksplorasi kreatif cepat.
Gerakan gambar-ke-video
Animasikan gambar sumber sambil mempertahankan subjek, komposisi, dan arah visual yang sudah disetujui tim Anda.
Perbesar dan perpanjang
Tingkatkan klip Grok yang sukses dengan peningkatan resolusi video, atau lanjutkan generasi yang ada dengan tugas perpanjangan.
API-ready payloads
Bekerja dengan ID model, prompt, URL gambar, ID tugas, rasio aspek, callback, dan pemantauan tugas dalam satu jalur integrasi.
Dari uji video Grok ke permintaan produksi
Jalur ringkas bagi tim yang ingin memvalidasi kualitas output sebelum menghubungkan pembuatan video Grok ke dalam aplikasi.
1. Pilih mode
Pilih teks-ke-video untuk pembuatan hanya dengan prompt, gambar-ke-video untuk animasi gambar sumber, atau mode lanjutan untuk meningkatkan resolusi dan memperpanjang.
2. Kirim generasi
Panggil API dengan kunci akun Anda, ID model, prompt, URL gambar opsional atau ID tugas sumber, dan URL callback.
3. Mengambil sampel dan menggunakan kembali
Lacak tugas hingga berhasil, kemudian gunakan kembali URL keluaran di produk, alur kerja kampanye, atau tugas video tindak lanjut Anda.
Apa yang bisa Anda buat dengan Grok Video API
Gunakan API saat produk Anda membutuhkan output video Grok yang dapat diulang, bukan hanya pembuatan manual sekali saja.
Generasi video Grok yang sukses dari komunitas
Jelajahi output video Grok publik yang telah selesai dengan sukses, lalu buka kasus apa pun untuk memeriksa prompt, pengaturan, dan hasilnya.
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
Dibuat untuk alur kerja API video Grok yang nyata
Eksekusi yang dijaga akun
Pengguna masuk, mengirim pekerjaan, dan menggunakan kredit melalui alur generasi SdanceAI yang ada.
Referensi dan masukan tugas
Image-to-video menerima URL gambar sumber, sementara alur kerja upscale dan extend dapat dilanjutkan dari ID tugas video yang telah selesai.
Iterasi yang menyadari mode
Mulailah dengan menghasilkan teks atau gambar, kemudian pindahkan hasil yang menjanjikan ke alur kerja peningkatan atau perpanjangan bila diperlukan.
Pertanyaan API Grok Video
Untuk apa Grok Video API paling baik digunakan?
Ini paling baik untuk pembuatan video bentuk pendek yang dapat diulang, termasuk klip yang dipimpin oleh prompt, gambar sumber animasi, varian video, hasil yang diperbesar, dan urutan kreatif yang diperpanjang.
Mode video Grok mana yang tersedia?
Halaman saat ini menampilkan Grok Imagine Teks ke Video, Grok Imagine Gambar ke Video, Grok Imagine Peningkatan Video, dan Grok Imagine Perluasan Video.
Apa perbedaan antara Teks ke Video dan Gambar ke Video?
Teks ke Video dimulai hanya dari sebuah prompt. Gambar ke Video menggunakan satu atau lebih gambar sumber ditambah prompt, yang lebih baik saat Anda membutuhkan kontinuitas subjek atau komposisi.
Kapan saya harus menggunakan upscale atau extend?
Gunakan upscale ketika Anda sudah memiliki video Grok yang sukses dan ingin versi dengan kualitas lebih tinggi. Gunakan extend ketika Anda ingin melanjutkan hasil generasi yang sudah selesai menjadi urutan yang lebih panjang.
Di mana saya bisa mengujinya sebelum mengintegrasikan?
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.
Apakah API mendukung callback?
Ya. Skema permintaan mencakup pengaturan callback di mana didukung, sehingga layanan Anda dapat menerima pemberitahuan penyelesaian tugas.
Bisakah saya menggunakan Grok Video API untuk alur kerja komersial?
Halaman ini dikonfigurasi untuk alur kerja video produksi. Untuk penggunaan komersial, tinjau rencana akun Anda, saldo kredit, ketersediaan model, dan persyaratan kebijakan konten yang berlaku.
Apakah saya bisa menganimasikan gambar produk yang sudah ada?
Ya. Gunakan mode gambar-ke-video dengan URL gambar sumber dan prompt yang menjelaskan gerakan, perilaku kamera, dan arah visual akhir.
Bagaimana saya harus mengelola biaya?
Mulailah dengan uji cepat prompt atau gambar-ke-video, lalu simpan tugas peningkatan kualitas dan perpanjangan untuk klip yang sudah mendekati target Anda.
Bisakah saya memeriksa bidang API yang sebenarnya?
Ya. Pilih mode video Grok di halaman ini dan JSON permintaan, daftar bidang, serta panel harga akan diperbarui untuk menyesuaikan dengan model tersebut.
Ubah video Grok menjadi alur kerja produksi Anda
Buka generator, uji prompt video Grok atau gambar sumber, lalu gunakan dokumentasi API saat Anda siap menghubungkannya ke produksi.