1

Get Your Free API Key

Sign up for free and get $5 credit to start. 无需绑定信Usage卡即可试Usage.

Get Free API Key →
2

Install the SDK

Terminal
# Install Celuxe SDK
pip install celuxe
Terminal
# Install Celuxe SDK
npm install celuxe
No installation required
# Just use cURL directly
3

Make Your First API Call

python
from celuxe import Celuxe

client = Celuxe(api_key="sk-your-api-key")

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)
javascript
import { Celuxe } from 'celuxe';

const client = new Celuxe({ apiKey: "sk-your-api-key" });

const response = await client.chat.completions.create({
  model: "gpt-4o",
  messages: [{ role: "user", content: "Hello!" }]
});

console.log(response.choices[0].message.content);
bash
curl https://api.celuxe.shop/v1/chat/completions \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Ready to Start?

Get your free API key and start building in minutes

Get Free API Key →