I Built a French AI Voiceover API That Only Accepts Payment From Robots
Nobody signed up for my API. Nobody generated an API key. Nobody clicked "Subscribe." And that's by design — because the only customers I actually want are AI agents with a wallet and a job to do. Let me back up. The problem: selling API access to AI agents is broken If you've ever tried to monetize a small API, you know the funnel: landing page → sign up → verify email → generate API key → add a…
My AI voiceover API, called voixoff, only accepts payment from machines, not humans. The service is designed to cater to AI agents that require voiceovers or phone greetings, bypassing the traditional API authentication and payment process. Instead of a sign-up, API key, or email verification, users simply pay for each request using USDC on the Base network.
The authentication mechanism uses the HTTP status code 402 Payment Required, repurposed for machine-to-machine transactions. Upon receiving a request, the server responds with a 402 code containing the required payment details. The client then pays the amount and retries the request with proof of payment attached. If the payment is valid, the server serves the audio.
The API is built with simplicity in mind, using Flask, a single process, and a cheap VPS. It's currently free with low prices to attract initial users, with no domain or dashboard. The architecture avoids storing payment methods, limiting the attack surface and simplifying the system.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.