v1

latestOpenAPI 3.0.32026-07-26451985.7 KB

text-to-audio

Send a text input to generate an audio output

post/models/v2/facebook/musicgen-stereo-small

Request body

textstring required

The input text

Example request

{
  "text": "Moody jazz music with saxophones"
}

Response

Successful text-to-audio 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"
}