---
title: "Create Video Add Subtitles Task"
method: POST
path: "/api/replicate/v1/video/subtitles/task"
tags: ["创建视频增加字幕任务"]
---

# Create Video Add Subtitles Task

`POST /api/replicate/v1/video/subtitles/task`

## Query parameters

- `app_id` string, required

## Request body

- RoutersReplicateVideoAddSubtitlesV1VideoAddSubtitlesItem
  - `video` string, required — Video file
  - `language` string — Language spoken in the audio, specify 'None' to perform language detection.
  - `timestamp` string — 默认为chunk,chunk或word
  - `sub_style` string — json file
  - `batch_size` integer — Number of parallel batches you want to compute. Reduce if you face OOMs.
  - `task` string — 转录或翻译:transcribe(转录),translate(翻译)
  - `platform` string — 功能类型

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/videofaceswap/apis/fastapi.md) · [All operations](https://skmtc.dev/videofaceswap/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/videofaceswap/fastapi/revisions/76b11ccab8af/schema)
