{"uid":"cap_tOZr-OUKHeW_zfAB0Fmqs","slug":"cortex-cloud-text-to-image-generation-3456af52","name":"Cortex Cloud Text-to-Image Generation","description":"Text-to-image generation (fal.ai primary, Replicate fallback; SDXL/Flux). x402-paid, USDC on Base.","url":"https://api.cortexcloud.org/v1/ml/image-generate","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"properties":{"body":{"type":"object","properties":{}}}},"output":{"properties":{"example":{}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YOfWCYi94jPbZsFj7MRdV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts using SDXL or Flux models (fal.ai primary, Replicate fallback), paid per call in USDC via x402.","exampleAgentPrompt":"Generate an image of a futuristic cityscape at sunset with neon lights reflecting off wet streets, photorealistic style using the Flux model.","exampleUseCases":[{"title":"AI-generated blog header image","prompt":"Create an image of a cozy home office with natural lighting, a wooden desk, and a laptop, photorealistic — I need it for a blog post header about remote work."},{"title":"Fantasy concept art for game","prompt":"Generate a piece of concept art showing a dragon perched on a mountain peak at twilight, epic fantasy style with dramatic lighting, for my indie game project."},{"title":"Product lifestyle mockup visual","prompt":"Make a lifestyle image of a minimalist white coffee mug on a marble countertop with soft morning light and a blurred kitchen background — I want to use it for an e-commerce product listing."}],"resultDescription":"Returns a generated image (as a URL or binary data) created from the provided text prompt using SDXL or Flux diffusion models routed through fal.ai or Replicate as a fallback.","failureModes":["Upstream provider (fal.ai or Replicate) unavailable causing generation failure","Payment not processed or insufficient USDC balance resulting in 402 response","Prompt contains disallowed content leading to generation refusal","Timeout if the model takes too long to generate the image","Invalid or missing prompt parameters returning a 400 error"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call text-to-image generation without API keys, using USDC micropayments via x402 on Base. It is ideal for AI agents that need on-demand image generation with no subscription overhead, and benefits from automatic fallback between fal.ai and Replicate for higher reliability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:51:03.848Z","isFirstParty":false}