Stream Speech

Generate speech and stream the WAV audio directly without saving to disk.

post/generate/stream

Request

  • Base URL: https://api.voicelabs.now (the document declares no server; this is the origin it was published from)
  • URL: https://api.voicelabs.now/generate/stream
  • Auth: none declared

Request body

profile_idstring required
textstring required
languagestring
seedinteger nullable

Pins the RNG so a take is reproducible. Omit to inherit the voice profile's default_seed. Accepted by every engine, but only CHANGES the output of engines whose ModelConfig sets seed_changes_output — which is every engine we ship today, measured against the running weights, so a pinned seed is genuinely reproducible and a different one genuinely re-rolls the take.

temperaturenumber nullable

Sampling temperature. Omit to inherit the voice profile's default_temperature, then the engine's own default. Only engines whose ModelConfig sets supports_temperature (chatterbox, chatterbox_turbo) accept one; asking any other engine for a temperature is a 400 rather than a silently dropped value. The accepted temperature is stored on the generation row, so retry, regenerate and chunk re-roll re-run at the same setting.

model_sizestring nullable
instructstring nullable
enginestring nullable
personalityboolean

When true and the profile has a personality prompt, the input text is rewritten in-character before TTS.

max_chunk_charsinteger

Max characters per chunk for long text splitting

crossfade_msinteger

Crossfade duration in ms between chunks (0 for hard cut)

normalizeboolean

Normalize output audio volume

speednumber

Speaking rate multiplier. Only engines whose ModelConfig sets supports_speed (kokoro, luxtts) honor it; asking any other engine for a non-default rate is a 400. The accepted rate is stored on the generation row, so retry and regenerate re-run at the same pace.

Response

Successful Response

unknown required

Changes

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