Before You Start
If you haven't configured a model yet, first complete "Prepare the Chat API" and "Fill in RikkaHub", then return to the setup guide to add MCP. Prompts, memory, and voice are all optional features.
Set Up the Chat API
Software like RikkaHub connects via API. An API is the direct access interface provided by the model vendor; underneath, it accesses the model directly. You can think of it this way: the official app also accesses the model via API, except that it is built into the software; using an external API requires paying yourself, billed by usage. For details, refer to each vendor's pricing.
Here we use DeepSeek's API as an example. It has fewer restrictions, is fast, and is relatively affordable.
-
Open the official DeepSeek website https://platform.deepseek.com/, register, and log in
-
Complete identity verification and then top up (you can top up the minimum amount, for example 10 yuan. If you choose the flash model, 10 yuan will last a long time)
-
After topping up, go to the API Key page and click "Create" to create an API Key (name it as you like)
- Obtain the key starting with sk- and save it securely; this is the authentication credential for accessing the API
Fill In RikkaHub
Fill in RikkaHub, note:
-
Select the DeepSeek template (or the model name you are using)
-
Paste the complete sk-xxx key (do not leak it to others)
-
Turn off Response API
-
Whether the model supports images depends on the model you choose. For example, 4.1Flash supports it. If it does, enable it.
-
After entering the model list, refreshing should show the two preset models; if not, check whether your key was entered incorrectly. If it is correct and it still does not work, you can try adding them yourself
-
When testing, make sure all three indicators are green. If any one of them is not green, it will not work properly.
-
Set the default chat, recommendation, and summary models all to deepseek-v4-flash (or, if you prefer, you can choose deepseek-v4-pro as the chat model; it is more capable, but also slightly more expensive)
Enable More Features as Needed
After completing the above configuration, you can use it normally. Of course, if you want to do some extra operations, that is also possible. A brief list is below
Prompts (persona)
You can click an assistant and edit its persona in its "prompt". You can create multiple assistants and give them different personas to achieve diversity.
The system prompt is carried before each conversation, and you can set a persona for the assistant in this way.
Content wrapped in braces will be automatically replaced with actual values at runtime, for example:
-
nickname: will be replaced with the username you set on the home page
-
cur_date: will be replaced with the current time (accurate to the day; if you need the time, you can use it)
Click the variables below to reference them directly. For various prompting techniques, you can search online; if you have a favorite persona, you can also search Xiaohongshu for reference. I will not go into detail here.
You can also import standard character cards from Tavern. For details, please refer to the official documentation at https://docs.rikka-ai.com/zh/assistants/overview
Memory
You can enable memory in the assistant's Memory feature. Once enabled, it will remember some key things for you. Although this incurs additional token consumption, it also allows it to remember some key events.
By default, memory is isolated per assistant. If you need global memory, meaning the same memories can be known across different assistants, you can enable Global Memory. Choose whether to enable it as needed below.
For more information, refer to https://docs.rikka-ai.com/zh/assistants/memory
Voice
Open Settings → Speech and configure the two features as needed:
- Spoken replies (TTS): On the TTS page, add a provider, enter the information required by the selected service, and save. You can also select System TTS first to use your phone's built-in speech engine. Return to the conversation and tap the speaker icon on an assistant message to test playback.
- Voice input (ASR): On the ASR page, add a provider and save. Return to the conversation, press and hold the microphone button in the input bar to record, and confirm that it can be converted to text.
Different services require different keys, models, and voice options; for more details, see the RikkaHub official speech guide.