Create Character
POST/characters/
Create a new character.
Authentication
Authorization: Bearer vm_sk_… with the media.write permission (or all.write). See Authentication.
Request body
application/json
| Field | Type | Description |
|---|---|---|
avatar_url | string | Character avatar URL |
category | string | Character category (e.g., education, entertainment) |
description | string | Character description |
metadata | object | |
name* | string | Character name |
personality* | PersonalityTraitsRequest | Personality traits for character. |
relationships | CharacterRelationshipRequest[] | |
speech_patterns | SpeechPatternsRequest | |
tags | string[] | |
type | CharacterTypeone of custom, template, marketplace, master | |
voice_config* | VoiceConfigRequest | Voice configuration for character. |
Response
200 application/json
| Field | Type | Description |
|---|---|---|
avatar_url | string | |
category | string | Character category |
character_id* | string | Unique character ID |
created_at* | string | |
description | string | Character description |
metadata | object | |
name* | string | Character name |
owner_id | string | Owner user ID |
personality* | PersonalityTraitsResponse | Personality traits response. |
preview_url | string | Voice preview URL |
relationships* | CharacterRelationshipResponse[] | |
speech_patterns* | SpeechPatternsResponse | Speech patterns response. |
status | string | |
tags | string[] | |
type* | CharacterTypeone of custom, template, marketplace, master | |
updated_at* | string | |
usage_stats* | app__schemas__voice_profile_schemas__UsageStatsResponse | Usage statistics response. |
voice_config* | VoiceConfigResponse | Voice configuration response. |
{
"character_id": "string",
"created_at": "2026-12-05T10:00:00Z",
"name": "string",
"personality": {
"background": {},
"emotions": {},
"traits": [
"string"
]
},
"relationships": [
{
"character_id": "string",
"description": "string",
"relationship_type": "string"
}
],
"speech_patterns": {
"catchphrases": [
"string"
],
"mannerisms": [
"string"
],
"speech_mannerisms": [
"string"
],
"vocabulary": {},
"vocabulary_level": "string"
},
"type": "custom",
"updated_at": "2026-12-05T10:00:00Z",
"usage_stats": {
"last_used_at": "2026-12-05T10:00:00Z",
"total_characters": 0,
"total_duration_seconds": 0,
"usage_count": 0
},
"voice_config": {
"alternate_voices": [
{
"emotions": [
null
],
"modifier": null,
"style_instructions": null,
"voice_profile_id": "string"
}
],
"character_style_prompt": "string",
"modifiers": {},
"multi_speaker_settings": {
"conversation_style": null,
"enabled": false,
"max_speakers": 0,
"speakers": [
null
]
},
"primary_voice_profile_id": "string",
"use_multi_speaker": false
}
}Errors
401 | Missing, wrong, revoked or expired key. |
403 | The key lacks media.write, the route is not available to keys, or the key's IP allow-list refuses this client. |
402 | Not enough credits, or the key reached its spending cap. |
422 | The request failed validation; `detail` lists the fields. |
429 | Over a rate limit; retry after `Retry-After` seconds. |
All statuses: Errors.
Example
curl -X POST "https://api.voicemint.io/api/v1/characters/" \
-H "Authorization: Bearer $VOICEMINT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"personality": {
"background": {},
"emotions": {},
"traits": [
"string"
]
},
"voice_config": {
"alternate_voices": [
{
"emotions": null,
"modifier": null,
"style_instructions": null,
"voice_profile_id": null
}
],
"character_style_prompt": "string",
"modifiers": {},
"multi_speaker_settings": {
"conversation_style": null,
"enabled": false,
"max_speakers": 2,
"speakers": [
null
]
},
"primary_voice_profile_id": "string",
"use_multi_speaker": false
}
}'