Skip to main content

Download generated file

GET 

/v1/visual/:request-id/file/:file-id

Download a specific file generated by a completed visual request.

Important Notes:

  • The complete download URL is provided in the generated_files array from the status endpoint - you don't need to construct it manually
  • Authentication headers are required to download the file content
  • Files should be downloaded and hosted elsewhere for display purposes - do not use these URLs directly for displaying visuals in your application
  • Both status and file URLs expire after 30 minutes from generation

Files are only available for requests with status "completed". The response will include appropriate Content-Type headers based on the file format.

Request

Responses

File downloaded successfully

Response Headers
    Content-Type

    MIME type of the file

    Example: image/svg+xml
    Content-Length

    Size of the file in bytes

    Example: 245760