---
title: "Create Task from SRT"
method: POST
path: "/v1/tts/max/srt"
tags: ["Voice AI Beta — Max"]
---

# Create Task from SRT

`POST /v1/tts/max/srt`

## Request

- Base URL: `https://genaipro.io/api`
- URL: `https://genaipro.io/api/v1/tts/max/srt`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/genaipro/apis/genaipro-api/docs/v1/tts/max/srt/post.ts> (a function with typed inputs; its response is checked against the schema)

Dub an SRT subtitle file: every cue is spoken and placed at its timestamp, producing one audio file. Same voice and control fields as `POST /v1/tts/max`, with `srt_content` instead of `content`. Cost: `⌈characters × 0.7⌉` credits over all cues.

**Limits:** at most 1000 cues and 3 hours; each cue must contain speakable text, at most 4500 billable characters and at most 15 emotion tags. Errors name the offending cue (e.g. `"Cue 12 exceeds 4500 characters for this voice"`).
> **Rate limit:** 10 requests/minute

## Request body

- object
  - `title` string
  - `srt_content` string, required: Full SRT file content
  - `voice_id` string
  - `voice_asset_id` string
  - `tts_model` 'max-hd' | 'max-turbo'
  - `language` string
  - `speed` number
  - `volume` number
  - `pitch` integer
  - `callback_url` string

## Response `200`

Task created

- TtsTaskCreatedWithCost: Create-task acknowledgement
  - `id` string: Task ID (poll via the provider's `GET /{id}`)
  - `status` 'pending' | 'cloning' | 'queued' | 'processing' | 'merging' | 'process_merging' | 'completed' | 'failed': Voice AI Beta task lifecycle: `pending` → `cloning` (clone flow only) → `queued` → `processing` → `merging` → `process_merging` → `completed` | `failed`.
  - `provider` string
  - `total_length` integer: Billable characters (encoder units ≈ UTF-8 bytes)
  - `cost` integer: Credits deducted for this task

## Other responses

- `400`: Invalid SRT, cue limits, voice selection, credit or callback
- `429`: Rate limit exceeded
- `503`: Temporarily unavailable — nothing is charged; retry later

## Changes

- **2026-10-29** `8e065c159192`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/genaipro/apis/genaipro-api/changes/v1/tts/max/srt/post.md)

---

[API](https://skmtc.dev/genaipro/apis/genaipro-api.md) - [All operations](https://skmtc.dev/genaipro/apis/genaipro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/genaipro/apis/genaipro-api/revisions/264ca07ba262?raw)
