# Dextr (dextr.space) > AI image, video, voice and 3D generation plus a GPU price catalog, paid with credits. A Solana wallet is the account. ## API - Base URL: `https://api.dextr.space/api/v1` - OpenAPI spec: `https://dextr.space/openapi.json` - Auth: `Authorization: Bearer dxk_...` (an API key made on your account page) - 1 credit = $1. Prices are per output and come from `GET /models`. ## Endpoints - `GET /models` — Models you can buy, with `priceCredits` and `unit`. `directOnMacStudio: true` marks models that run on Dextr's own Mac Studio. - `POST /outputs` — Start a generation. Send `Content-Type: application/json` with `{"model": "", "prompt": "..."}` (voice models take `text`). Needs an API key. - `GET /outputs/{id}` — Status of an output and, once ready, a signed download URL. - `GET /gpus` — GPU SKUs with memory and price per hour. - `GET /stats` — `customerOutputs` and `demoOutputs` (Dextr's own demo agents, counted separately), `queueDepth`, `gpusListed`, `gpusAvailable`. ## Wallet sign-in (Sign-In With Solana) - `GET /auth/nonce?wallet=` — Returns `{ nonce, message }`. Sign `message` with the wallet. - `POST /auth/verify` — Send the nonce, message and signature. Sets a session cookie. - `GET /me` — Signed-in wallet and credit balance. - `GET /keys` — Your API keys. `POST /keys` with `{"label": "..."}` makes one; the secret is shown once. ## Example ``` curl -X POST https://api.dextr.space/api/v1/outputs \ -H 'Authorization: Bearer dxk_...' \ -H 'Content-Type: application/json' \ -d '{"model":"z-image-turbo","prompt":"a red chair"}' ```