Skip to main content
GET
cURL
Bu endpoint’i bir Flux 3 video görevi oluşturduktan sonra kullanın. Yanıt, görev tamamlandığında video_url içerir.

Bu alanları kontrol edin

  • status şu değerlerden biridir: queued, in_progress, completed veya failed.
  • progress 0 ile 100 arasında yaklaşık bir tamamlanma yüzdesidir.
  • video_url görev tamamlandığında görünür.
  • error görev başarısız olduğunda görünür.

Görevi sorgulayın

1

Önce görevi oluşturun

Önce bir Flux 3 videosu oluşturun ve döndürülen id değerini saklayın.
2

Görev durumunu alın

status, completed veya failed olana kadar görev kimliğini bu endpoint’e gönderin.
3

MP4 dosyasını indirin

status, completed olduğunda Flux 3 video içeriğini indirin.

Yetkilendirmeler

Authorization
string
header
gerekli

Bearer authentication. Use your CometAPI API key.

Yol Parametreleri

task_id
string
gerekli

Task ID returned by POST /v1/videos.

Yanıt

Current Flux 3 video task state.

id
string
gerekli

Task ID. Use this value as task_id in retrieve and content requests.

Örnek:

"<task_id>"

object
string
gerekli

Object type for the asynchronous video task.

Allowed value: "video"
model
string
gerekli

Model ID that the task uses.

Allowed value: "flux-3"
status
enum<string>
gerekli

Task lifecycle status. Poll until the value is completed or failed.

Mevcut seçenekler:
queued,
in_progress,
completed,
failed
progress
integer
gerekli

Task progress as a coarse percentage.

Gerekli aralık: 0 <= x <= 100
created_at
integer<int64>
gerekli

Task creation time as a Unix timestamp in seconds.

task_id
string

Compatibility alias for id. This field can be omitted from retrieve responses.

Örnek:

"<task_id>"

completed_at
integer<int64>

Task completion time as a Unix timestamp in seconds when the task provides one.

expires_at
integer<int64>

Result expiration time as a Unix timestamp in seconds when the task provides one.

video_url
string<uri>

Video delivery URL. This field appears on completed tasks.

Örnek:

"https://media.example.com/flux-3-result.mp4"

error
object

Failure details. This field appears when the task fails.

Son değiştirilme tarihi 14 Ağustos 2026