Getting Started · cURL

cURL Quickstart

Make XALEN API calls with cURL. No SDK needed — just HTTP requests to the OpenAI-compatible REST API.

1. Install

No installation needed

2. Code

curl https://api.xalen.io/v1/chat/completions \
  -H #A6E3A1;">"Authorization: Bearer xln_test_YOUR_KEY" \
  -H #A6E3A1;">"Content-Type: application/json" \
  -d '{
    #A6E3A1;">"model": "vedika-standard",
    #A6E3A1;">"messages": [{"role": "user", "content": "What is Budhaditya Yoga?"}]
  }'

Related Tutorials

Python Quickstart Getting Started · Python JavaScript Quickstart Getting Started · JavaScript Streaming Responses API Features · Python Function Calling API Features · Python JSON Mode API Features · Python Batch Processing (50% Off) API Features · Python

200+ AI models. One API. Start building in 5 minutes.

Get API Key

Last updated: 2026-05-21