Zum Hauptinhalt springen
GET
cURL
Verwende diesen Endpunkt, nachdem du einen Flux 3-Video-Task erstellt hast. Die Antwort enthält video_url, wenn der Task abgeschlossen ist.

Diese Felder prüfen

  • status ist queued, in_progress, completed oder failed.
  • progress ist ein grober Abschlussprozentsatz von 0 bis 100.
  • video_url wird angezeigt, wenn der Task abgeschlossen ist.
  • error wird angezeigt, wenn der Task fehlschlägt.

Task abfragen

1

Erstelle zuerst den Task

Beginne mit Ein Flux 3-Video erstellen und speichere die zurückgegebene id.
2

Task-Status abrufen

Sende die Task-ID an diesen Endpunkt, bis status den Wert completed oder failed hat.
3

MP4-Datei herunterladen

Wenn status den Wert completed hat, rufe Flux 3-Videoinhalte herunterladen.

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication. Use your CometAPI API key.

Pfadparameter

task_id
string
erforderlich

Task ID returned by POST /v1/videos.

Antwort

Current Flux 3 video task state.

id
string
erforderlich

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

Beispiel:

"<task_id>"

object
string
erforderlich

Object type for the asynchronous video task.

Allowed value: "video"
model
string
erforderlich

Model ID that the task uses.

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

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

Verfügbare Optionen:
queued,
in_progress,
completed,
failed
progress
integer
erforderlich

Task progress as a coarse percentage.

Erforderlicher Bereich: 0 <= x <= 100
created_at
integer<int64>
erforderlich

Task creation time as a Unix timestamp in seconds.

task_id
string

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

Beispiel:

"<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.

Beispiel:

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

error
object

Failure details. This field appears when the task fails.

Zuletzt geändert am 14. August 2026