メインコンテンツへスキップ
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>"
}

概要

task ID によって画像生成タスクのステータスと結果を照会します。
Cross-API Compatibility: このエンドポイントは、/replicate/v1/models/\{model\}/predictions および /flux/v1/\{model\} を介して作成されたタスクとも互換性があります。

承認

Authorization
string
header
必須

Bearer token authentication. Use your CometAPI key.

クエリパラメータ

id
string
必須

Task id returned by the Flux generate endpoint.

レスポンス

200 - application/json

OK

id
string
result
object
status
string