
FLUX 3 image generation and editing
Black Forest Labs' latest image model: generate from a prompt or edit with up to 10 reference images, from 768px to 4K.
POST /api/v1/nodes/flux-3-image
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/flux-3-image \
-H 'content-type: application/json' \
-d '{"prompt":"macro photo of a dew-covered road sign","resolution":"1k"}'Input
| Field | Type | Notes |
|---|---|---|
| images | array | Reference or source image URLs (https), optional |
| prompt* | string | What to create or change |
| resolution | enum | Sets the price. Default 1k (768sq, 1k, 1.5k, 2k, 4k) |
| aspect_ratio | enum | Aspect ratio, default auto (auto, 21:9, 2:1, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16) |
| output_format | enum | (webp, jpg, png) |
Example response
{
"images": [
"https://tollnode.com/api/v1/files/00000000-0000-0000-0000-000000000000/0"
]
}FAQ
- What does the FLUX 3 image generation and editing node return?
- Black Forest Labs' latest image model: generate from a prompt or edit with up to 10 reference images, from 768px to 4K.
- How much does one call cost?
- from $0.029 in USDC on Base, per successful call, depending on resolution (1k: $0.034, 2k: $0.069, 4k: $0.411, 1.5k: $0.049, 768sq: $0.029). 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.