curl --request POST \
--url https://api.zerogpu.ai/zeroclick/v1/audio/transcriptions \
--header 'Content-Type: application/json' \
--header 'zc-signature: <api-key>' \
--data '
{
"file_url": "https://example.com/audio/hello.mp3"
}
'{
"text": "the quick brown fox jumps over the lazy dog."
}Transcriptions (ZeroClick)
Transcribe audio with whisper-tiny, authenticated by a ZeroClick HMAC signature instead of an API key.
curl --request POST \
--url https://api.zerogpu.ai/zeroclick/v1/audio/transcriptions \
--header 'Content-Type: application/json' \
--header 'zc-signature: <api-key>' \
--data '
{
"file_url": "https://example.com/audio/hello.mp3"
}
'{
"text": "the quick brown fox jumps over the lazy dog."
}/v1/audio/transcriptions; the request is JSON, and authentication, authorization, and metering differ. The request is always served by the configured model (whisper-tiny).
- Body — ZeroClick’s pay host forwards JSON only, so send
application/jsonwith the audio as base64 infile(or adata:URL, within ZeroClick’s ~7.5 MB body cap) or as an https URL infile_url(up to 25 MB), plus the usual fields. A JSON body that cannot be converted (bad base64, unreachable URL, neither or both offile/file_url) gets a400or413before any inference and is not billed. - Authentication — no
x-api-key. A buying agent calls ZeroClick’s hosted pay URL; ZeroClick proxies the request and signs the raw request bytes with an HMAC in thezc-signatureheader. A request is authenticated only by a valid signature. - Authorization — a ZeroClick allowance check runs before any billable work. It fails open on a transient ZeroClick outage (the signature has already verified), but never for a missing or invalid signature.
- Metering — billed per audio second. The allowance check asks for a 1-second floor, since the duration is not known until the clip is decoded or generated. On success,
zc-usagereportsmax(1, ceil(x-audio-duration-seconds))audio seconds. Stripe metering is bypassed; ZeroClick is the sole biller.
{
"file_url": "https://example.com/audio/hello.mp3",
"model": "whisper-tiny",
"response_format": "json"
}
Authorizations
HMAC signature minted by ZeroClick over the raw request bytes, of the
form t=<unix-seconds>,kid=<key-id>,v1=<hex-hmac>. Verified by the
@zeroclickai/sellers SDK against the seller's signing secret keyed by
kid. A missing or invalid signature is rejected with 401
invalid_zeroclick_signature; this is never failed open.
Headers
ZeroClick request id, echoed in logs for correlation. Set by ZeroClick when it proxies the request.
"zcreq_1"
Identifier of the buying agent. Used to partition logs/analytics by agent; becomes the synthesized caller identity.
"agt_1"
Body
- Option 1
- Option 2
A transcription request. Exactly one of file (base64) or file_url (https). The other fields behave exactly as on /v1/audio/transcriptions.
The audio, base64-encoded, or as a data: URL (data:audio/mpeg;base64,…). URL-safe base64 is accepted. Limited by ZeroClick's request body cap (about 7.5 MB of JSON, so about 5.6 MB of audio); use file_url for anything larger.
"UklGRiQAAABXQVZFZm10IBAAAAABAAEAQB8AAIA+AAACABAAZGF0YQAAAAA="
An https URL to the audio. Downloaded by ZeroGPU before transcription: https only (also at every redirect, at most 3), 30-second timeout, up to 25 MB.
"https://example.com/audio/hello.mp3"
Name to give the uploaded file. Defaults to the last segment of file_url, or audio.<ext> from the audio's type.
"hello.mp3"
Model identifier. The endpoint serves whisper-tiny.
whisper-tiny "whisper-tiny"
ISO-639-1 code, such as en. Detected automatically when omitted.
"en"
Text to guide spelling and style, such as names or jargon.
4096json and verbose_json return application/json; text, srt, and vtt return text/plain.
json, text, srt, verbose_json, vtt Sampling temperature.
0 <= x <= 1segment (default), word, or both. Requires verbose_json. timestamp_granularities[] is accepted as the key too.
segment, word Response
The transcript, in the requested response_format. Includes the zc-usage header settling actual usage with ZeroClick.
json returns { text }. verbose_json adds task, language, duration, and segments and/or words.
The transcript.

