Get your API key and make your first AI call in 3 simple steps. 无需绑定信Usage卡即可试Usage.
Sign up for free and get $5 credit to start. 无需绑定信Usage卡即可试Usage.
# Install Celuxe SDK
pip install celuxe
# Install Celuxe SDK
npm install celuxe
# Just use cURL directly
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)
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);
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!"}] }'