Issue on docs - (Comfy Cloud API) Clarify "Asset" vs "File" endpoints and document supported sources for URL-based uploads
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- api, documentation
Research direction
Start with /api-reference/cloud/asset/upload-a-new-asset and compare it with the linked /api/upload/image. Clarify the supported sources for URL uploads, the distinction between assets and files, and whether assets can be workflow inputs; done means the docs state these limits and point users to the correct upload method.
Written by the indexing model from the issue text.
Description
Path: /api-reference/cloud/asset/upload-a-new-asset
There is currently ambiguity in the documentation regarding the purpose and limitations of the /api/assets endpoint compared to the standard file upload endpoints. Specifically, the URL-based upload method for assets frequently fails with a UNSUPPORTED_SOURCE error, even when the source is publicly accessible and has no CORS restrictions.
Error Encountered: { "code": "UNSUPPORTED_SOURCE", "message": "Failed to retrieve asset from external source." }
Observed Behavior: * URL-based uploads fail for multiple media types (MP3, WAV, images) even when hosted on public S3 buckets or direct URLs.
The term "supported source" is not defined, making it impossible to know which domains or protocols are allowed.
It is unclear if assets uploaded via the /api/assets endpoint can actually be used as inputs for workflows/jobs, or if users should strictly be using the multipart form-data method on the file endpoints.
I suggest
-
clarifying "Supported Source" Explicitly listing the requirements or allowed domains for the URL-based upload method.
maybe also add a section explaining the distinction between an Asset and a File (uploaded for a specific job/input) could prove beneficial for users referencing the docs. -
Clearly state if assets can be used as workflow inputs and, if so, how to reference them. If they cannot, it would be nice if the documentation could explicitly point users toward the multipart form-data method for workflow inputs as users may be referencing this asset endpoint to upload inputs that are not images due to the confusion caused by the naming convention of api/upload/image. endpoint.
- Dominant language
- MDX
- Stars
- 296
- Forks
- 207
- Avg merge
- 20h 34m
- Merged PRs (30d)
- 187
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Comfy-Org/docs
-
Issue on docsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Comfy-Org/docs#1850 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Comfy-Org/docs#1770 · 1 comment ·
Maintainers usually reply within 1 day
-
Issue on docsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Comfy-Org/docs#1665 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Comfy-Org/docs#1574 · 1 comment ·
Maintainers usually reply within 1 day
-
Issue on docsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 2 days
-
bug No Code Attached Yet
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
joomla/joomla-cms#48556 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
modelscope/FunASR#3757 ·
Maintainers usually reply within 1 day
-
component:midnight-node status:untriaged
Difficulty 1/5 Under an hour Newbie friendliness 90/100
midnightntwrk/midnight-node#2235 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
langflow-ai/langflow#15535 ·
Maintainers usually reply within 1 day