Documentation
Quick Start
WaheedAI provides a unified API interface compatible with the OpenAI SDK. This means you can change the `baseURL` to point to WaheedAI and user your API key.
Base URL
https://api.waheedai.com/v1
Python Example
from openai import OpenAI
client = OpenAI(
base_url="https://api.waheedai.com/v1",
api_key="sk-waheed-..."
)
completion = client.chat.completions.create(
model="gpt-4-turbo",
messages=[
{"role": "user", "content": "Explain quantum computing in simple terms"}
]
)
print(completion.choices[0].message.content)API Reference
Detailed documentation for all API endpoints including Chat, Image Generation, and Embeddings.
View API Ref →SDKs & Libraries
Official and community maintained libraries for Python, Node.js, Go, and more.
Browse SDKs →