Generate images from a text prompt, billed per image
Text-to-image across every major image model through one endpoint. Pay per image in USDC, with the exact price quoted before the request runs. No subscription.
What it does
Send a prompt, a model and a size — the same request shape as OpenAI's image endpoint, so an existing client works by changing the base URL. Each model lists the sizes it renders, and the price on the card is the cheapest of them; a larger size on the same model costs what that size lists.
A fast generation comes back in the response; a slow one returns a job to poll. Either way the finished image is mirrored to durable storage and served from a URL that does not expire, so a caller does not have to store bytes it may want to reference later.
The call
One endpoint, priced in dollars before it runs and settled in USDC. No API key and no account — the request pays for itself.
POST /api/v1/images/generations
Host: blockrun.aiWhat it costs
Why per call
No seat, no minimum, no contract per vendor. Each request is quoted in dollars before it runs and settles on-chain, so an agent can pay for its own work without a human holding a credit card. How the payment works →
Related tools
Questions
Which image models can I call?
The full rate card is on this page, priced per image at the cheapest size each model offers, and the catalog carries the rest.
How am I billed?
Per image, at the size you request. The price is quoted in the 402 response before the image is generated.
Can I edit an existing image?
Yes — image-to-image is a separate endpoint with its own page.
Do I need an account?
No. There is no signup and no API key; a request pays for itself in USDC.