> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vmeg.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 字幕模板列表

> 网站翻译表单提供的字幕样式。把 `templateId` 传给 `options.subtitle.templateId`；列表第一个是网站默认样式。



## OpenAPI

````yaml /zh/api-reference/app-synced.json get /openapi/v1/app/assets/subtitle-template/list
openapi: 3.1.0
info:
  title: VMEG 开放 API（应用同源版）
  description: >-
    与独立版协议一致，但任务、素材、克隆音色都在你的 VMEG 网站账号里：任务出现在**我的任务**，可在编辑器继续编辑并重新导出。结果通过轮询 `GET
    /openapi/v1/app/tasks/detail` 获取（无
    Webhook）。见[独立版与应用同源版的区别](/zh/guides/app-synced/comparison)。


    文中链接的指南按独立版编写，步骤相同，把路径前缀 `/openapi/v1` 换成 `/openapi/v1/app` 即可。
  version: 1.0.0
servers:
  - url: https://api.vmeg.ai
    description: 生产环境
security:
  - apiKeyAuth: []
tags:
  - name: 媒体翻译
    x-group: 视频与音频翻译配音
    description: >-
      在与 vmeg.ai 相同的链路上翻译配音已上传的视频/音频或 YouTube
      链接。首轮即产出配音成片，任务同时出现在**我的任务**，可继续编辑并重新导出。结果请轮询[查询任务状态](/zh/api-reference/app-synced/tasks/get-task-detail)。
  - name: 声音克隆
    x-group: 声音克隆
    description: 用一段短录音克隆音色。音色保存到网站**我的音色**，返回 `cv_*`，可用于翻译配音任务。
  - name: 任务管理
    x-group: 任务状态与历史
    description: 列出、查看或删除你 VMEG 账号下的视频/音频翻译任务，包括在网站创建的任务。
  - name: 资产 - 素材
    x-group: 上传文件（素材）
    description: 上传并管理网站素材库（**我的资产**）里的文件。完成上传（单文件或分片）后，把 `materialId` 传给 create-async。
  - name: 资产 - 音色
    x-group: 音色（预设与克隆）
    description: 列出系统预设音色（`sv_*`），管理你的克隆音色（`cv_*`，与网站**我的音色**相同）。
paths:
  /openapi/v1/app/assets/subtitle-template/list:
    get:
      tags:
        - 媒体翻译
      summary: 字幕模板列表
      description: >-
        网站翻译表单提供的字幕样式。把 `templateId` 传给
        `options.subtitle.templateId`；列表第一个是网站默认样式。
      operationId: appSubtitleTemplateList
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppSubtitleTemplateListResponse'
components:
  schemas:
    AppSubtitleTemplateListResponse:
      allOf:
        - $ref: '#/components/schemas/OpenApiResponseBase'
        - type: object
          properties:
            data:
              type: object
              properties:
                records:
                  type: array
                  items:
                    $ref: '#/components/schemas/AppSubtitleTemplate'
                  example:
                    - templateId: '10062'
                      name: Inter-Bold-white-outline-shadow
                      thumbnail: ''
                    - templateId: '10047'
                      name: B_False_W_66C4FF_S_0062D2_DS_FFFFFF
                      thumbnail: >-
                        https://d24i1cah63ad4k.cloudfront.net/materials/model/11.png
                    - templateId: '10031'
                      name: B_000000_W_FFFFFF_S_False_DS_False
                      thumbnail: >-
                        https://d24i1cah63ad4k.cloudfront.net/materials/model/1.png
                total:
                  type: integer
                  format: int64
                  example: 12
    OpenApiResponseBase:
      type: object
      properties:
        code:
          type: integer
          example: 200
          description: 业务码；200 表示成功
        message:
          type: string
          example: ''
          description: 当 `code` 非成功时的说明信息
      required:
        - code
    AppSubtitleTemplate:
      type: object
      properties:
        templateId:
          type: string
          description: 字幕模板 ID
          example: '10047'
        name:
          type: string
          description: 模板名称
          example: B_False_W_66C4FF_S_0062D2_DS_FFFFFF
        thumbnail:
          type: string
          description: 预览图 URL（可能为空）
          example: https://d24i1cah63ad4k.cloudfront.net/materials/model/11.png
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      description: >-
        在 **`Authorization`** 请求头中传入 API Key（`Bearer <api_key>`）。见
        [鉴权](/zh/guides/authentication)。

````