curl --request GET \
--url https://cloud.comfy.org/api/view \
--header 'X-API-Key: <api-key>'"<string>"Retrieve and view a file from the ComfyUI file system. This endpoint is typically used to view generated images or other output files.
curl --request GET \
--url https://cloud.comfy.org/api/view \
--header 'X-API-Key: <api-key>'"<string>"API key authentication. Generate an API key from your account settings at https://comfy.org/account. Pass the key in the X-API-Key header.
Name of the file to view
"ComfyUI_00004_.png"
Subfolder path where the file is located. Note: Accepted for ComfyUI API compatibility but ignored in cloud. Cloud uses content-addressed storage where assets are stored by hash only. The subfolder is client-side UI metadata and not used for storage lookup.
"tests/foo/bar"
Type of file (e.g., output, input, temp).
Note: In cloud, both output and temp files are stored in the same bucket.
The type parameter is used for compatibility but storage location is determined by hash.
"output"
Full path to the file (used for temp files)
Format of the file
Frame rate for video files
Workflow identifier
Timestamp parameter
"1234567890"
Image channel to extract from PNG images.
"rgb"
Success - File content returned (used when channel parameter is present)
Processed PNG image with extracted channel