/
/Closed Source Model API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 1mo ago · Updated 1mo ago
  • postAnthropic
  • postCohere
  • postGoogle
  • postMistral
  • postOpenAI
  • postaudio-classification
  • postaudio-text-to-text
  • postautomatic-speech-recognition
  • postchat
  • postdepth-estimation
  • postdocument-question-answering
  • postfeature-extraction
  • postfill-mask
  • postimage-classification
  • postimage-feature-extraction
  • postimage-segmentation
  • postimage-text-to-text
  • postimage-to-text
  • postmask-generation
  • postobject-detection
  • postquestion-answering
  • postsentence-similarity
  • postsummarization
  • posttext-classification
  • posttext-generation
  • posttext-to-audio
  • posttext-to-image
  • posttext-to-speech
  • posttext-to-video
  • posttext2text-generation
  • posttoken-classification
  • posttranslation
  • postunconditional-image-generation
  • postvideo-classification
  • postvideo-text-to-text
  • postvisual-question-answering
  • postzero-shot-classification
  • postzero-shot-image-classification
  • postzero-shot-object-detection
  • getModels
  • getTasks
  • postRun Model
  • postChat Completions
  • postCompletions
  • postResponses

text-to-speech

Convert text into natural-sounding speech for applications like virtual assistants, accessibility features, and content creation

post/models/v2/suno/bark-small

Request body

textstring required

The input text

Example request

{
  "text": "Hello, how are you today?"
}

Response

Successful text-to-speech response.

errorstring nullable required

Null on success; otherwise an error message.

outputstring required

Successful response with the generated audio link

Example response

{
  "output": "https://api.bytez.com/audio/1234567890"
}

Changes