
Fast text-to-image
Turn a text prompt into one 1-megapixel image in about two seconds. Returns a WebP image URL.
POST /api/v1/nodes/image-flash
Quick setup for humans and agents
- 1. Fund an x402 wallet with a little USDC on Base. AgentCash (above), Coinbase Wallet or any x402 client works. One dollar covers hundreds of calls.
- 2. Call the endpoint. The first response is HTTP 402 with the exact price.
- 3. Your wallet signs and retries. TollNode runs the node and collects the quoted price only if the result is usable.
see the 402 yourself
curl -i -X POST https://tollnode.com/api/v1/nodes/image-flash \
-H 'content-type: application/json' \
-d '{"prompt":"a yellow highway toll booth at dusk, photo"}'Input
| Field | Type | Notes |
|---|---|---|
| prompt* | string | What the image should show |
| aspect_ratio | enum | Optional, default 1:1 (1:1, 16:9, 21:9, 3:2, 2:3, 4:5, 5:4, 3:4, 4:3, 9:16, 9:21) |
Example response
{
"images": [
"https://tollnode.com/api/v1/files/f95beacd-44d5-47d3-a24c-26525bc0bb6c/0"
]
}More real output
Made by this node during our own tests, from the request shown.

“a yellow diamond road sign at night”
FAQ
- What does the Fast text-to-image node return?
- Turn a text prompt into one 1-megapixel image in about two seconds. Returns a WebP image URL.
- How much does one call cost?
- $0.006 in USDC on Base, per successful call. No sign-up, subscription or API key.
- What happens if the call fails?
- You are not charged. TollNode checks your signed payment first, runs the node, and only collects the payment if the result is usable. A failed, empty or timed-out call is never settled, so there is nothing to refund.
- How does an AI agent pay?
- With x402. The first request returns HTTP 402 and the exact price. Any x402 wallet signs the USDC payment and retries automatically. In Claude Code or Cursor, run npx agentcash add https://tollnode.com once.