---
updatedAt: 2026-02-26T07:54:19.000Z
agentTools:
  projectIndex: https://kollus-vod.readme.io/llms.txt
---

# 자막 생성

자막 텍스트 내용을 직접 입력하여 특정 콘텐츠의 자막을 생성합니다.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Kollus Vod API 3.0",
    "contact": {},
    "version": "3.0.0-KR"
  },
  "servers": [
    {
      "url": "https://c-api-kr.kollus.com/api"
    }
  ],
  "paths": {
    "/media-contents/{upload_file_key}/subtitles": {
      "post": {
        "tags": [
          "자막 관리"
        ],
        "summary": "자막 등록",
        "description": "자막 텍스트 내용을 직접 입력하여 특정 콘텐츠의 자막을 생성합니다.",
        "operationId": "0fb35c0f20e541d880ef6486df7a1b66",
        "parameters": [
          {
            "name": "upload_file_key",
            "in": "path",
            "description": "업로드 파일 키",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "required": [
                  "body",
                  "type",
                  "kind",
                  "name",
                  "language_code"
                ],
                "properties": {
                  "body": {
                    "description": "자막 내용",
                    "type": "string"
                  },
                  "type": {
                    "description": "자막 파일 규격",
                    "type": "string",
                    "enum": [
                      "vtt",
                      "srt"
                    ]
                  },
                  "kind": {
                    "description": "자막 유형 (`main`: 메인 자막, `sub`: 서브 자막)",
                    "type": "string",
                    "enum": [
                      "main",
                      "sub"
                    ]
                  },
                  "name": {
                    "description": "플레이어 자막 목록에 노출할 자막 이름",
                    "type": "string"
                  },
                  "language_code": {
                    "description": "자막 언어 코드",
                    "type": "string",
                    "enum": [
                      "ko",
                      "en",
                      "ja"
                    ]
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ApiVodMediaContentSubtitle"
                    },
                    "status": {
                      "description": "처리 결과 (성공/실패)",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "401": {
            "description": "Unauthenticated"
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Unprocessable entity"
          }
        },
        "security": [
          {
            "kollus_api_access_token": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ApiVodMediaContentSubtitle": {
        "properties": {
          "id": {
            "description": "자막 ID",
            "type": "integer"
          },
          "name": {
            "description": "자막 이름",
            "type": "string"
          },
          "kind": {
            "description": "자막 유형",
            "type": "string"
          },
          "language_code": {
            "description": "자막 언어 코드",
            "type": "string"
          },
          "vtt_url": {
            "description": "VTT 파일 경로",
            "type": "string"
          },
          "srt_url": {
            "description": "SRT 파일 경로",
            "type": "string"
          },
          "position": {
            "description": "자막 노출 순서",
            "type": "integer"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "kollus_api_access_token": {
        "type": "apiKey",
        "description": "Kollus API 접근 토큰",
        "name": "access_token",
        "in": "query"
      }
    }
  }
}
```