view

View or download a file

Serves a file (image, audio, or video) from the input/output/temp directory identified by the query parameters.

get/api/view

Query parameters

filenamestring required

Name of the file to view

type'input' | 'output' | 'temp'

Directory type

subfolderstring

Subfolder within the directory

previewstring

Preview format hint (e.g. "webp;90")

channel'rgba' | 'rgb' | 'a'

Channel extraction mode

Response

File content

Changes