Convert a post-production file
convert_fileConvert a subtitle, transcript, caption, EDL, FCPXML, or Premiere .prtranscript file. Pass text file contents in content; pass binary files (.prtranscript) as base64 in content_base64. The filename extension drives format detection. Use target from list_converters to pick the output, or leave it as "auto" to get the default output for the detected format. Returns the converted file content (text formats inline; DOCX/ZIP as base64).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Conversion target id from list_converters, or "auto" for the default output. | |
| content | No | The file content for text formats (SRT, VTT, TXT, EDL, JSON, FCPXML, …). | |
| filename | Yes | Original file name including extension, e.g. "episode1.srt" — drives format detection. | |
| content_base64 | No | Base64-encoded bytes for binary formats (.prtranscript). |