Skip to content

add_batch_text ​

POST /add_batch_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 为准。

接口说明 ​

批量添加文字片段。items 中每一项使用与 add_text 相同的参数,common 会合并到每一项。

json
{
  "draft_id": "dfd_cat_demo_001",
  "common": {"font_size": 7},
  "items": [
    {"text": "第一条", "start": 0, "end": 2},
    {"text": "第二条", "start": 2, "end": 4}
  ]
}

返回每一项的执行结果和成功数量。

个人自建服务