Recipes

Synthesizes speech from text, supporting both voice cloning (Base mode with reference audio) and built-in speakers (CustomVoice mode).

post/v2/consumer/recipes/textToSpeech

Request

  • The document declares no server URL.
  • Auth: none required

Query parameters

experimentalboolean
allowMatureContentboolean
whatifboolean
ephemeralboolean
tier'paid' | 'free'

How a workflow is paid for.

Request body

enginestring nullable required
textstring required
languagestring nullable

Target language (e.g., "English", "Chinese"). Defaults to "Auto".

Response

OK

modelTypestring nullable

Whether the TTS used "base" (voice cloning) or "custom_voice" (built-in speaker) mode.

speakerstring nullable

The speaker name used (set for CustomVoice mode, null for Base mode).

Changes