⚡ NEW: Flux Klein 9B — Faster inference, stunning quality · Try Now
curl --request POST \
--url https://modelslab.com/api/v6/faceswap/fetch/{id} \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>"
}
'{
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"meta": {
"init_image": "<string>",
"target_image": "<string>",
"reference_image": "<string>",
"seed": 123,
"temp": "<string>",
"file_prefix": "<string>",
"model_save_format": "<string>",
"watermark": "<string>",
"watermark_image": "<string>"
}
}Fetch Queued Request API returns queued or generated videos, useful for delayed processing.
curl --request POST \
--url https://modelslab.com/api/v6/faceswap/fetch/{id} \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>"
}
'{
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"meta": {
"init_image": "<string>",
"target_image": "<string>",
"reference_image": "<string>",
"seed": 123,
"temp": "<string>",
"file_prefix": "<string>",
"model_save_format": "<string>",
"watermark": "<string>",
"watermark_image": "<string>"
}
}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.
POST request to below endpoint to return the corresponding queued videos, where {id} is the ID returned together with the URL in the response upon its generation.
--request POST 'https://modelslab.com/api/v6/faceswap/fetch/{id}' \
{
"key": ""
}
The ID of the face swap generation to fetch
Your API Key used for authenticating your request
Fetch response
success Time taken to generate the result in seconds
Unique identifier for the generation request
Array of URLs to the generated images
Array of proxy URLs for the generated images
Metadata about the generation process and parameters used
Show child attributes
Was this page helpful?