DocsQuickstart
Quickstart
Quickstart
Get up and running with the DeepAILab API in minutes.
Choose your language
1. Get your API key
First, create an API key in your DeepAILab dashboard. You'll need this key to authenticate your API requests.
Set your API key as an environment variable:
export DEEPAILAB_API_KEY="your-api-key-here"2. Install the SDK
Install the official DeepAILab SDK for your programming language:
Terminal
pip install deepailab3. Make your first API request
Now you're ready to make your first API request. Here's a simple example that generates a response using the Chat Completions API:
Example.python
from deepailab import DeepAILab
client = DeepAILab()
response = client.chat.completions.create(
model="claude-sonnet-4-6", # default starter model, switch to gpt-5.3-codex, gemini-3-flash, or deepailab-sup as needed
messages=[
{"role": "system", "content": "You are a professional coding assistant."},
{"role": "user", "content": "Write a quicksort implementation in Python"}
]
)
print(response.choices[0].message.content)Starter model recommendation:
claude-sonnet-4-6 is a strong default for most workloads. Explore the Models page to find the best fit for your use case.4. Explore more capabilities
You're all set! Here are some things you can do next:
Ready to dive deeper?
Check out the full API reference for detailed information.