Miragea Voice & Captions
v0.1.0Voiceover, voice cloning and SRT/VTT captions for agents, with exact durations and Remotion scenes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_setup
Check the API key, ffmpeg, saved voices and output folder, with a fix for every problem found.
list_voices
List voices saved in the user's Miragea account (ids to pass as voice_id).
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer |
speak
Turn text of any length into speech in a saved voice (voice_id) or a voice cloned from a public clip (reference_audio_url + its exact words in reference_text, billed at the cheaper 1x rate). Returns the saved file path and its exact duration in seconds. format: mp3, wav, flac, opus, aac. model: 'expressive' (default) or 'standard'. speed: 0.25-4.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
format | string | |
model | string | |
output_path | ||
reference_audio_url | ||
reference_text | ||
speed | ||
voice_id |
transcribe
Transcribe a local audio or video file into readable SRT and VTT captions (whole words, line-length and timing rules applied). style: 'standard' (2 lines x 42 chars) or 'shorts' (1-3 words, uppercase). Results are cached, so asking again for the same file is free.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
output_dir | ||
style | string |
narrate_scenes
Voice a list of scenes (strings or {id, text}) as one audio file per scene and return each scene's exact seconds, durationInFrames and startFrame at the given fps, plus a narration.json manifest. captions=true also writes word-level captions.json in Remotion's Caption format. Unchanged scenes are cached and cost nothing on re-runs.
| Parameter | Type | Description |
|---|---|---|
scenes * | array | |
captions | boolean | |
fps | integer | |
model | string | |
output_dir | ||
reference_audio_url | ||
reference_text | ||
voice_id |