POST
/
face_gen
/
fetch
/
{id}
Fetch Queued Response
curl --request POST \
  --url https://modelslab.com/api/v1/enterprise/face_gen/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"
  ]
}

Request

Send a POST request to below endpoint to return the corresponding queued images.
curl
--request POST 'https://modelslab.com/api/v1/enterprise/face_gen/fetch/{id}' \

Body

json
{ 
    "key": "enterprise_api_key"
}

Path Parameters

id
string
required

ID of the queued job returned during generation

Body

application/json
key
string
required

Your API key

Response

Fetch successful

status
string
Example:

"success"

id
integer
Example:

12202888

output
string[]
Example:
[
"https://pub-8b49af329fae499aa563997f5d4068a4.r2.dev/generations/e5cd86d3-7305-47fc-82c1-7d1a3b130fa4-0.png"
]