Fetch Queued Response
curl --request POST \
--url https://modelslab.com/api/v1/enterprise/flux_headshot/fetch/{id} \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>"
}
'{
"status": "success",
"id": 12202888,
"output": [
"https://pub-8b49af329fae499aa563997f5d4068a4.r2.dev/generations/e5cd86d3-7305-47fc-82c1-7d1a3b130fa4-0.png"
]
}Flux Headshot API
Fetch Image
Fetch Queued response.
POST
/
flux_headshot
/
fetch
/
{id}
Fetch Queued Response
curl --request POST \
--url https://modelslab.com/api/v1/enterprise/flux_headshot/fetch/{id} \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>"
}
'{
"status": "success",
"id": 12202888,
"output": [
"https://pub-8b49af329fae499aa563997f5d4068a4.r2.dev/generations/e5cd86d3-7305-47fc-82c1-7d1a3b130fa4-0.png"
]
}Documentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
Send aPOST request to below endpoint to return the corresponding queued images.
curl
--request POST 'https://modelslab.com/api/v1/enterprise/flux_headshot/fetch/{id}' \
Body
json
{
"key": "enterprise_api_key"
}
Path Parameters
ID of the queued job returned during generation
Body
application/json
Your API key
Was this page helpful?
⌘I

