Skip to main content
POST
/
v1
/
text-to-speech
/
ai-rewrite
cURL
curl \
  --request POST \
  --url "https://api.breeze.blue/v1/text-to-speech/ai-rewrite" \
  --header "xi-api-key: $BREEZE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "instruction": "Make it warmer and more cinematic.",
  "language_code": "en"
}'
{
  "instruction": "<string>",
  "language_code": "<string>"
}

Authorizations

xi-api-key
string
header
required

Breeze Developer API key.

Body

application/json
instruction
string
required

Instruction text to rewrite. Required and must be 1000 characters or fewer.

Minimum string length: 1
language_code
string | null

Optional language hint for the rewritten instruction.

Maximum string length: 16

Response

Rewritten instruction.

instruction
string
required
language_code
string
required