主题
add_audio_fade
POST /add_audio_fade
口径:本页参数表最后核对于 v23.9(2026-10-27)。v24.0~v24.8 的改动(add_video 的 timeline_start/timeline_end 别名、apply_edl 批内失败计数、resource/search 的 limit 与 count 等价、/agent/route 类型分诊等)以 llms-full.txt 与 GET /agent/capabilities 为准。
接口说明
给音频片段添加淡入、淡出。至少传入一个时长,单位是秒。
请求参数
| 参数 | 必填 | 说明 |
|---|---|---|
draft_id | 是 | 草稿 ID |
segment_id 或 material_id | 是 | 目标音频片段 |
in_duration | 否 | 淡入时长,单位秒 |
out_duration | 否 | 淡出时长,单位秒 |
track_name | 否 | 限定轨道 |
示例
json
{
"draft_id": "dfd_cat_demo_001",
"segment_id": "a1b2c3d4e5f6",
"in_duration": 0.5,
"out_duration": 0.8
}