{"uid":"cap_PIuU6xWugsbU6RRjaFb-m","slug":"fast-sdxl-text-to-image-via-paysponge-x402-823044d3","name":"Fast SDXL Text-to-Image via PaySponge x402","description":"POST /fal-ai/fast-sdxl","url":"https://fal.x402.paysponge.com/fal-ai/fast-sdxl?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"seed":{"type":"integer"},"loras":{"type":"array","items":{"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"URL or path to LoRA weights."},"force":{"type":"boolean","description":"Force this LoRA or embedding to be used when supported by the model."},"scale":{"type":"number","description":"Scale applied before merging the LoRA with the base model."}},"additionalProperties":false}},"format":{"enum":["jpeg","png"],"type":"string"},"prompt":{"type":"string","description":"Prompt used for generation."},"sync_mode":{"type":"boolean"},"embeddings":{"type":"array","items":{"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"URL or path to the embedding weights."},"tokens":{"type":"array","items":{"type":"string"},"description":"Optional list of trigger tokens."}},"additionalProperties":false}},"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"},"request_id":{"type":"string","description":"Optional caller-supplied identifier echoed by fal."},"expand_prompt":{"type":"boolean"},"guidance_scale":{"type":"number","description":"CFG scale. Default 7.5."},"negative_prompt":{"type":"string"},"num_inference_steps":{"type":"integer"},"enable_safety_checker":{"type":"boolean"},"safety_checker_version":{"enum":["v1","v2"],"type":"string"}},"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_CjhPCti3K89jNLFA6A6jo","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 Fast SDXL text-to-image generation job to fal.ai through the PaySponge x402 payment wrapper, returning a request ID and polling URLs.","exampleAgentPrompt":"Generate an image of a misty mountain range at sunrise with golden light using Fast SDXL — landscape 16:9 format, 30 inference steps, guidance scale 7.5, no people, and give me 1 image as a PNG.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing a request_id string, a response_url to fetch the final generated image(s), a status_url to poll job progress, a cancel_url to abort the job, and an integer queue_position indicating where the job sits in the fal.ai processing queue.","failureModes":["Missing required 'prompt' field returns a validation error","Invalid image_size enum value causes a 400 bad request","Payment failure via x402 protocol returns a 402 Payment Required response","Invalid LoRA path URL causes job failure detectable via status_url","Exceeding fal.ai rate limits returns a 429 Too Many Requests","Job timeout or fal.ai backend error detected when polling status_url returns error state"],"whenToPreferThis":"Prefer this endpoint when you need fast, asynchronous SDXL image generation with support for LoRA customization and custom embeddings, paid per-call via x402 USDC micropayments. Choose Fast SDXL over FLUX variants when you want the classic SDXL architecture, LoRA/embedding support, or when cost per image matters at $0.01 USDC. Use when you need an async queue-based workflow with polling rather than synchronous response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T21:29:28.761Z","isFirstParty":false,"canonicalSlug":"fast-sdxl-text-to-image-via-paysponge-x402-823044d3"}