AIPOSTlive
Image generation (sync)
Generate one image synchronously from a text prompt with fal.ai FLUX schnell over Tempo MPP; returns final image URLs inline.
$0.003
per call
Success
100%
p50 latency
16.34s
p95 latency
18.61s
Calls (30d)
4
Provider contract
- Call path
- /routes/tempo-fal/ai/image-generate
- Method
- POST
- Selected provider
- tempo-faldefault
- Provider price
- $0.003
- Settlement
- Base USDC · x402 · 5% h402 fee
Quickstart
Both commands call the selected provider directly.
cURL
curl -X POST '/routes/tempo-fal/ai/image-generate' \
-H 'content-type: application/json' \
-d '{"prompt":"A minimal flat vector illustration of a network router directing colorful data packets, dark background","num_inference_steps":4}'CLI
h402 call 'ai/image-generate' --provider 'tempo-fal' --method POST --json '{"prompt":"A minimal flat vector illustration of a network router directing colorful data packets, dark background","num_inference_steps":4}'Parameters & live test
pays real USDCFill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.
promptstringrequiredText prompt describing the image.
image_sizestringoptionalOutput image dimensions preset (fal.ai image_size).
e.g.
num_inference_stepsintegeroptional1–12default 4Denoising steps; FLUX schnell is distilled for a handful of steps.
POST/routes/tempo-fal/ai/image-generate
Request body
{
"prompt": "A minimal flat vector illustration of a network router directing colorful data packets, dark background",
"num_inference_steps": 4
}ResponseExample response
{ "data": { "images": [ { "url": "https://v3b.fal.media/files/b/0aa35afc/v_m-F_0l9unxvRZ3xc0eU.jpg", "width": 1024, "height": 768, "content_type": "image/jpeg" } ], "timings": { "inference": 0.13772260397672653 }, "seed": 474807975, "has_nsfw_concepts": [ false ], "prompt": "A minimal flat vector illustration of a network router directing colorful data packets, dark background" }, "h402": { "routeId": "ai/image-generate", "provider": "tempo-fal", "selectedCandidateId": "ai/image-generate/tempo-fal", "routing": "manual", "paidBy": "x402-exact" } }
Providers
Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.
tempo-fal
mpp
100
- Success
- 100%
- p50
- 16.34s
- Calls
- 4
100%
$0.003$0.0030/call
Last successful call: 6d ago· Aggregated by h402 — not the source provider