POST
/
api
/
v1
/
client
/
prompt
/
speech
Speech Prompt Booster
curl --request POST \
  --url https://api.modelbeam.srv1069417.hstgr.cloud/api/v1/client/prompt/speech \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "lang_code": "<string>"
}
'
{
  "prompt": "Enhanced text optimized for natural speech synthesis"
}

Authorizations

Authorization
string
header
required

API key obtained from the ModelBeam dashboard

Body

application/json
prompt
string
required

Text to enhance for speech

Minimum string length: 3
lang_code
string

Language code

Response

Prompt enhanced

prompt
string
Example:

"Enhanced text optimized for natural speech synthesis"