Skip to content

Conversation

@christian-byrne
Copy link
Contributor

Summary

Adds comprehensive documentation for the Assets API (/api/assets) as the recommended approach for file management instead of legacy /api/upload/* and /api/view endpoints.

Changes

  • Add "Assets API" section documenting:
    • GET /api/assets - List assets with tag/name/metadata filtering
    • POST /api/assets - Upload assets with tags and metadata
    • GET /api/assets/{id} - Get asset details
    • POST/DELETE /api/assets/{id}/tags - Manage asset tags
    • DELETE /api/assets/{id} - Delete assets
  • Mark existing /api/upload/* section as legacy with recommendation to use Assets API

Note

This PR should be kept as draft until the ComfyUI assets-api-implementation branch is merged.

Related

Notion ticket: COM-13971

- Add comprehensive Assets API section with list, upload, get, tags, delete
- Add legacy note to existing /api/upload/* section
- Recommend Assets API for new integrations

Amp-Thread-ID: https://ampcode.com/threads/T-019c0c6f-94c9-70a9-90c7-dee4048a242d
Co-authored-by: Amp <amp@ampcode.com>
@christian-byrne
Copy link
Contributor Author

Closing - will create a new PR for local ComfyUI server docs instead of cloud API

- Add /api/assets endpoints to routes table with (recommended) label
- Mark /upload/image, /upload/mask, /view as (legacy)
- Add detailed Assets API section with parameters, response examples
- Update both English and Chinese translations

Amp-Thread-ID: https://ampcode.com/threads/T-019c0c6f-94c9-70a9-90c7-dee4048a242d
Co-authored-by: Amp <amp@ampcode.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants