{"uid":"cap_zOg_iDj-zPS3bHvRjfNCf","slug":"flux-1-schnell-text-to-image-via-paysponge-x402-89e6df3d","name":"FLUX.1 Schnell Text-to-Image via PaySponge x402","description":"POST /fal-ai/flux/schnell","url":"https://fal.x402.paysponge.com/fal-ai/flux/schnell?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 4."},"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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZflV3PDATTV-P7esnkFW9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 Schnell text-to-image generation job to fal.ai via the PaySponge x402 payment wrapper, returning a queued job handle for the lowest-cost FLUX draft images.","exampleAgentPrompt":"Generate a draft image of a misty Japanese forest at dawn with a wooden torii gate in the foreground — square HD format, JPEG output, 4 inference steps, using FLUX Schnell for a quick low-cost result.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a request_id, a response_url to fetch the finished image, a status_url to poll job progress, a cancel_url to abort the job, and a queue_position integer indicating where the job sits in the processing queue.","failureModes":["Payment failure: x402 payment not accepted or insufficient USDC balance — job not submitted","Invalid prompt: empty or missing prompt field returns 400 validation error","Unsupported image_size value: unrecognized enum string or malformed object returns 422","Rate limiting or queue overflow: fal.ai backend may reject or delay requests during high load","Polling timeout: job queued but response_url never becomes available if downstream model fails"],"whenToPreferThis":"Choose this endpoint when you need the fastest, cheapest FLUX image generation and draft quality is acceptable. It is optimal for iteration, concept exploration, and bulk generation where cost matters more than maximum fidelity. Prefer FLUX.1 Dev or FLUX Pro 1.1 when higher quality or prompt adherence is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T21:29:31.763Z","isFirstParty":false,"canonicalSlug":"flux-1-schnell-text-to-image-via-paysponge-x402-89e6df3d"}