Skip to main content
POST
/
api
/
admin
/
runtime
/
tts
/
voices
Create Admin Runtime TTS Voices
curl --request POST \
  --url https://api.example.com/api/admin/runtime/tts/voices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "audio": "File",
  "ref_text": "<string>"
}
'

Authorizations

Authorization
string
header
required

Logto JWT access token

Body

name
string
required
audio
file
default:File
required
ref_text
string

Response

200

Successful response