Loomal

Monetize a transcription API for agents

Charge agents per minute of audio in USDC. Audio in, text out, billed by duration and settled before the GPU spins up.

Transcription is GPU time you pay for by the second. An agent processing a meeting recording, a podcast, or a voicemail wants the text now and wants to pay for the minutes it actually sends, not negotiate a plan sized for someone else's volume.

Loomal lets your speech-to-text endpoint charge by audio duration in USDC over x402. The agent uploads the clip, pays per minute, and gets back a transcript. Your GPU cost is covered before the job runs.

Bill by the minute, not by the month

Per-minute pricing maps directly onto your cost: a thirty-second clip is cheap, a two-hour recording is not, and the agent pays in proportion to the audio it submitted. No idle seats, no minimum spend.

You can layer in options. Speaker diarization, word-level timestamps, and translation can each add to the per-minute rate, so callers pay for the depth they ask for.

Settle on duration before the model runs

Read the audio length from the upload, quote a price per minute, and wrap the handler with requirePayment. The agent pays the quoted USDC amount, Loomal settles on Base, and only then does your transcription model start.

route.ts
import { requirePayment } from "@loomal/sdk";

export const POST = requirePayment(
  (req) => ({ price: `$${(req.body.minutes * 0.01).toFixed(3)}` }),
  async (req) => {
    const { audioUrl } = await req.json();
    return Response.json({ transcript: await transcribe(audioUrl) });
  },
);

Show up where agents look for speech-to-text

Your transcription service lists in the Loomal marketplace and the x402 discovery feed, with supported formats and languages in the listing. An agent with audio to process finds you, reads the per-minute price, and pays without onboarding.

Revenue settles in USDC on Base to a non-custodial wallet, with a signed receipt per job so every minute you billed is auditable.

FAQ

How is the per-minute price calculated?

You compute it from the audio duration in your handler and Loomal quotes that amount, so callers pay for exactly the length they sent.

Can I charge extra for diarization or timestamps?

Yes. Add the cost of optional features into the quoted price based on the flags in the request.

Do agents need an account to transcribe?

No. Any x402-capable client pays inline; you issue no keys and manage no plans.

Start selling to agents.

Wrap an endpoint, set a price, get paid in USDC.

Get started