A decentralized GPU network for inference. Get an API key with your wallet, top up with ETH, and submit jobs to thousands of operator machines. No servers, no GPU bills, no lock-in.
Testnet beta on Base Sepolia · switching from OpenAI is a base-URL change.
# one POST — runs on a real operator GPU curl https://api.swarm.green/v1/images \ -H "Authorization: Bearer $SWARM_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt":"a swarm of golden bees, cinematic","width":1024,"height":1024}'
Connect your wallet and sign one message. We mint an API key bound to your address — no email, no password.
Send ETH to your credits address. It's added 1:1 as compute credit, confirmed on-chain. Spend only what you use.
Call the OpenAI-compatible API. Jobs run on verified operator GPUs; failed jobs are auto-refunded to your balance.
Sign in with your wallet to mint (or load) your key, see your balance, run jobs, and review history.
—
Treat this like a password — anyone with it can spend your credits. Bound to .
| Job | Prompt | Size | Status | Cost | When | Result |
|---|---|---|---|---|---|---|
| No jobs yet — run one in the Playground. | ||||||
Sends ETH to your credits address and adds an equal amount of compute credit (1:1), confirmed on Base Sepolia.
| Amount | When | Transaction |
|---|---|---|
| No deposits yet. | ||
Base URL https://api.swarm.green. Authenticate with Authorization: Bearer <key>.
Submit an image-generation job. Returns a job id; credits are deducted on submit and refunded if it fails.
{ "prompt": "...",
"width": 1024, "height": 1024,
"steps": 4 }Poll a job. When status is verified, url points at the result.
{ "id": "img_...",
"status": "verified",
"url": "/api/jobs/.../result.png" }Your job history + usage summary (Bearer auth).
Credit balance, price per job, and your credits address (Bearer auth).