POST
/
deepfake
/
fetch
/
{id}
Fetch deepfake result
curl --request POST \
  --url https://modelslab.com/api/v6/deepfake/fetch/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>"
}'
{
  "status": "success",
  "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>"
  }
}
Note: This endpoint does not generate new videos; it only returns already generated or queued video generations.

Request

Send a 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.
curl
--request POST 'https://modelslab.com/api/v6/deepfake/fetch/{id}' \

Body

json
{ 
    "key": ""
}

Path Parameters

id
integer
required

The ID of the deepfake generation to fetch

Body

application/json
key
string
required

Your API Key used for authenticating your request

Response

Fetch response

status
enum<string>
Available options:
success
generationTime
number

Time taken to generate the result in seconds

id
integer

Unique identifier for the generation request

output
string<uri>[]

Array of URLs to the generated images

Array of proxy URLs for the generated images

meta
object

Metadata about the generation process and parameters used