curl --location 'https://api.kie.ai/api/v1/jobs/createTask' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "google/gemini-3-8-flash-lite-tts",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"temperature": 1,
"speakers": [
{
"speaker_id": "Speaker 1",
"voice_name": "Fola"
},
{
"speaker_id": "Speaker 2",
"voice_name": "Zephyr"
}
],
"dialogue_turns": [
{
"speaker_id": "Speaker 1",
"style": "Speak like a tired night-shift radio host, slow and dry.",
"text": "Hello there. <laugh> That works."
},
{
"speaker_id": "Speaker 2",
"style": "Bright and curious, slightly faster.",
"text": "Wait, did you hear that? <gasp> I think it actually worked."
}
]
}
}'