Upload media to collection
Upload to Collection
Upload videos, audio, or images to a collection
POST
Upload media to collection
Upload videos, audio files, or images to a collection from URLs or local files.
- Supports video, audio, and image files
- Use
media_typeparameter to specify type explicitly - Large files should use
callback_urlfor async processing
Upload Guide
Supported formats and upload methods
Production Patterns
Batch uploads, webhooks, and retry logic
Authorizations
API key for authentication (sk-xxx format)
Path Parameters
Example:
"default"
Body
application/json