cURL
curl --request POST \ --url https://reelmirror.com/api/v1/uploads \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form category=avatar \ --form persona_id=3c90c3cc-0d44-4b50-8888-8dd25736052a
{ "data": { "key": "<string>", "url": "<string>", "category": "avatar", "persona_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
Upload an avatar image or voice sample. Supports multipart/form-data or JSON with a URL to fetch from. Automatically updates the persona’s avatar_url or voice_sample_url field.
avatar_url
voice_sample_url
API key (rm_xxx) or JWT token
avatar
voice
File uploaded and processed
Show child attributes