Przejdź do głównej treści
GET
cURL

Omówienie

Przekaż identyfikator zadania najwyższego poziomu id zwrócony przez POST /flux/v1/\{model\} jako parametr zapytania id. Kontynuuj odpytywanie w ramach ograniczonego limitu czasu klienta, aż zadanie zakończy się powodzeniem lub niepowodzeniem. Pomyślny wynik może zawierać sample, seed, prompt i start_time. Niektóre pola mogą zostać pominięte, więc wymagaj tylko result.sample po osiągnięciu przez zadanie stanu Ready.
result.sample jest tymczasowy. Nie używaj adresu URL wyniku dostawcy jako trwałego zasobu aplikacji.

Autoryzacje

Authorization
string
header
wymagane

Bearer token authentication. Use your CometAPI key.

Parametry zapytania

id
string
wymagane

Top-level task ID returned by the FLUX create endpoint.

Odpowiedź

200 - application/json

Current FLUX task state and, when ready, the generated image result.

id
string
wymagane

FLUX task ID.

status
string
wymagane

Task state. Ready is successful. Known failure states include Error, Failed, Failure, Task not found, Request Moderated, and Content Moderated.

result
object | null

Generation result. It can be null or omitted while the task is still running.

progress
number | null

Task progress when returned.

details
any

Additional task details when returned.

preview
any

Task preview data when returned.

Ostatnia modyfikacja 31 lipca 2026