🦀 ClawHub
O n e A P I . A l w a y s o n . Aggregate multiple AI providers under the hood. Smart routing auto-switches on failure. You call once — we handle the rest.
by @littleblackone
Use CCAPI unified AI API gateway to access 60+ models (GPT-5.2, Claude, Gemini, DeepSeek, Sora 2, Kling 3.0, Seedance 2.0, Suno, etc.) across text, image, vi...
💡 Examples
Base URL: https://api.ccapi.ai/v1
Auth: Authorization: Bearer
Get your API key at https://ccapi.ai/dashboard
Python (OpenAI SDK)
from openai import OpenAIclient = OpenAI(
api_key="your-ccapi-key",
base_url="https://api.ccapi.ai/v1"
)
Text generation
response = client.chat.completions.create(
model="openai/gpt-5.2",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
Node.js (OpenAI SDK)
import OpenAI from "openai"const client = new OpenAI({
apiKey: "your-ccapi-key",
baseURL: "https://api.ccapi.ai/v1",
})
const response = await client.chat.completions.create({
model: "anthropic/claude-sonnet-4-6",
messages: [{ role: "user", content: "Hello!" }],
})
cURL
curl https://api.ccapi.ai/v1/chat/completions \
-H "Authorization: Bearer your-ccapi-key" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.2",
"messages": [{"role": "user", "content": "Hello!"}]
}'
📋 Tips & Best Practices
provider/model-id format (e.g., openai/gpt-5.2, not gpt-5.2)GET /v1/models to discover available models and current pricingTERMINAL
clawhub install ccapi