API & x402

Call Tensora from your own code with a key, or let an agent pay each request with one signature.

API keysKeys spend from your credits. Keep them secret.
Pay per request with x402x402 spec ↗

No account, no API key, no gas. The agent asks for an output, receives a 402 Payment Required with the exact price, signs one USDC authorization on Hyperliquid, and gets the result in the same call.

01

Request

Agent sends POST /v1/outputs with no payment.

02

402 + price

Tensora replies with the price, asset, and payee.

03

Sign once

Agent signs a USDC transfer authorization. No gas.

04

200 + output

Payment settles and the output returns in the same request.

Connect over MCPOne config, then your agent rents GPUs and makes outputs on its own.

Tools your agent gets

list_gpus
Every GPU with VRAM and rate
rent_gpu
Start an instance, auto or by name
stop_instance
Stop one or all instances
make_output
Image, video, voice, or 3D
get_balance
Credits left and today's spend
get_receipt
Signed receipt for any job
Agent budgets

Only the wallet owner can change a cap or flip the kill switch. A stopped agent cannot rent, make outputs, or pay with x402.

Rate limits
EndpointRequests / minConcurrentNotes
POST /v1/outputs12016Video counts as 4 slots
POST /v1/rentals208 GPUsRaise on request
GET /v1/*600—Reads are cheap
x402 (no key)604Per paying address