POST
/
v1
/
voices
/
{voice_preset_id}
/
publish
curl --request POST \
  --url https://api.bland.ai/v1/voices/{voice_preset_id}/publish \
  --header 'authorization: <authorization>'
{
    "message": "Successfully published voice preset. New id: bae7f70d-5c2a-4368-b8cb-ccc1fb9f6574",
    "voice": {
        "id": "bae7f70d-5c2a-4368-b8cb-ccc1fb9f6574",
        "voice_name": "Fast Matt",
        "description": "Matt but twice as fast",
        "reduce_latency": true,
        "interruption_threshold": null,
        "language": "ENG",
        "voice_settings": "{\"speed\":2}",
        "editable": false,
        "public": true,
        "created_at": "2024-01-08T20:59:46.64758+00:00"
    }
}

Headers

authorization
string
required

Your API key for authentication.

Path Parameters

voice_preset_id
string
required

The unique identifier for the voice preset to be published.

Response

message
string

Confirmation message indicating the successful publication of the voice preset.

voice
object

Contains detailed information about the published voice preset.

  • id - The unique identifier for the new, published voice preset.
  • voice_name - Name of the published voice preset.
  • description - Description of the published voice preset.
  • reduce_latency - Whether or not the published preset is optimized for low latency.
  • interruption_threshold - The interruption threshold setting of the published preset.
  • language - The language code of the published preset.
  • voice_settings - The voice settings of the published preset.
  • editable - Indicates that the preset is no longer editable post-publishing.
  • public - Indicates that the preset is now publicly available.
  • created_at - The date and time when the preset was published.