Here's a simple example to get you started with our chat completion API:
curl -X POST 'https://deepseekapi.org/v1/chat/completions' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "model": "deepseek-v3", "messages": [ {"role": "user", "content": "What can you do?"} ] }'
Choose your preferred programming language: