Create bilingual interleaved audio
create_bilingual_audioTurn parallel sentences (language A + language B) into one alternating practice track. Each sentence is spoken by the same neural voices used on bilingualmix.com, then stitched A1→B1→A2→B2 with configurable gaps. Returns a 6-hour download URL (WAV) plus a per-sentence timeline in seconds. Use dry_run=true first to preview the pair list and the cost without spending quota. Free tier: 2 runs / 20 min per day (anonymous, per IP), up to 8 pairs. Signing in doubles it; members get 500 min/month.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_bilingual_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Alternative to pairs: one sentence per line for language A. | |
| pairs | No | Sentence pairs. a = first language, b = second language. Leave one side empty to auto-translate (members only). | |
| gap_ms | No | Silence between a and b of the same pair, milliseconds. | |
| lang_a | No | ISO language of side a. | zh |
| lang_b | No | ISO language of side b. | en |
| text_b | No | Optional second column, one sentence per line, same line count as text. | |
| dry_run | No | Preview pairs and estimated cost only. Free, no quota used. | |
| pair_gap_ms | No | Silence between consecutive pairs, milliseconds. |