Text to Speech API allows you to convert text to an audio file using Suno AI Bark model.

Bark is a transformer-based text-to-audio model created by Suno. Bark can generate highly realistic, multilingual speech as well as other audio - including music, background noise and simple sound effects.

API supports generating audio files of extended length (upto 60 min)
Different sample rates, speaker, text and waveform temperature will result in different quality or texture of voice in the output audio file

Make sure to use Fetch Results API after process_id is received

This API supports following use-cases:

  • Want to upload a file < 8MB: Checkout Sunoai Bark - Sample Code Recipe
  • Want to upload a file > 8MB: Checkout File Upload > 8MB Recipe
  • Want to send file url instead of upload: Checkout Sunoai Bark File URL Recipe
Recipes
📁
File Upload > 8MB
Open Recipe
🗣️
Sunoai bark - Sample Code
Open Recipe
🗣️
Sunoai Bark File URL
Open Recipe
Language
Authorization
Bearer
JWT
Click Try It! to start a request and see the response here!