{"uid":"cap_E_snM_Jpx90ADT9hIVUgJ","slug":"agentrxi-fast-text-to-image-sdxl-lightning-bdc3e9eb","name":"AgentRXI Fast Text-to-Image (SDXL Lightning)","description":"Fast, cheap text-to-image with SDXL Lightning: a 1024x1024 image in about 4 seconds for $0.003. Width and height 256-1024, seed, negative prompt. Add store=true (+$0.001) for a share link. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/image/fast?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"seed":{"type":"integer"},"store":{"type":"boolean","description":"Return 7-day share links instead of base64 (+$0.001); automatic above 3 MB"},"width":{"type":"integer"},"format":{"type":"string","description":"binary = raw file bytes (single output)"},"height":{"type":"integer"},"prompt":{"type":"string"},"negative_prompt":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SDcZHdel-f9SaKlM29Htp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a 1024x1024 image from a text prompt using SDXL Lightning in ~4 seconds for $0.003 USDC, with optional persistent share link storage.","exampleAgentPrompt":"Generate an image of a misty mountain lake at sunrise with pine trees reflected in the water — no people — at 1024x1024, and give me a shareable link I can send to someone.","exampleUseCases":[{"title":"Blog post hero image generation","prompt":"Create a 1024x1024 image of a futuristic city skyline at night with neon lights and flying cars — no text or watermarks — and store it so I can share the link in my blog post."},{"title":"Reproducible concept art with seed","prompt":"Generate a 768x1024 portrait of a medieval knight in ornate golden armor standing in a sunlit cathedral, seed 42, negative prompt 'blurry, low quality, deformed', so I can reproduce the exact same image later."},{"title":"Quick product mockup background","prompt":"Make me a clean minimalist white marble texture background at 1024x512 — no objects, just the surface — I need it fast for a product photo mockup."}],"resultDescription":"Returns a generated image either as base64-encoded data or raw binary file bytes (when format=binary). If store=true is set, returns a 7-day shareable URL instead of base64. Images above 3 MB are automatically stored and a share link is returned regardless of the store flag. Resolution is 256–1024 pixels on each axis.","failureModes":["Missing required 'prompt' parameter returns a 400 error","Width or height outside the 256–1024 range may be rejected or clamped","Payment failure or insufficient USDC balance results in a 402 Payment Required response","Prompt content policy violation may result in a rejected generation","Store link may expire after 7 days, breaking downstream references","Network timeout if generation exceeds expected ~4-second window"],"whenToPreferThis":"Choose this endpoint when you need fast (≈4 seconds), inexpensive ($0.003) text-to-image generation using SDXL Lightning at up to 1024×1024 resolution. It is ideal for agents that need to quickly produce images programmatically without managing GPU infrastructure. Prefer this over heavier diffusion APIs when speed and cost are priorities, and when SDXL-quality output is sufficient. The optional store=true flag makes it easy to get a shareable link without additional upload steps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:24.572Z","isFirstParty":false,"canonicalSlug":"agentrxi-fast-text-to-image-sdxl-lightning-bdc3e9eb"}