Mint an API Key in Studio
This is the human path. You sign in at Studio, mint a key, then call the same HTTP API agents use. No Privy or wallet essay here. Mint and go.
The flow
Open Studio
Go to pzero.studio and sign in.
- Top up if needed
Add credits in the app so confirmed balance covers a first call. Pending credit is not spendable.
Mint a key
Open Agents or API keys in the app, mint a key, and copy the plaintext once.
- Call the API
Send Authorization: Bearer pzero_… to chat, image, or video. Same endpoints as the agent path.
bash
curl -sS -X POST "https://api.pzero.studio/v1/chat/completions" \
-H "Authorization: Bearer pzero_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"Hello"}],"stream":false}'A 200 means the key works. Session cookies stay in the browser. Inference always uses Bearer.
Building without a browser? Start at Top Up with x402 or Connect via MCP.