Production engines

Synthesise a spoken line as a WAV.

Synthesises a line of English as a 44.1 kHz WAV with the engine's own voice. The voices are synthesised by the engine, never cloned from a recording, and no voice can be uploaded. seed varies the voice; woman, age (0 to 1) and machine shape it; speed (0.5 to 2) sets how fast it speaks (1 is the speaker's own); rate sets the sample rate. Every line comes back at one loudness (level_db, default -16 dBFS of speech, so lines from different voices sit together on a timeline and none clips; level_db false leaves the voice's own level) and with its silence trimmed to a breath either side (trim false keeps the voice's half-second tail). text is at most 1000 characters, and a line that presents itself as spoken by a real, famous person is refused. Costs 1 unit.

post/api/agents/run/voice_speak

Request

  • Base URL: https://tomorrowlives.com
  • URL: https://tomorrowlives.com/api/agents/run/voice_speak
  • Auth: HTTP bearer

Request body

textstring required

The English line to speak, at most 1000 characters. A line that presents itself as spoken by a real, famous person is refused.

seedinteger

A whole number that varies the voice.

womanboolean

True for a woman's voice, false for a man's.

agenumber

How old the voice sounds, 0 (young) to 1 (old).

machineboolean

True to give the voice a machine quality.

speednumber

How fast it speaks, 0.5 to 2; 1 is the speaker's own pace.

trimboolean

False to keep the voice's half-second silent tail; the default trims silence to a breath either side.

rate16000 | 22050 | 44100 | 48000

Sample rate in hertz: 16000, 22050, 44100 or 48000.

Response

The job's result and files

jobstring
verbstring
unitsinteger
msinteger
resultunknown

Changes

No recorded changes to this operation across all 1 revision of this API.