Dapatkan hasil pembuatan video
Gunakan GET /grok/v1/videos/ untuk melakukan polling status pembuatan video xAI dan mengambil URL video final setelah pemrosesan selesai.
Gunakan endpoint ini setelah Anda sudah memilikiDocumentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
request_id. Endpoint ini memberi tahu apakah job xAI masih berjalan dan mengembalikan metadata video final saat sudah siap.
Periksa field ini terlebih dahulu
request_idsaat tugas telah diterima tetapi hasilnya belum siapstatusuntuk status job xAI; terus lakukan polling hingga mencapaidoneprogressuntuk persentase penyelesaian saat dikembalikanvideo.urlsaat render selesai
Loop polling
Buat atau edit video terlebih dahulu
request_id yang dikembalikan.Terus lakukan polling hingga status done
request_id, tunggu beberapa detik lalu lakukan polling lagi. Setelah status muncul, gunakan itu sebagai kondisi berhenti.Otorisasi
Bearer token authentication. Use your CometAPI key.
Parameter Path
Deferred request id returned by the create or edit endpoint.
Respons
Current xAI video task state.
Returned when the request is accepted but result metadata is not ready yet.
xAI video model id.
Generated video metadata. Present when the job has completed.
xAI job state. done means the video metadata is ready.
queued, processing, done, failed, expired Completion percentage when returned.
Error details when the job fails.