POST
/
v1
/
text-to-speech
/
{voice_id}

Headers

x-sup-api-key
string
required

API key for the service

Path Parameters

voice_id
string
required

Query Parameters

output_format
enum<string>
default:
wav

The desired output format of the audio file (wav, mp3). Default is wav.

Available options:
wav,
mp3

Body

application/json
language
enum<string>
default:
ko
required

The language code of the text

Available options:
en,
ko,
ja
text
string
required

The text to convert to speech

Maximum length: 200
model
enum<string>
default:
turbo

The model type to use for the text-to-speech conversion

Available options:
pro,
turbo
voice_settings
object

Response

200 - audio/wav

The response is of type file.