All models
Audiov1.0.0
Kokoro (Text to Speech)
Text-to-speech in 46 voices across nine languages
3 inputsAUDIO
The gate is open. Follow me, and stay close.
Output
Fill in the inputs and run the node to see its output here.
Run it from your code
The same node, called by id from any surface. Every tab pins kokoro and passes the ports below. Full guide.
import { BlitClient } from "@blitflow/sdk";
const { runNode } = new BlitClient({ apiKey: process.env.BLITFLOW_TOKEN });
const { outputs } = await runNode("kokoro", {
text: { value: "example" },
voice: { value: "af_bella" },
speed: { value: 1 },
});# Install once, then sign in
npm install -g blitflow
blitflow login
blitflow node kokoro \
-i text="example" \
-i voice="af_bella" \
-i speed=1{
"name": "runs_node",
"arguments": {
"node": "kokoro",
"inputs": {
"text": {
"value": "example"
},
"voice": {
"value": "af_bella"
},
"speed": {
"value": 1
}
}
}
}curl https://studio.blitflow.com/api/v1/runs/node \
-H "Authorization: Bearer $BLITFLOW_TOKEN" \
-H "Content-Type: application/json" \
-d '{"node":"kokoro","inputs":{"text":{"value":"example"},"voice":{"value":"af_bella"},"speed":{"value":1}}}'Schema
Inputs
| text* | TEXT | ||
| voice | TEXT | af_alloy · af_aoede · af_bella · af_jessica · af_kore · af_nicole · af_nova · af_river · af_sarah · af_sky · am_adam · am_echo · am_eric · am_fenrir · am_liam · am_michael · am_onyx · am_puck · bf_alice · bf_emma · bf_isabella · bf_lily · bm_daniel · bm_fable · bm_george · bm_lewis · ff_siwis · hf_alpha · hf_beta · hm_omega · hm_psi · if_sara · im_nicola · jf_alpha · jf_gongitsune · jf_nezumi · jf_tebukuro · jm_kumo · zf_xiaobei · zf_xiaoni · zf_xiaoxiao · zf_xiaoyi · zm_yunjian · zm_yunxi · zm_yunxia · zm_yunyang | af_bella |
| speed | FLOAT | 1 |
Outputs
| audio | AUDIO |