API Test Interface
CURL Request
curl -X 'POST' \
'https://api.mor.org/api/v1/chat/completions' \
-H 'accept: application/json' \
-H 'Authorization: [YOUR_API_KEY]' \
-H 'Content-Type: application/json' \
-d '{
"model": "default",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Hello, how are you?"
}
],
"stream": false
}'