Provider Notes
Provider Notes
This section contains endpoint-specific behavior, parameters, or usage notes for this API.
curl --location -g --request POST '{{BASE_URL}}/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer sk-Uk' \
--header 'User-Agent: YutoAPI/1.0.0 (https://docs.yutoai.net)' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "{{model}}",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Hello!"
}
]
}'