文字入力によるAI動画吹き替え、音声生成と同期API対応
Request
Body Params application/json
{
"prompt": "People applauded and cheered.",
"negative_prompt": "",
"num_steps": 25,
"duration": 8,
"cfg_strength": 4.5
}
Request Code Samples
curl --location --request POST 'https://api.302.ai/302/submit/mmaudio-t2a' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "People applauded and cheered.",
"negative_prompt": "",
"num_steps": 25,
"duration": 8,
"cfg_strength": 4.5
}'
Responses
application/json {
"audio": {
"url": "https://file.302.ai/gpt/imgs/20260119/d81acf21d5cfde9fc91782f8ed41b7d3.mp3",
"content_type": "application/octet-stream",
"file_size": 64592
}
}
Modified at 2026-01-19 06:17:47