POST
Upload Profile Avatar
Upload or update avatar image for a profile. POST /api/voice/profiles/{profile_id}/avatar All requests authenticate with your PeachDesk API key in the X-API-Key header (an interactive session token in Authorization: Bearer also works тАФ see Authentication). Use the playground to send a live request and inspect the response.

Authorizations

X-API-Key
string
header
required

Organization API key (bibha_...). Takes precedence over the session credential, and is refused outright on user-session-only and super-admin routes.

Path Parameters

profile_id
string
required

Body

multipart/form-data
file
file
required

Response

Successful Response

Response model for voice profile.

id
string
required
name
string
required
description
string | null
required
language
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
avatar_path
string | null
effects_chain
EffectConfig ┬╖ object[] | null
voice_type
string
default:cloned
preset_engine
string | null
preset_voice_id
string | null
design_prompt
string | null
default_engine
string | null
personality
string | null
generation_count
integer
default:0
sample_count
integer
default:0