Import transcript
import_transcriptImports an SRT or WebVTT file as a project's transcript instead of transcribing, then re-cleans the text and selects clips for done or failed projects.
Instructions
Use an SRT or WebVTT file as the project's transcript instead of transcribing: right after create_project (only the video is fetched) or on a done or failed project (it then re-cleans the transcript and picks clips again; accepted and rejected fixes, cuts and corrections on the old transcript are lost for good). Give exactly one of text, uploadId or url. Returns { format, cues, words, warnings, message }; follow with wait_for_project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Project id (from list_projects, search_clips or create_project) | |
| url | No | http(s) link to a public .srt/.vtt file | |
| text | No | The contents of the .srt or .vtt file | |
| format | No | auto (default) decides from the WEBVTT header | auto |
| language | No | Language code of the text, e.g. en, es, ja (default: the existing transcript's, else unknown) | |
| uploadId | No | Upload id of an .srt/.vtt file sent to POST /api/upload |