Upload an avatar image/video file directly to Cloudinary
x-api-key header.
| Field | Type | Description |
|---|---|---|
id | integer | Unique avatar identifier |
name | string | Avatar name |
url | string | Cloudinary URL where the avatar is hosted |
voice_id | string | Voice ID associated with avatar (null if not provided) |
cloudinary_id | string | Cloudinary public ID for the uploaded file |
CLOUDINARY_MODERATION_ENFORCE=true), uploads may be rejectedurl can be used in agent configurations400 Bad Request - Missing required fields (file or name)401 Unauthorized - Invalid or missing API key415 Unsupported Media Type - File failed content moderation checks500 Internal Server Error - Upload failed or server error