Create an asset reference from an existing hash
Registers a new asset that references existing content by hash, without re-uploading the bytes.
Request body
Blake3 hash of existing content
Display name
[cloud-only] MIME type of the content, so the type is preserved without re-inspecting content. Ignored by local ComfyUI.
Response
Asset created from hash
Unique identifier for the asset
Name of the asset file
Blake3 content hash of the asset (preferred over asset_hash)
Deprecated: use hash instead. Blake3 hash of the asset content.
Size of the asset in bytes
Original image width in pixels. Null for non-image assets or assets ingested before dimension extraction.
Original image height in pixels. Null for non-image assets or assets ingested before dimension extraction.
MIME type of the asset
Tags associated with the asset
Custom user metadata
System-managed metadata (read-only)
URL for asset preview/thumbnail
ID of the preview asset if available
Deprecated: use job_id instead. ID of the prompt that created this asset.
ID of the job that created this asset
Whether this asset is immutable
Whether this was a new creation (true) or returned existing (false)