Send a chat completion request to a selected model and character. The request must contain a “messages” array. All advanced options from the base request are also supported. It is designed to be compatible with OpenRouter’s API.
API key for authentication
"Bearer sk-..."
Model identifier with optional character and scenario slugs
"c:kate>m:google/gemini-2.0-flash-001"
[
{
"role": "user",
"content": "Hello, how are you?"
}
]Whether to stream the response
false
Sampling temperature
1
Maximum tokens to generate
1000
Successful completion response