Build on idle GPUs
Three fixed models, one request per job, the output and a receipt back. Pay from a balance with a capped key, or per job on chain with x402.
Models and prices
| Kind | Model | Output | Price | How it is checked |
|---|---|---|---|---|
| image | Stable Diffusion 1.5 | 512 x 512 PNG | 15 DDIM steps, guidance 7, the seed fixed per job so a second worker can repeat it. | |
| text | Qwen 2.5 0.5B Instruct | up to 512 tokens | Greedy decoding, no sampling: the same prompt gives the same answer on any honest worker. | |
| digit | MNIST 12 | one digit, 0 to 9 | free | A 28 x 28 drawing. The coordinator checks every answer against its own CPU run. |
Read 2026-11-27 13:05 UTC from /api/v1/models. Text answers come from a small language model. They are reproducible, not guaranteed correct.
REST with an API key
Make a key in the app; it spends from your balance up to its own cap. The price is held when the job starts and charged only when it is verified. Send an idempotency key to make retries safe.
curl -X POST https://idlora.fun/api/v1/jobs \
-H "authorization: Bearer idl_..." \
-H "content-type: application/json" \
-H "idempotency-key: order-42" \
-d '{"kind":"image","input":{"prompt":"a red kite over hills"}}'x402 on Solana
No account needed. The first request answers 402 with the price, the treasury, a memo and a secret. Pay that USDC with the memo from any wallet, then repeat with the signature. A job that is not verified is returned to the paying wallet as balance.
curl -i -X POST https://idlora.fun/api/x402/jobs \
-d '{"kind":"text","input":{"prompt":"Summarise GPU idle time in one line."}}'
# HTTP 402: accepts[0].payTo, maxAmountRequired, extra.memo, extra.secret
curl -X POST https://idlora.fun/api/x402/jobs \
-H "x-payment: <base64 of {memo, signature, secret}>"
# then poll /api/x402/jobs/<job id>?secret=<secret> (only the payer has the secret)MCP for agents
The MCP server holds only your API key, whose cap the database enforces. Tools: run_image, run_text, run_digit, get_job, get_balance.
mkdir idlora-mcp && cd idlora-mcp
curl -fsSLO https://idlora.fun/mcp/index.mjs
npm init -y && npm pkg set type=module && npm install @modelcontextprotocol/sdk zod
claude mcp add idlora --env IDLORA_API=https://idlora.fun --env IDLORA_KEY=idl_... -- node index.mjs