Core AI Settings API
All the relevant APIs needed to modify Core AI setting of your Convai Character.
This API is available only on the Professional Plan and above.
Character Model Selection
POST https://api.convai.com/character/update
Update API can be used to change the LLM to be used for Character. Currently following models are supported.
Realtime / Live Models
OpenAI
GPT Realtime 1.5 (beta)
gpt-realtime-1.5
GPT Realtime Mini (beta)
gpt-realtime-mini
Gemini 2.5 Flash Live (beta)
gemini-2.5-flash-live
Gemma 4 31B Fast (beta)
realtime-gemma-4-31b-it
Gemma 4 26B A4B Fast (beta)
realtime-gemma-4-26b-a4b-it
Standard Models
OpenAI
GPT-5.4
gpt-5.4
GPT-5.x (latest)
gpt-5.x
GPT-OSS-120B (beta)
gpt-oss-120b
GPT-5.1 (beta)
gpt-5.1
GPT-4.1
gpt-4.1
GPT-5.4-nano
gpt-5.4-nano
GPT-5.x-nano (latest)
gpt-5.x-nano
GPT-5.4-mini
gpt-5.4-mini
GPT-5.x-mini (latest)
gpt-5.x-mini
GPT-4.1-mini
gpt-4.1-mini
GPT-5.3 Instant
gpt-5.3-instant
GPT-4o
gpt-4o
GPT-4.1-nano
gpt-4.1-nano
GPT-4o-mini
gpt-4o-mini
Anthropic
Claude 4.5 Sonnet (beta)
claude-4-5-sonnet
Claude 4.5 Haiku (beta)
claude-4-5-haiku
Claude Sonnet (latest)
claude-sonnet
Claude Haiku (latest)
claude-haiku
Gemini 3.5 Flash
gemini-3.5-flash
Gemini Flash (latest)
gemini-flash
Gemini 3.1 Flash Lite
gemini-3.1-flash-lite
Gemini Flash Lite (latest)
gemini-flash-lite
Gemini 2.5 Flash
gemini-2.5-flash
Gemini 2.5 Flash Lite
gemini-2.5-flash-lite
Qwen
Qwen3.6 27B (beta)
qwen3.6-27b
Qwen3.6 35B A3B (beta)
qwen3.6-35b-a3b
Llama
Llama 4 Maverick (beta)
llama-4-maverick
Llama 4 Scout (beta)
llama-4-scout
Llama3 70B
llama3-70b
xAI
Grok 4.3
grok-4.3
When calling update API to update Model for your Character, please ensure to pass the Model Code corresponding to the Model from the table above.
Headers
CONVAI-API-KEY*
String
The unique api-key provided for every user. Found under the Key icon when logged into your Convai account.
Request Body
charID
String
Id of your character.
model_group_name
String
Model Code of the Model to which you want to update. See the table above.
Here are some sample codes to demonstrate the request format for the endpoint -->
Temperature Setting
POST https://api.convai.com/character/update
When chatting with AI, the temperature setting is like adjusting how creative or predictable the responses will be. A lower temperature makes the AI stick closer to what it knows for sure (Less Hallucinations), while a higher temperature lets it get more imaginative and potentially surprising (better Role Play).
Headers
CONVAI-API-KEY*
String
The unique api-key provided for every user. Found under the Key icon when logged into your Convai account.
Request Body
charID
String
Id of your character.
temperature
Float
Temperature value. Must be between 0 and 1.
Here are some sample codes to demonstrate the request format for the endpoint -->
Reasoning Level Setting
POST https://api.convai.com/character/update
Controls how much internal reasoning the model performs before answering. More reasoning generally improves multi-step questions and instruction following, at the cost of higher latency and token usage.
Support is per model. Query /character/getSupportedModel to find out which levels a model accepts before setting one — a value the model does not support is rejected.
Headers
CONVAI-API-KEY*
String
The unique api-key provided for every user. Found under the Key icon when logged into your Convai account.
Request Body
charID
String
Id of your character.
reasoning_effort
String
A level the selected model supports, or "auto". Send an empty string to clear the setting.
Values
(not set)
The character inherits whatever the model is configured with. This is the state of every character that has never had a level set.
"auto"
No reasoning parameter is sent to the provider, so the model applies its own adaptive default — reasoning more on hard requests and less on easy ones.
A supported level
Sent to the provider explicitly. Common values are none, minimal, low, medium, high, xhigh and max, but the accepted set is model-specific.
Not set and "auto" are different. Not set preserves the model's configured behavior. "auto" actively suppresses it so the provider's own adaptive default applies. Sending an empty string clears the setting and returns the character to the not-set state.
Discovering supported reasoning levels
POST https://api.convai.com/character/getSupportedModel
Models that support reasoning control carry a reasoning block in their entry. Models without one do not support the setting.
levels
String[]
The levels this model accepts, ordered from least to most reasoning.
supports_auto
Boolean
Whether "auto" is a valid value for this model.
default
String
The provider's own default level, when known. Applies when "auto" is selected.
Last updated
Was this helpful?