model=bytedance/seed-audio-1-5-text-to-audio.| Required fields | Optional fields |
|---|---|
prompt | reference_audio_urls or reference_image_url, output_format |
video_url, audio_url or target_language; sending them returns a parameter error (an empty string also counts as sent).422 and no task is created.resultJson with resultUrls: one audio file in the selected output_format. Output links are kept for 14 days; download the files if you need to keep them.failMsg values when a task fails:| Category | failMsg |
|---|---|
| Prompt | The prompt must include the exact words to be spoken, in quotes (for example: A narrator says: "Welcome back."). Prompts with only music or sound effects are not supported. |
| Prompt | The prompt contains too little readable text. Please describe the audio in plain words. |
| Content moderation | Your prompt, input media or the generated audio was flagged by content moderation. Please revise it and try again. |
| Input download | Failed to download the input file. Make sure the URL is publicly accessible and try again. |
| Reference audio | Invalid reference audio. Use MP3 or WAV files of 2-30 seconds each (up to 15 MB each), at most 6 files and 180 seconds in total. |
| Reference image | Invalid reference image. Use one JPEG, PNG, WEBP, BMP, TIFF, GIF, HEIC or HEIF image under 10 MB, 300-6000 px per side, aspect ratio 0.4-2.5. |
| No clear speech | No clear speech was found in the input media. Video Dubbing needs a video with clear Chinese or English speech, and reference audios need a clear voice. Please try another file. |
| File size or length | The input file is too large or too long. Please compress or shorten it and try again. |
| Unreadable file | The input file could not be read. Use a valid MP3/WAV audio, MP4/MOV video or a supported image format and try again. |
| Service busy | The service is busy. Please try again later. |
| Other errors | Internal Error, Please try again later. |
curl --location 'https://api.kie.ai/api/v1/jobs/createTask' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "bytedance/seed-audio-1-5-text-to-audio",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"prompt": "Film scene, about 20 seconds. Only speak the quoted lines.\n[Speakers]\nWoman: young adult female, soft, hesitant.\nMan: man in his 40s, low, slightly hoarse voice.\n[Timeline]\n00:00-00:20 [Background] A quiet apartment at night, steady rain against the window, low volume.\n00:00-00:02 [Sound Effect] Three light knocks on a wooden door, then the door slowly creaks open.\n00:02-00:05 Woman (surprised, hesitant): \"What are you doing here?\"\n00:06-00:10 Man (low, tired, sincere): \"I was afraid you were still waiting for me.\"\n00:10-00:20 [Music] A soft, slow solo piano enters and stays gentle under everything until the end.\n00:12-00:15 Woman (voice trembling slightly): \"Come in. It'\''s cold out there.\"\n00:15-00:17 [Sound Effect] The door closes with a soft click, footsteps on a wooden floor.\n00:17-00:20 [Ending] Rain and piano continue softly, then fade.",
"output_format": "mp3"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "5b0d3c9a7e2f41d68a1c4e7b9f2d6a03"
}
}