/
/ComfyUI API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 1h ago · Updated 2w ago
assets23
  • headCheck if an asset with the given hash exists
  • getList assets with filtering and pagination
  • postUpload a new asset
  • postCreate an asset reference from an existing hash
  • getGet asset metadata
  • putUpdate asset metadata
  • deleteDelete an asset
  • getDownload asset file content
  • postAdd tags to an asset
  • deleteRemove tags from an asset
  • getList all known tags with counts
  • getGet tag counts for assets matching current filters
  • postTrigger asset scan/seed from filesystem
  • getGet asset scan progress
  • postCancel an in-progress asset scan
  • postMark assets whose backing files no longer exist on disk
  • postDownload assets to cloud runtime
  • postExport assets as a downloadable archive
  • getDownload a completed asset export
  • postCreate asset records from a workflow execution
  • post[cloud-only] Import published assets into the caller's library
  • getFetch metadata for a remote asset URL
  • getGet related mask layer filenames
auth11
billing11
extensions3
history5
hub13
internal6
model5
node6
prompt3
queue8
runtime-only2
settings9
subgraph2
system4
task2
upload2
user5
userdata8
view6
workflows11
workspace18
    assets

    Delete an asset

    Removes an asset entry. Depending on the server configuration, the underlying content may also be deleted.

    delete/api/assets/{id}

    Path parameters

    idstring uuid required

    The asset ID.

    Query parameters

    delete_contentboolean

    Also delete the underlying content file

    Response

    Asset deleted

    Changes