curl --location --request POST 'https://open.capcutapi.top/cut_jianying/add_audio' \
--header 'Authorization: Bearer your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{
"audio_url": "https://lf3-lv-music-tos.faceu.com/obj/tos-cn-ve-2774/oYACBQRCMlWBIrZipvQZhI5LAlUFYii0RwEPh", // 音频文件URL(必填)
"start": 0, // 音频素材的起始截取时间(秒,默认0)
"end": 30, // 音频素材的结束截取时间(秒,可选,默认取完整音频长度)
"draft_id": "your_draft_id", // 草稿ID(可选,用于指定操作的草稿)
"volume": 0.8, // 音量大小(默认1.0)
"target_start": 5, // 音频在时间线上的起始位置(秒,默认0)
"speed": 1.2, // 音频速度(默认1.0,>1加速,<1减速)
"track_name": "audio_background", // 轨道名称(默认"audio_main")
"duration": 20, // 音频素材的总时长(秒)主动设置可以提升请求速度
"effect_type": "回音", // 音效类型
"effect_params": [45], // 音效参数(可选,根据effect_type设置)
"width": 1080, // 视频宽度(默认1080)
"height": 1920 // 视频高度(默认1920)
}'