Download asset content
Downloads the binary content of an asset.
By default, the response is served with Content-Disposition: attachment, prompting
the client to save the file. Pass disposition=inline to serve the content inline
(useful for displaying images directly in a browser).
The response Content-Type matches the asset’s stored MIME type, and a 3xx redirect
may be returned to a pre-signed storage URL — follow redirects (curl -L) when consuming.
Authorizations
API key authentication. Generate an API key from your account settings at https://platform.comfy.org/profile/api-keys. Pass the key in the X-API-Key header.
Path Parameters
Asset ID
Query Parameters
Content-Disposition for the response. attachment (default) prompts a download;
inline serves the content for direct display.
attachment, inline Response
Asset content
The response is of type file.