Skip to main content
GET
/
api
/
assets
/
{id}
/
content
Download asset content
curl --request GET \
  --url https://cloud.comfy.org/api/assets/{id}/content \
  --header 'X-API-Key: <api-key>'
"<string>"

Authorizations

X-API-Key
string
header
required

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

id
string<uuid>
required

Asset ID

Query Parameters

disposition
enum<string>
default:attachment

Content-Disposition for the response. attachment (default) prompts a download; inline serves the content for direct display.

Available options:
attachment,
inline

Response

Asset content

The response is of type file.