# Set your Celuxe API keyexport CELUXE_KEY="sk-celu-xxxxxxxxxxxx"# Chat Completions โ GPT-4o
curl https://api.celuxe.shop/v1/chat/completions \\
-H"Authorization: Bearer $CELUXE_KEY" \\
-H"Content-Type: application/json" \\
-d'{
"model": "gpt-4o",
"messages": [{"role": "user", "content": "What is Celuxe?"}],
"temperature": 0.7,
"max_tokens": 256
}'# Switch model โ just change the model name
curl https://api.celuxe.shop/v1/chat/completions \\
-H"Authorization: Bearer $CELUXE_KEY" \\
-H"Content-Type: application/json" \\
-d'{"model": "deepseek-v3", "messages": [{"role": "user", "content": "Hello!"}]}'# Embeddings
curl https://api.celuxe.shop/v1/embeddings \\
-H"Authorization: Bearer $CELUXE_KEY" \\
-H"Content-Type: application/json" \\
-d'{"model": "deepseek-embed", "input": "Hello, world!"}'
โก Why use Celuxe SDKs?
๐
OpenAI Drop-in
Already use OpenAI SDK? One line change.
๐
Full Streaming
Native SSE streaming in every language.
๐
30+ Models
One API key, any model you need.
๐ฐ
Cost Effective
Better pricing than going direct.
โก
<200ms Latency
Global edge network, fast everywhere.
๐ง
Auto Retry
Built-in retry with backoff on failure.
๐ก
No Celuxe SDK needed. Celuxe is built on the OpenAI API protocol โ the world's most widely adopted AI API standard. Any SDK, tool, or code that works with OpenAI works with Celuxe. Just set base_url="https://api.celuxe.shop/v1" and you're done.