Check Flux image generation task status and fetch results by task ID with CometAPI via GET /flux/v1/get_result, compatible with Replicate tasks.
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>"
}/replicate/v1/models/\{model\}/predictions and /flux/v1/\{model\}.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>"
}