VocalStack
v1.0.17Transcribe and translate audio, video and live streams; run live broadcasts in any language.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_transcription Create a transcription
Start transcribing a finished recording, from a public link or a file sent inline; returns a transcriptionId at once, before any text. Use: audio or video that has ended (a file, podcast episode, YouTube video or public post). A stream playing now: start_broadcast. The result: get_transcription with waitS, no polling needed. Arguments: exactly one source: url, or fileBase64 with filename (over 10 MiB: host the file and give url). startS and endS clip both what is transcribed and what is billed. spokenLanguage helps short or noisy audio; speakerLabels is fixed once created, while summary and sh…
| Parameter | Type | Description |
|---|---|---|
endS | number | Transcribe only up to this second (default: the end), at least 0.5 s after startS. |
fileBase64 | string | The whole file in standard base64 (a data: URL prefix and line breaks are accepted), at most 10 MiB decoded; for a larger file give url instead. mp3, m4a, wav, mp4, webm and other common formats; the… |
filename | string | With fileBase64 only: the file's name with its extension, also the default display name. |
idempotencyKey | string | Any unique string of visible ASCII. Retrying with the same key and the same arguments within 24 h returns the first result (with replayed true) and nothing is created or billed twice; the same key wit… |
mimeType | string | With fileBase64 only, optional: the file's media type when known. |
name | string | Display name shown in lists and on the share page. Defaults to the file name or the link. |
shareLink | boolean | Make a public link anyone can open to read the transcript without signing in (shareUrl in the result). Off: it stays private to this account. |
speakerLabels | string | auto labels lines once a second speaker is heard, on labels every line, off none. Recordings under a minute are never labelled. |
spokenLanguage | string | Code of the language spoken, e.g. en, ro, es. Omit to detect it (recordings that switch language are handled too); set it for better accuracy on short or noisy audio. |
startS | number | Transcribe only from this second (default: the start). Only the part transcribed is billed: startS 90 and endS 600 bill 8.5 minutes. |
summary | boolean | Also write a title and summary when it is done, at no extra cost (get_transcription with format summary reads it). Never for recordings under a minute. |
url | string | Public http(s) link to the recording: an audio or video file, a YouTube video, or a public post on Twitch, Facebook, Instagram, Vimeo, Dailymotion, TikTok, X, SoundCloud, Kick, Mixcloud, Bandcamp, Lin… |
get_transcription Read a transcription
Read or export one transcription: its status and text with timestamps and speakers, its title and summary, or the whole transcript as an SRT, WebVTT or Markdown file; as spoken or translated, at once or after waiting for it to finish. Use: after create_transcription (waitS saves polling), or any time during a live transcription for the text so far. An overview: format summary. Subtitles or a document to save: format srt, vtt or markdown. Finding a passage in many transcriptions: search_transcriptions. Behaviour: free. A wait ends as soon as the work does, and sends progress notifications when…
| Parameter | Type | Description |
|---|---|---|
transcriptionId * | string | A transcriptionId from create_transcription, list_transcriptions, search_transcriptions or start_broadcast. |
format | string | text: one string, a line per segment as "[mm:ss] Speaker 1: words", for reading and quoting; segments: timed lines (start, end, text, speakerNumber, speakerName), for exact times; summary: the title a… |
includeWords | boolean | With format segments and no lang: also each word with its start and end second. It makes the answer several times larger, so ask for a narrow page (e.g. limit 50). |
lang | string | Code of a language to read the whole text (or, with format summary, the summary) in, one of about 100 (e.g. es, de, ja): the transcription must be finished (state done, or a stopped live one). The lan… |
limit | integer | Most segments in one call. When more are left the result has nextOffset. |
offset | integer | Index of the first segment to return (0, the start, by default). To page, pass the nextOffset the previous call returned. |
waitS | integer | Seconds to wait for a file or link transcription to finish before answering, 0 to 60 (0, the default: answer at once). Returns as soon as it ends; timedOut true means it is still running, so call agai… |
list_transcriptions List transcriptions
List this account's transcriptions, newest first, a page at a time: files, links and live ones, including those broadcasts recorded. Use: to find a transcriptionId by when it was made or see what exists. Which tool: list_transcriptions browses by date; search_transcriptions finds what was said; get_transcription reads one whose id you have. Broadcasts: list_broadcasts. Behaviour: free. Ordered by creation time, so pages are stable: transcriptions made or deleted while paging never repeat or shift another out of its page. lifecycle archived lists the trash: deleted transcriptions, restorable fo…
| Parameter | Type | Description |
|---|---|---|
cursor | string | Omit for the first page (the newest). For the next page, pass the previous call's nextCursor unchanged, with the same lifecycle. |
lifecycle | string | Which transcriptions: active those in use, archived those in the trash, all both. |
limit | integer | Most transcriptions in one page. |
search_transcriptions Search transcriptions
Find what was said across this account's transcriptions, or in one: the lines with given words or a name (mode words), or the passages that answer a question (mode meaning). Use: words when you know what was said; meaning for a question or topic, in any language. Not for browsing by date (list_transcriptions) or reading a whole transcript (get_transcription with its id). Text around a hit: get_transcription with offset. One transcription's overview: get_transcription with format summary. Arguments: query is phrased differently per mode: a few words or a name for words, a whole question for mea…
| Parameter | Type | Description |
|---|---|---|
query * | string | mode words: words, a phrase or a name that was said. mode meaning: a question or topic in plain words; a full question works better than one keyword. Any language. |
lang | string | mode words only, optional language code: each hit also comes back translated into it, as rendered. It never changes what matches. |
limit | integer | mode words only: most lines to return, best first. There is no next page: narrow the query or set transcriptionId. |
mode | string | words: the lines where these words or a close spelling were said ("presupuesto" also finds "budget"). meaning: the passages closest in meaning, even with none of the words. |
transcriptionId | string | Search only this transcription (a transcriptionId from list_transcriptions or create_transcription). Omit to search the whole account. |
update_transcription Update a transcription
Change a transcription: its name, its public share link, its summary, whether spoken translations use the speakers' own cloned voices, or bring it back from the trash. Use: renaming, sharing or unsharing, asking for a summary later, switching cloned voices, or restoring one deleted by mistake. Only the fields given change; give at least one. Speaker names: update_speaker. Removing it: delete_transcription. Arguments: transcriptionId (required). name 1 to 200 characters. shareLink true makes a public read-only link (or keeps the one it has), false turns every public link off. summary true write…
| Parameter | Type | Description |
|---|---|---|
transcriptionId * | string | A transcriptionId from create_transcription, list_transcriptions, search_transcriptions or start_broadcast. |
clonedVoices | boolean | true: translations of each speaker's own words are read aloud in that speaker's own cloned voice (needs consent true); false: stock voices. |
consent | boolean | Must be true with clonedVoices true: confirms everyone speaking in it agreed to have their voice cloned. Recorded with your account and the time. Not needed to turn cloned voices off. |
name | string | New display name, shown in lists and on the share page; trimmed, 1 to 200 characters. |
restore | boolean | true: bring it back from the trash (after delete_transcription, within the restore window) with everything it had; other fields given apply after. false is not accepted. |
shareLink | boolean | true: make a public link anyone can open to read the transcript without signing in (an existing one is kept; shareUrl in the result). false: every public link of it stops working at once. |
summary | boolean | true: write a title and summary now if it has none (free; the transcription must be finished and at least a minute long). Read it with get_transcription format summary. false is not accepted: a summar… |
delete_transcription Delete a transcription
Move a transcription to the trash, with its recordings, transcript, translations and summary; its share links stop working. Use: to remove one; undo with update_transcription restore true (list_transcriptions with lifecycle archived lists the trash). Saved speakers stay (delete_speaker). A broadcast itself: delete_broadcast. Arguments: transcriptionId only: the transcriptionId field returned by create_transcription, list_transcriptions, search_transcriptions or start_broadcast, a 36-character UUID, upper or lower case. Not a name (look it up with search_transcriptions), a broadcastId or a spea…
| Parameter | Type | Description |
|---|---|---|
transcriptionId * | string | A transcriptionId from list_transcriptions or create_transcription. |
list_speakers List saved speakers
List the speakers this account has saved: people recognised by name in every new transcription. Use: to see who is known, before saving someone (update_speaker with save), or to find a speakerId for update_speaker or delete_speaker. Names inside one transcription come from get_transcription. Behaviour: free; no paging. Returns: speakers, newest first, each with id, name, gender when known, cloned (their voice was cloned, with consent, to read translations of their own words) and, when cloned, voiceReady. None saved: an empty list.
update_speaker Name or save a speaker
Name or save a speaker, with two kinds of target: a person in one transcription (transcriptionId + speaker number: name them instead of "Speaker N", and with save true create a saved speaker so later transcriptions recognise them; this is the create-a-speaker tool, there is no separate one), or a saved speaker (speakerId: rename, switch their cloned voice on or off, everywhere they are recognised). Use: labelling who spoke here; remembering a person across transcriptions (save true); correcting a saved speaker's name or turning their cloned voice on with their consent. Who is saved: list_speak…
| Parameter | Type | Description |
|---|---|---|
clonedVoice | boolean | With speakerId only: true reads translations of this person's own words in their own cloned voice (needs consent true; cloned from their stored sample if not yet), false back to a stock voice (the clo… |
consent | boolean | true only when this person agreed to have their voice cloned: needed with clonedVoice true, and with save it clones them too, from their own speech in this transcription. Recorded with your account an… |
name | string | The name to show instead of "Speaker N", trimmed: up to 80 characters in one transcription (an empty string clears it back to "Speaker N"), 1 to 60 for a saved speaker or with save. Required with tran… |
save | boolean | With transcriptionId and speaker only: true also saves this person to the account's saved speakers, so later transcriptions recognise and name them; their own speech here is the sample. A person alrea… |
speaker | integer | With transcriptionId: the N of "Speaker N" in get_transcription's text, or speakerNumber in its segments; it stays the same after naming. |
speakerId | string | Instead of transcriptionId and speaker: a saved speaker's id (id in list_speakers, or speakerId from update_speaker with save), changed everywhere they are recognised. |
transcriptionId | string | With speaker: the transcription the speaker is in (from create_transcription, list_transcriptions, search_transcriptions or start_broadcast). Leave out with speakerId. |
delete_speaker Delete a saved speaker
Delete a saved speaker for good: their name, fingerprint, stored sample and any cloned voice are erased at once and cannot be restored. Use: the person should no longer be recognised, or asked for their voice to be removed. A name inside one transcription: update_speaker. Arguments: speakerId only: the id field from list_speakers, or the speakerId update_speaker returned with save. A speaker number such as 2 (from "Speaker 2") or a transcriptionId is wrong here; to unname someone in one transcription, use update_speaker with an empty name instead. Example: {speakerId: "0190f0e0-7c1a-7d3e-9b2a-…
| Parameter | Type | Description |
|---|---|---|
speakerId * | string | A saved speaker's id: id in list_speakers, or speakerId from update_speaker with save. |
list_broadcasts List broadcasts
List this account's broadcasts with their status. A broadcast is a public link where listeners follow a live transcription in their own language. Use: to find a broadcastId, or see which are on air right now. For one broadcast's recorded transcriptions and streams, call get_broadcast with its id; for what was said, get_transcription with a transcriptionId (broadcasts' recordings are also in list_transcriptions). Arguments: lifecycle only, and it is optional: active (the default) for broadcasts in use, archived for those in the trash (deleted within the restore window, restorable with update_br…
| Parameter | Type | Description |
|---|---|---|
lifecycle | string | Which broadcasts: active those in use, archived those in the trash, all both. |
get_broadcast Get a broadcast
Get one broadcast in detail: its status, link and settings, the transcriptions it has recorded, and the streams it has used. Use: before a run to check its settings and link, during one to see listeners and the live transcriptionId, after to find what it recorded. All broadcasts: list_broadcasts. The text: get_transcription with a transcriptionId from here. Arguments: broadcastId only: the broadcastId field from list_broadcasts or start_broadcast, a 36-character UUID, upper or lower case. A broadcast in the trash is returned too (archived true, restorable with update_broadcast restore true). N…
| Parameter | Type | Description |
|---|---|---|
broadcastId * | string | The broadcast's id. |
start_broadcast Start a broadcast
Start a broadcast: live transcription and translation of a stream playing now, on a public link listeners open in their own language. Also the tool that creates a broadcast (without a stream: set up ahead, off air). Use: when the event is live now, or beforehand to get the link to share. A recording that has ended, even a past live stream's file: create_transcription. Reading it while it runs: get_transcription. Arguments: streamUrl must be live when called; the same streamUrl on the same broadcast reuses its stream. Without streamUrl (and without broadcastId) it only sets up a new broadcast,…
| Parameter | Type | Description |
|---|---|---|
broadcastId | string | Optional: run it on this existing broadcast (from list_broadcasts), so its listeners' link stays the same. Omit to make a new broadcast with a new link. |
idempotencyKey | string | Any unique string of visible ASCII. Retrying with the same key and the same arguments within 24 h returns the first result (with replayed true) and nothing is started twice; the same key with other ar… |
name | string | Name of a new broadcast, shown to listeners. Defaults to the stream's host. Ignored with broadcastId. |
spokenLanguage | string | Code of the language spoken, e.g. en, es. Omit to detect it. |
spokenTranslations | boolean | Also read each translation aloud, so listeners can hear it in their language as well as read it. Listening stays free. |
streamUrl | string | http(s) address of a stream playing now: a YouTube live, an internet radio station, an HLS (.m3u8) or Icecast stream. Omit it (and broadcastId) to only set up a new broadcast and its link ahead of the… |
update_broadcast Update a broadcast
Change a broadcast: end its live run (onAir false), or its settings: its name, who can listen (public, or private behind a listener code VocalStack makes), the language spoken, and whether translations are read aloud, in stock or the speakers' own cloned voices; or bring it back from the trash. Use: to end the event when it is over (onAir false), or before or between runs to change settings; settings apply from the next start_broadcast, the name and access at once. Only the fields given change; give at least one. Starting a run: start_broadcast; removing the broadcast and its link: delete_broa…
| Parameter | Type | Description |
|---|---|---|
broadcastId * | string | A broadcastId from list_broadcasts or start_broadcast. |
access | string | public: anyone with the link can follow it; private: listeners must enter the broadcast's listener code, which VocalStack makes the first time it goes private and returns once as listenerCode. |
clonedVoices | boolean | With spokenTranslations: true reads each speaker's translated words in that speaker's own cloned voice (needs consent true); false: stock voices. |
consent | boolean | Must be true with clonedVoices true: confirms everyone speaking on it agreed to have their voice cloned. Recorded with your account and the time. Not needed to turn cloned voices off. |
name | string | New name shown to listeners; trimmed, 1 to 120 characters. |
newListenerCode | boolean | true: VocalStack makes a new listener code for a private broadcast and returns it once as listenerCode, signing out every current listener (share the new one with them). The old code stops working at… |
onAir | boolean | false: end the live run now, which stops its billing; the transcript is kept and the link stays for the next start_broadcast. Already off air: nothing changes. true is not accepted: start_broadcast pu… |
restore | boolean | true: bring it back from the trash (after delete_broadcast, within the restore window) with its link, settings and recorded transcriptions; other fields given apply after. false is not accepted. |
spokenLanguage | string | Code of the language spoken (e.g. en, es), or auto to detect it. Applies from the next start_broadcast. |
spokenTranslations | boolean | true: each translation is also read aloud, so listeners can hear it in their language; false: text only. Applies from the next start_broadcast. Listening stays free. |
delete_broadcast Delete a broadcast
Move a broadcast to the trash: its public link and stream addresses stop working for listeners. Use: a broadcast that will not run again. For 30 days update_broadcast with restore true brings it back with the same link (list_broadcasts with lifecycle archived lists the trash); after that the broadcast is erased for good. Ending a live run: update_broadcast with onAir false. Arguments: broadcastId only, from list_broadcasts or start_broadcast, upper or lower case. A transcriptionId is not_found (delete_transcription removes a recording); the short code in the link is invalid_options. Example: {…
| Parameter | Type | Description |
|---|---|---|
broadcastId * | string | A broadcastId from list_broadcasts or start_broadcast, of a broadcast that is not on air. |
get_account Check credit and usage
Check the account's credit and usage: the balance left, the plan, whether a new file or live transcription would start now (and what would refuse it), and this period's limits. Use: before a long or live transcription, after an insufficient_credit or quota_exceeded error, or to tell the user what they have left. Prices per minute are in create_transcription and start_broadcast; adding credit happens at topUpUrl, in a browser. Arguments: none. Behaviour: free and read-only; nothing is cached, each call reads the account as it is at that moment, including a live run still being billed. Calling i…