Prerequisites
- A Deepshi account with credits.
- An API key (you’ll create one below).
curl, or Python / Node.js if you prefer an SDK.
1. Create an API key
- Sign in at deepshi.ai.
- Open the API keys section of your dashboard.
- Click Create key, give it a name, and copy the value.
2. Make your first call
The API is OpenAI-compatible. The base URL ishttps://api.deepshi.ai/v1 and you authenticate with a bearer token.
usage.cost.total_cost field is the exact USD amount this request deducted from your balance. See Credits & billing.
3. Pick a model
Swap themodel field to call any model in the catalog: Deepshi’s own models for highly uncensored responses, or a frontier model from a provider like OpenAI or Anthropic. The catalog covers text, image, video, and music models. See Models for the full list, and fetch the live catalog any time:
Next steps
Stream responses
Render tokens as they’re generated.
Call tools
Let the model call your functions.
Reasoning
Use models that think before they answer.
Generate images
Create images from a text prompt.
Handle errors
Understand status codes and retries.