curl --request GET \
--url https://cloud.comfy.org/api/assets/tags/refine \
--header 'X-API-Key: <api-key>'{
"tag_counts": {
"checkpoint": 32,
"lora": 193,
"vae": 6
}
}Returns a histogram of tags appearing on assets matching the given filters. Useful for refining asset searches by showing available tags and their counts. Only returns tags with non-zero counts (tags that exist on matching assets).
curl --request GET \
--url https://cloud.comfy.org/api/assets/tags/refine \
--header 'X-API-Key: <api-key>'{
"tag_counts": {
"checkpoint": 32,
"lora": 193,
"vae": 6
}
}API key authentication. Generate an API key from your account settings at https://comfy.org/account. Pass the key in the X-API-Key header.
Filter assets that have ALL of these tags
Exclude assets that have ANY of these tags
Filter assets where name contains this substring (case-insensitive)
JSON object for filtering by metadata fields
Maximum number of tags to return (1-1000, default 100)
1 <= x <= 1000Whether to include public/shared assets in results
Success - Tag histogram returned
Map of tag names to their occurrence counts on matching assets
显示 子属性
{ "checkpoint": 32, "lora": 193, "vae": 6 }