Skip to main content
POST
ElevenLabs Voice Design
elevenlabs-voice-design generates candidate voices and previews from a description. Describe language, perceived age, tone and delivery. An optional reference recording can guide the design if you have permission to use it.
  1. Supply voice_description (20–1000 characters). Choose exactly one preview text mode: supply text (100–1000 characters), or set auto_generate_text=true and omit text.
  2. Query the task. On completion, read results[0].text and all of results[0].previews[]. Each candidate contains a preview url and generated_voice_id. Audio is returned as a download URL instead of Base64.
  3. Present all candidates for listening and obtain the user’s explicit choice. Only then send the selected generated_voice_id to Voice Create. Do not automatically save the first candidate or create every candidate.
reference_audio_base64 accepts nonempty bare Base64 only, not a URL or Data URI. Use your own or authorized recordings. Optional prompt_strength ranges from 0–1: 0 favors the reference and 1 favors the description. loudness ranges from -1–1 (default 0.5), guidance_scale from 0–100 (default 5), seed from 0–2147483647, and should_enhance defaults to false. This design model does not support quality; this and other unknown fields are rejected. Candidates preserve actual media_type, duration_secs, language, detected_labels and other metadata, with file_name and file_size added. Fields may be null, and parsers should allow new fields. Candidate voices usually share the same text. Present every returned candidate; their number follows the actual response. Candidates may expire, so create the chosen voice promptly. The base price is USD 0.08 per 1000 Unicode characters in the returned preview text. Count response text once, without multiplying by the number of candidates or rounding to blocks of 1000. Descriptions and controls are free. Automatic text reserves 1000 characters; supplied text reserves its input length. Completion adjusts the reservation using actual returned text and the saved group multiplier. Failures follow the task refund rules. Download preview audio promptly; retention follows file storage policy. generated_voice_id identifies a candidate awaiting creation. Speech synthesis uses the voice_id returned by Create.

Authorizations

Authorization
string
header
required

All endpoints require Bearer authentication.

Add this request header:

Authorization: Bearer YOUR_API_KEY

Body

application/json
model
enum<string>
default:elevenlabs-voice-design
required

Design candidate voices from a description and optional reference recording.

Available options:
elevenlabs-voice-design
Allowed value: "elevenlabs-voice-design"
Example:

"elevenlabs-voice-design"

voice_description
string
required

Describe the voice in 20–1000 characters. Describe language, tone, perceived age and delivery; the description is not billed.

Required string length: 20 - 1000
Example:

"自然、温暖、清晰的成年中文旁白声音,适合长篇讲解。"

text
string | null

Preview text, 100–1000 characters. Supply text or set auto_generate_text=true, exclusively. Actual response text is billed once, without multiplying by candidate count.

Required string length: 100 - 1000
Example:

"欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。欢迎收听今天的分享。"

auto_generate_text
boolean
default:false

Generate preview text automatically. When enabled, omit text. Reserve 1000 characters and settle using the actual returned text.

Example:

true

reference_audio_base64
string | null

Optional reference recording as nonempty bare Base64. URLs and Data URIs are not accepted. Use your own or authorized recordings.

Minimum string length: 1
Example:

"<base64-encoded-audio>"

prompt_strength
number | null

Balance description and reference audio: 0 favors the reference, 1 favors the description. Range: 0–1.

Required range: 0 <= x <= 1
Example:

0.5

loudness
number
default:0.5

Preview loudness, from -1 to 1. Default: 0.5.

Required range: -1 <= x <= 1
Example:

0.5

guidance_scale
number
default:5

How closely generation follows the voice description, from 0 to 100. Default: 5.

Required range: 0 <= x <= 100
Example:

5

seed
integer | null

Random seed, from 0 to 2147483647.

Required range: 0 <= x <= 2147483647
Example:

0

should_enhance
boolean
default:false

Whether to enhance the voice description. Default: false.

Example:

false

Response

Task created

created
integer

Task creation timestamp

Example:

1757165031

id
string

Task ID

Example:

"task-unified-1757165031-uyujaw3d"

model
string

eleven-v4-text-to-speech: speech with a specified existing voice. eleven-v4-text-to-speech-custom-voice: also supports private voices. Both require voice_id and cost $0.00008 per Unicode character without rounding to 1000-character blocks.

object
enum<string>

Task type

Available options:
audio.generation.task
progress
integer

Task progress (0–100)

Required range: 0 <= x <= 100
Example:

0

status
enum<string>

Task status

Available options:
pending,
processing,
completed,
failed
Example:

"pending"

task_info
object

Asynchronous task information

type
enum<string>

Output type

Available options:
audio
Example:

"audio"