Chuyển đến nội dung chính
GET
/
flux
/
v1
/
get_result
flux query
curl --request GET \
  --url https://api.cometapi.com/flux/v1/get_result \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "result": {
    "seed": 123,
    "prompt": "<string>",
    "sample": "<string>",
    "duration": 123,
    "end_time": 123,
    "start_time": 123
  },
  "status": "<string>"
}

Tổng quan

Truy vấn trạng thái và kết quả của một tác vụ tạo ảnh theo ID tác vụ.
Tương thích liên API: Endpoint này cũng tương thích với các tác vụ được tạo qua /replicate/v1/models/\{model\}/predictions/flux/v1/\{model\}.

Ủy quyền

Authorization
string
header
bắt buộc

Bearer token authentication. Use your CometAPI key.

Tham số truy vấn

id
string
bắt buộc

Task id returned by the Flux generate endpoint.

Phản hồi

200 - application/json

OK

id
string
result
object
status
string