Transcribe a video
A Revemaker account is required. Media processing uses account credits. Paid subscriptions or additional credits may incur charges.
Read revemaker-rules first. Discover the live tools and schemas at run time.
- Call
revemaker_accountand show the user's plan and available balance. - For a local file, call
revemaker_uploadwith its filename, exact size and MIME type. Usecurl -fsS -X PUT --upload-file "<path>" "<upload_url>", passing all returned upload_headers unchanged. If this host cannot run shell commands, explain that local upload requires a shell-capable host. Never read file contents into the conversation. Pollrevemaker_assetuntil ready. For a public direct video URL, userevemaker_import_videoinstead. For a public YouTube URL it returns the video's existing captions as a transcript asset (source: captions, no speaker labels), whichrevemaker_transcribetakes like any asset. If the import is refused (no captions, private, live, too long or unavailable), ask the user to upload the file. Do not supply cookies or bypass private-source restrictions. - Use
autofor YouTube captions, which keep their original language. For audio or video files, ask for the user's language choice. Prefer automatic detection for mixed-language recordings. - Create one new idempotency key and call
revemaker_transcribewith the ready asset, the language and that key. The call runs at the rate in the tool description. Report the job ID, credits and any perk usage returned by the tool. Reuse that key if the answer is lost; never create a second paid request to recover an existing job. - Poll
revemaker_jobevery 2 seconds, up to 60 seconds. If still running, return the job ID so the user can resume later. If uncertain, preserve the job ID and follow support guidance; do not resubmit. Explain failures as returned by the service. - Once done, call
revemaker_transcript_exportfor TXT, SRT or VTT. TXT can omit timestamps; subtitles always retain cue times. Speaker labels are optional, anonymous identifiers. Original, Simplified and Traditional Chinese writing are export choices; script conversion is not translation or improved recognition. - Download the returned signed URL into a new local file via curl. Keep the data out of the conversation, verify download success, and report the path. Expired links are refreshed by asking for another export, without another transcription call.
Format, label or script changes reuse the existing job and do not transcribe again.
