Preview a voice

Speaks your text in the voice, under the same rules as a spoken greeting, and answers the audio as the body (audio/wav). Nothing is created. The same text, voice and Style asked again within a day answers the same audio at once, so a greeting saved right after its preview is usually not spoken again.

Notes:

  • It acts in an account, which keeps the audio: a person who belongs to several organizations sends Account-Id.
  • Every answer carries X-Request-Id and Cache-Control: private, no-store.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The voice's id, from GET /tts_voices.

Body Params
string
required
length between 1 and 1000

What to say, 1 to 1,000 characters; <short pause> and <breath> may be used.

string | null

How to say it, up to 500 characters. Left out or empty: the first of GET /tts_voices' meta.style_presets for the voice's language.

Headers
uuid

Send Account-Id when your credentials reach more than one account (GET /me lists them in accounts). An API key acts in its own account, and a person in one organization in theirs: neither needs it. A person in several organizations must name it on every write (400 account_required); their reads without it use their home account. Credentials with no home account in GET /me need it on every request but GET /me. An account your credentials can't act in: 403 forbidden. Empty, not an account id, or sent twice: 400 parameter_invalid. Each names Account-Id in param.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
audio/wav
application/json