Voice AI Beta — Max
Create Task from SRT
Changed onDub 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
post/v1/tts/max/srt
Request
- Base URLhttps://genaipro.io/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"srt_content": "1\n00:00:00,000 --> 00:00:02,500\nHello there.\n\n2\n00:00:03,000 --> 00:00:05,000\n{happy}Welcome back!{/happy}\n"
}Response
Task created
Example response
{
"status": "completed",
"provider": "lyra"
}Changes
- info
endpoint added
- info