spraay_compute_batch
Submit up to 50 AI compute jobs—text inference, image generation, TTS, STT, embeddings, video—in a single batch. Pay $0.05+ USDC per batch and receive a 10% discount.
Instructions
Batch compute — submit up to 50 jobs in a single x402 payment with 10% discount. Mix any types: text-inference, image-generation, tts, stt, embeddings, video-generation. Costs $0.05+ USDC.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jobs": "<jobs>"
},
"name": "spraay_compute_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | Array of compute jobs (max 50) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |