4Z API

speech synthesis TTS

Endpoint: POST https://4zapi.com/ent/v2/audio-tts

Text to speech.

Request body (application/json)

  • text (string, required): Text to be synthesized
  • voice_setting_voice_id (string, required): Voice ID
  • voice_setting_pitch (integer): Pitch
  • voice_setting_speed (number): Speech speed
  • voice_setting_volume (integer): Volume