{"uid":"cap_sdKKVhYhyzhqHH8o0mGea","slug":"spraay-gpu-compute-ai-model-inference-via-replicate-b1417807","name":"Spraay GPU/Compute — AI Model Inference via Replicate","description":"GPU/Compute — run AI model inference via Replicate (image, video, LLM, audio, utility).","url":"https://gateway.spraay.app/api/v1/gpu/run","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object"},"model":{"type":"string"},"version":{"type":"string"},"webhook":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XQMxL6OM03KfO-43FPVCs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs AI model inference (image, video, LLM, audio, utility) on Replicate's platform via the Spraay gateway, billed per call in USDC.","exampleAgentPrompt":"Run the Stable Diffusion XL model on Replicate with the prompt 'a photorealistic mountain landscape at sunrise, 4K' and return the generated image.","exampleUseCases":[{"title":"AI image generation from text prompt","prompt":"Use Replicate to generate an image of 'a cozy Japanese tea house surrounded by cherry blossoms in spring, highly detailed, cinematic lighting' — run the latest Stable Diffusion XL model and give me the output image URL."},{"title":"Open-source LLM text generation","prompt":"Run Meta's Llama 3 model on Replicate with the prompt 'Explain quantum entanglement in simple terms for a 10-year-old' and send me the generated text response."},{"title":"Video generation from reference image","prompt":"Use Replicate's Stable Video Diffusion model to animate this image URL into a short video clip — here's the source image: https://example.com/product-photo.jpg — run it and return the video URL."}],"resultDescription":"Returns the model's inference output, which varies by model type: image URLs for image generation models, text strings for LLMs, audio file URLs for audio models, or video URLs for video generation models. The exact response structure mirrors Replicate's prediction output schema.","failureModes":["Invalid or unknown model name/version returns a 400 or model-not-found error","Malformed input object mismatched to the model's expected schema causes inference failure","Model cold-start may cause timeouts for rarely-used models","Payment failure (insufficient USDC balance) returns a 402 error","Webhook URL unreachable results in notification delivery failure","Replicate upstream outage causes downstream inference failure"],"whenToPreferThis":"Choose this endpoint when you need to run any model hosted on Replicate (image, video, audio, LLM, or utility) and want a simple pay-per-call USDC billing model without managing Replicate API keys or billing accounts directly. Ideal for agents that need GPU inference on demand with crypto-native payment via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T06:34:35.299Z","isFirstParty":false}