Voice-over
POSThttps://api.minih3.dev/v1/tools/voice
This call is billed to your account. Price: 每 100 字 $0.01,不足 100 按 100 / $0.01 per started 100 characters
Purpose: turn lines into a voice track, returned as an mp3 URL valid for 24 hours plus its length, ready for the remake workflow's assets (voice_url) or H3 lip sync. Only the 39 preset voices (see the allowed values of the voice parameter below) are offered; cloned voices are not. speed is 0.5–2.0, default 1.0. Billing: by characters (a CJK character counts as one), one unit per started 100 characters, $0.01 per started 100 characters (bill id minih3-tool-voice), at most 2000; a failure or empty audio is not charged. Voices and languages: the 30 en_ voices read English, and also Latin-script text such as Malay; for Chinese use one of the 9 multilingual multi_ voices. Errors (none is charged): a voice outside the list is 400 invalid_voice; a voice that cannot read the language of the text (Chinese on an en_ voice, say) is 400 unsupported_language, so switch to a multi_ voice; text the voice cannot read (only emoji or symbols, say) is 400 invalid_input, so send plain words; text too long for one request is 400 text_too_long, so split it and send the parts separately; a failure of the voice service itself is 502 upstream_failed, so retry.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
text | body | string | yes | The lines, at most 2000 characters |
voice | body | string | yes | One of 39 preset voices: en_ voices are English, multi_ voices are multilingual (Chinese and more); the full table is also in the skill's references/tools.md en_female_amanda_mars_bigttsen_female_anna_mars_bigttsen_female_candice_emo_v2_mars_bigttsen_female_dacey_conversation_wvae_bigttsen_female_daisy_moon_bigttsen_female_emily_mars_bigttsen_female_product_darcie_moon_bigttsen_female_lauren_moon_bigttsen_female_sarah_new_conversation_wvae_bigttsen_female_nadia_tips_emo_v2_mars_bigttsen_female_nara_moon_bigttsen_female_onez_moon_bigttsen_female_emotional_moon_bigttsen_female_sarah_mars_bigttsen_female_skye_emo_v2_mars_bigttsen_male_adam_mars_bigttsen_male_bruce_moon_bigttsen_male_corey_emo_v2_mars_bigttsen_male_dave_moon_bigttsen_male_dryw_mars_bigttsen_male_campaign_jamal_moon_bigttsen_male_glen_emo_v2_mars_bigttsen_male_chris_moon_bigttsen_male_hades_moon_bigttsen_male_jackson_mars_bigttsen_male_michael_moon_bigttsen_male_charlie_conversation_wvae_bigttsen_male_smith_mars_bigttsen_male_sylus_emo_v2_mars_bigttsen_male_jason_conversation_wvae_bigttsmulti_female_maomao_conversation_wvae_bigttsmulti_female_sophie_conversation_wvae_bigttsmulti_female_gaolengyujie_moon_bigttsmulti_female_shuangkuaisisi_moon_bigttsmulti_male_xudong_conversation_wvae_bigttsmulti_male_M100_conversation_wvae_bigttsmulti_male_jingqiangkanye_moon_bigttsmulti_zh_male_youyoujunzi_moon_bigttsmulti_male_wanqudashu_moon_bigtts |
speed | body | number | no | - |
Code samples
curl -X POST "https://api.minih3.dev/v1/tools/voice" \
-H "Authorization: Bearer $MINIH3_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Four things I learned the hard way.",
"voice": "en_male_adam_mars_bigtts"
}'Try it
Kept in this browser tab only (sessionStorage) and sent straight to api.minih3.dev; it never reaches this site.
Enter your key to send.Responses
200
Voice URL
{
"voice_url": "https://…",
"expires_at": "2026-11-04T01:00:00Z",
"seconds": 2.4,
"characters": 35,
"billed_units": 1,
"voice": "en_male_adam_mars_bigtts"
}400
Error
429
Error
502
Error