Transcribe Audio
transcribe_audioTranscribe speech from audio or video into word-level JSON via ElevenLabs Scribe, requiring explicit upload confirmation and returning a workspace transcript path for captions.
Instructions
Transcribe speech to word-level JSON with a THIRD-PARTY engine (ElevenLabs Scribe), not Adobe: an audio or video file is UPLOADED to ElevenLabs (US-hosted; the picture is uploaded too when the source is a video file) and needs ELEVENLABS_API_KEY; confirm_upload: true is required and nothing is sent without it. Source is one of media_path (an audio or video file; no Premiere call), or a sequence: when its only audible clip is one untouched media file that file is uploaded directly (offset and audible range returned; an .mp4 or .mov is uploaded with its picture), otherwise the active sequence is exported to the workspace first. Without export_preset_path the export uses an audio-only Adobe Media Encoder system preset (WAV, else AAC, MP3 or AIFF, found under the AME install's MediaIO/systempresets and checked to render no video), so only sound is uploaded; export_preset_used names the preset. Only if none is found does it fall back to the H.264 preset, which writes picture and sound, so the picture is uploaded too and a warning says so. The exported file stays in the workspace (named in exported_file_left_in_workspace) unless delete_export_after_upload is true. Writes the engine's raw JSON into approved_workspace_path and returns its path, revision, summary and the offset to give plan_captions. For Adobe's own on-device Speech to Text use prepare_transcript_workflow.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"confirm_upload": "<confirm_upload>",
"approved_workspace_path": "<approved_workspace_path>"
},
"name": "transcribe_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Engine model id. Default scribe_v1. | |
| engine | No | Transcription engine. Only elevenlabs (Scribe) so far. | |
| diarize | No | Label who is speaking. Default true. | |
| language | No | ISO 639-1 or 639-3 language code. Omit to auto-detect. | |
| media_path | No | Source A: absolute path of an audio or video file (.wav .aif .aiff .mp3 .m4a .aac .flac .ogg .opus .mp4 .mov .webm), at most 1 GB. No Premiere call is made. Give exactly one of media_path, sequence_id or use_active_sequence. | |
| output_path | No | Optional absolute .json path for the engine's raw response; must be inside approved_workspace_path and must not exist. Default: '<name>.elevenlabs.json' in the workspace, with ' 2', ' 3' added if the name is taken. | |
| sequence_id | No | Source B: exact sequence ID whose audio to transcribe. Exporting it needs it to be the active sequence (call set_active_sequence first). | |
| num_speakers | No | Number of speakers, if known. | |
| confirm_upload | Yes | Must be true. Records that the user agreed to send this audio or video file to ElevenLabs, a third-party service (US-hosted), for transcription (the picture is uploaded too when the source is a video file). Without it nothing is sent. | |
| media_shortcut | No | Sequence sources only. Default true: when the sequence's only audible clip is one untouched media file (speed 1, not reversed, enabled, default Volume/Channel Volume/Panner only, Volume Level unkeyed at 0 dB), upload that file directly. false forces an export of the sequence mix. | |
| idempotency_key | No | Optional client-chosen key (1-128 chars of A-Z a-z 0-9 . _ : -) for this intended edit. Pass a fresh key per edit and reuse it only when retrying that same edit, for example after a client-side timeout. A repeat with the same tool, key and arguments is not run again: while the first call is running it fails with IDEMPOTENCY_IN_PROGRESS (poll get_last_operations); after it finished it returns the original outcome marked replayed. A definite failure with nothing applied (receipt outcome not_applied) may be retried with the same key. Reusing a key with different arguments fails with IDEMPOTENCY_KEY_REUSED. Scoped to this MCP session (the stdio server process, or the HTTP server process when Streamable HTTP is stateless per request) and held in memory only (200 keys, 1 hour); it does not survive a restart or reconnect. Read-only invocations are never deduplicated. | |
| tag_audio_events | No | Mark laughter, applause and similar as audio events. Default true. | |
| export_preset_path | No | Optional absolute .epr preset for the sequence export (sequence sources that cannot use the shortcut). Default: an audio-only Adobe Media Encoder system preset (WAV, AAC, MP3 or AIFF) when one is installed, so only sound is uploaded; if none is found, Premiere's H.264 preset, which writes picture and sound (a warning says so). | |
| include_media_path | No | Include the source media's absolute path in the result for a sequence clip used directly. Default false: media paths are treated as sensitive. | |
| expected_cep_target | No | Optional reviewed CEP sequence/clip identity and exact tick ranges. Checked before every generated command; UXP refuses this CEP-only guard. | |
| use_active_sequence | No | Source B: transcribe the active sequence instead of naming a sequence_id. | |
| expected_project_path | No | Optional absolute saved-project path. Every generated CEP command refuses before its body when the active project differs or is unsaved. UXP commands refuse this CEP-only guard; local-only tools do not inspect Premiere. Omit to keep existing behavior. | |
| approved_workspace_path | Yes | Absolute existing directory where the transcript JSON (and, for a sequence export, the exported file) is written. | |
| delete_export_after_upload | No | Sequence export only. Default false: the exported file stays in approved_workspace_path and is named in exported_file_left_in_workspace. true: after a successful transcription delete that exported file (only that file, only when it is inside the workspace and this call created it). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. | |
| receipt | No | Versioned common mutation receipt; success never implies rendered verification. | |
| idempotency | No | Present when idempotency_key deduplicated this call: replayed is true when the original outcome was returned instead of running again. |