主题
get_font_types
GET /get_font_types
口径:本页参数表最后核对于 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 为准。
接口说明
查询当前环境可用的字体名称。返回结果可以直接传给 add_text 或 add_subtitle 的 font 参数,避免使用不存在的字体。
请求参数
无。
调用示例
bash
curl -X GET https://your-domain.example/api/get_font_types \
-H "X-API-Key: $VECTCUT_API_KEY"返回格式
json
{
"success": true,
"output": [
{ "name": "CC_Captial" },
{ "name": "CC_Moderno" },
{ "name": "JYruantang" }
],
"error": ""
}当前剪映环境实际返回 335 项,这里展示前 3 项。