Get asset metadata from remote URL
Retrieves metadata for an asset from a remote download URL without downloading the entire file. Supports various sources including CivitAI and other model repositories. Uses HEAD requests or API calls to fetch metadata efficiently. This endpoint is for previewing metadata before downloading, not for getting metadata of existing assets.
Documentation Index
Fetch the complete documentation index at: https://dripart-changelog-0-18-2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
授权
API key authentication. Generate an API key from your account settings at https://platform.comfy.org/profile/api-keys. Pass the key in the X-API-Key header.
查询参数
Download URL to retrieve metadata from
"https://civitai.com/api/download/models/123456"
响应
Metadata retrieved successfully
Size of the asset in bytes (-1 if unknown)
4294967296
MIME type of the asset
"application/octet-stream"
Suggested filename for the asset from source
"realistic-vision-v5.safetensors"
Display name or title for the asset from source
"Realistic Vision v5.0"
Tags for categorization from source
["models", "checkpoint"]Preview image as base64-encoded data URL
"data:image/jpeg;base64,/9j/4AAQSkZJRg..."
Validation results for the file