cURL
curl \
--request POST \
--url "https://api.breeze.blue/v1/text-to-speech/enhance" \
--header "xi-api-key: $BREEZE_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"instruction": "Make it warmer and more cinematic.",
"language_code": "en"
}'import os
from breeze_blue import BreezeBlue
client = BreezeBlue(api_key=os.environ["BREEZE_API_KEY"])
enhanced = client.text_to_speech.enhance(
instruction="Make it warmer and more cinematic.",
language_code="en",
)
print(enhanced["instruction"])import { BreezeBlueClient } from "@breeze.blue/sdk";
const client = new BreezeBlueClient({
apiKey: process.env.BREEZE_API_KEY!,
});
const enhanced = await client.textToSpeech.enhance({
instruction: "Make it warmer and more cinematic.",
languageCode: "en",
});
console.log(enhanced.instruction);{
"instruction": "<string>",
"language_code": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}Text to Speech
Enhance text to speech instruction
Enhance a user-provided TTS instruction into clearer model guidance without changing the script or translating the instruction.
POST
/
v1
/
text-to-speech
/
enhance
cURL
curl \
--request POST \
--url "https://api.breeze.blue/v1/text-to-speech/enhance" \
--header "xi-api-key: $BREEZE_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"instruction": "Make it warmer and more cinematic.",
"language_code": "en"
}'import os
from breeze_blue import BreezeBlue
client = BreezeBlue(api_key=os.environ["BREEZE_API_KEY"])
enhanced = client.text_to_speech.enhance(
instruction="Make it warmer and more cinematic.",
language_code="en",
)
print(enhanced["instruction"])import { BreezeBlueClient } from "@breeze.blue/sdk";
const client = new BreezeBlueClient({
apiKey: process.env.BREEZE_API_KEY!,
});
const enhanced = await client.textToSpeech.enhance({
instruction: "Make it warmer and more cinematic.",
languageCode: "en",
});
console.log(enhanced.instruction);{
"instruction": "<string>",
"language_code": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}Continue building
Write instructions
Choose intent, emotion, and delivery.
Convert text to speech
Generate audio without word timing.
Authorizations
Breeze Developer API key.
Body
application/json
Instruction text to enhance. Required and must be 1000 characters or fewer.
Minimum string length:
1Optional ISO 639-1 two-letter script language code. It does not change the enhanced instruction's language. See supported language codes.
Required string length:
2Pattern:
^[A-Za-z]{2}$Response
Enhanced instruction.

