Skip to Content
API reference

Download an image

GET
/v1/files/outputs/{file}

The finished image behind result.image_url. You never build this link yourself: take it from the generation. It is signed and needs no key. Download it when the run is done: it is deleted after the first download, or 10 minutes after the run if nobody downloads it. A HEAD request or a download cut short doesn't count.

Path Parameters

file*string

The generation's id and file extension.

Query Parameters

expires*string

Part of the signed link, as given.

signature*string

Part of the signed link, as given.

Response Body

The image, in the output_format the generation asked for.

response?string
Example Request
curl -X GET 'https://tensorfactory.ai/v1/files/outputs/0b8c6f0e-5d1a-4a3e-9c61-2f7d8e4b9a10.png?expires=string&signature=string'
Example Response
"string"