{"uid":"cap_u0l9gFjfCEOlrTiUWO7yN","slug":"flux-1-dev-text-to-image-paysponge-x402-ddf0cb6d","name":"FLUX.1 Dev Text-to-Image (PaySponge x402)","description":"POST /fal-ai/flux/dev","url":"https://fal.x402.paysponge.com/fal-ai/flux/dev?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"seed":{"type":"integer"},"prompt":{"type":"string","description":"Text prompt describing the desired output. Be concrete: name the subject, style, composition, and any key attributes. Longer prompts (50–200 words) typically produce more faithful results."},"sync_mode":{"type":"boolean"},"image_size":{"oneOf":[{"enum":["square_hd","square","portrait_4_3","portrait_16_9","landscape_4_3","landscape_16_9"],"type":"string"},{"type":"object","properties":{"width":{"type":"integer","description":"Width in pixels."},"height":{"type":"integer","description":"Height in pixels."}},"additionalProperties":false}]},"num_images":{"type":"integer"},"acceleration":{"enum":["none","regular","high"],"type":"string"},"output_format":{"enum":["jpeg","png"],"type":"string"},"guidance_scale":{"type":"number"},"num_inference_steps":{"type":"integer","description":"Number of inference steps. Default 28."},"enable_safety_checker":{"type":"boolean"}},"additionalProperties":false},"responseSchema":{"type":"object","required":["request_id","response_url","status_url","cancel_url","queue_position"],"properties":{"cancel_url":{"type":"string","format":"uri"},"request_id":{"type":"string"},"status_url":{"type":"string","format":"uri"},"response_url":{"type":"string","format":"uri"},"queue_position":{"type":"integer"}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T2bidMKmNundT8wjx78pJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Submits a FLUX.1 Dev text-to-image generation job to fal.ai via the PaySponge x402 payment wrapper, returning a queued job handle.","exampleAgentPrompt":"Generate an image of a lone astronaut standing on a red Martian desert at sunset, dramatic cinematic lighting, wide-angle shot, photorealistic style — use landscape 16:9 format, PNG output, and 40 inference steps.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a request_id, a response_url to retrieve the finished image once complete, a status_url to poll for job progress, a cancel_url to abort the job, and the current queue_position. The agent must poll status_url or fetch response_url after the job completes to get the actual image.","failureModes":["Payment failure: x402 payment not accepted, returning 402 if USDC balance is insufficient","Invalid prompt: empty or missing prompt field returns 422 validation error","Invalid image_size: unsupported enum value or negative pixel dimensions returns 400","Queue timeout: job sits in queue too long and expires without completing","Safety checker rejection: prompt or generated image flagged and rejected when enable_safety_checker is true","Invalid acceleration value: enum value outside none/regular/high returns 400","Rate limiting: too many concurrent submissions returning 429"],"whenToPreferThis":"Choose FLUX.1 Dev when you need high-quality, artistically capable image generation with more inference steps and richer detail than the faster Schnell variant, but at a lower cost than FLUX Pro 1.1. Prefer this when prompt fidelity and image quality matter more than raw speed, and when you're comfortable polling for results asynchronously via the returned status URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T21:29:31.762Z","isFirstParty":false,"canonicalSlug":"flux-1-dev-text-to-image-paysponge-x402-ddf0cb6d"}