Whisper Example
Run a Whisper transcription job on a CRT that reads audio from /input, writes text to /output, and records both in its manifest.
This job transcribes every audio file in /input into a text file in /output. The manifest it
produces records every input and output, so the Lineage Explorer can show exactly which files went
in and which came out.
This example builds on the Quick Start. It assumes a deployed CRT and an operator certificate that works with the interface you choose.
Folders
The runtime mounts three folders into every container:
| Folder | Scope | Holds |
|---|---|---|
/input | Shared by every job | Files you upload before starting a job |
/output | Unique to each job | What the job writes |
/proof | Unique to each job | The signed manifest and attestation artifacts |
/input is shared because it has to exist before a job starts; /output and /proof are
created for each run under its project_id.
Compose file
This compose file uses the OpenAI Whisper container and replaces its entrypoint with a shell loop.
$$ escapes $, so Compose passes it to the shell instead of interpolating it.
services:
whisper:
image: onerahmet/openai-whisper-asr-webservice:latest
container_name: whisper_transcriber
environment:
- ASR_MODEL=base # or tiny / small / medium etc.
- ASR_ENGINE=openai_whisper
entrypoint: ["/bin/sh", "-c"]
command:
- >
for f in /input/*; do
if [ -f "$$f" ]; then
echo "Transcribing $$f...";
whisper --model "$$ASR_MODEL" "$$f" \
--output_dir /output \
--output_format txt;
fi;
doneRun it
You need an audio file to transcribe. If you don’t have one, use a file from this sample dataset.
-
In the web console, select Files and upload the audio file under Input files.
-
Select Launch, paste the compose file above into the editor, and select Start job.
-
Select Go to Monitor in the Project started dialog, then Logs, and turn on Live to follow progress. The job stops by itself once every file is transcribed.

-
Select Files, choose Output under Results to download the transcripts, then select Monitor → Manifest and Download to save
eqty_manifest.json.
These steps use vcomp-crt-api-cli, installed and configured with the
command line tools.
-
Upload the audio file to
/input. The command line has no upload command, so call the API withcurland your operator certificate:shcurl -k --cert operator1.crt --key operator1.key \ -F "file=@sample.wav" \ https://{{VM_IP}}:447/files/inputYou can also upload it through the file browser, into its
inputfolder. -
Save the compose file above as
docker-compose-whisper.ymland start the job. The command returns once the image is pulled and the container has started; the Whisper image is over 2 GB, so the first run takes a few minutes. Make a note of theproject_idit prints:shvcomp-crt-api-cli start docker-compose-whisper.yml -
Follow progress with
vcomp-crt-api-cli status log. The job stops by itself once every file is transcribed;vcomp-crt-api-cli status psthen shows an empty table. -
List the transcripts and download the manifest:
shcurl -k --cert operator1.crt --key operator1.key \ https://{{VM_IP}}:447/files/{{PROJECT_ID}}/output curl -k --cert operator1.crt --key operator1.key \ -X POST -o eqty_manifest.json \ https://{{VM_IP}}:447/manifest
Upload the manifest to the Lineage Explorer and use its dataset view to inspect the individual input and output files.
