{"uid":"cap_1mo13CstMcDOTCeGLUsZb","slug":"spraay-batch-compute-multi-job-4fd45847","name":"Spraay Batch Compute (Multi-Job)","description":"Batch compute — submit up to 50 jobs in a single x402 payment. 10% batch discount. Mix any compute types: text inference, image generation, TTS, STT, embeddings, video.","url":"https://gateway.spraay.app/api/v1/compute/batch","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"jobs":{"type":"array"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FAbssoHGNuS0qdsjwlOre","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Submit up to 50 mixed AI compute jobs in one request with a 10% batch discount, covering text inference, image generation, TTS, STT, embeddings, and video.","exampleAgentPrompt":"Run these 10 jobs for me in one batch: 5 text completions using gpt-4o for these prompts, 3 image generations from these descriptions, and 2 text-to-speech conversions from these scripts — I want to take advantage of the batch discount.","exampleUseCases":null,"resultDescription":"An array of results corresponding to each submitted job, with outputs matching each compute type — text completions, images, audio files, transcripts, embedding vectors, or video — returned together after all jobs complete.","failureModes":["Exceeding 50 jobs per batch returns a validation error","Invalid or unsupported compute type in a job causes rejection","Payment of $0.05 USDC via x402 fails if wallet is underfunded","Malformed jobs array schema returns a 400 bad request","Individual job failures may return partial results or per-job error objects"],"whenToPreferThis":"Choose this endpoint when you need to run multiple heterogeneous AI compute tasks and want to minimize API round-trips and cost via the 10% batch discount. Ideal when mixing different modalities (text, image, audio, embeddings, video) in a single workflow. Prefer over individual compute endpoints when submitting 2–50 jobs at once.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:54.386Z","isFirstParty":false}