主题
modify_text
POST /modify_text
口径:本页参数表最后核对于 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 为准。
接口说明
修改已有文字片段,包括文字内容、字号、颜色、透明度、字体和基础画面变换。先用 query_timeline 定位文字片段。
json
{
"draft_id": "dfd_cat_demo_001",
"segment_id": "a1b2c3d4e5f6",
"text": "新的标题",
"font_size": 8,
"color": "#FFFFFF"
}也可使用 material_id 定位。返回更新后的片段列表。