How to Integrate Novita AI with RAGFlow
Pre-Configuration Setup
1
Access the API Endpoint
Use the official API endpoint: https://api.novita.ai/openai.
2
Create an API Key
Visit the key management page and select 
Add New Key to generate your API key.
-
Keep your API key safe.
Note: API keys are encrypted on the server. If you lose your key, delete the old one and create a new one.


3
Identify the Model ID
deepseek/deepseek-v4.1-flash
Install OWL
Download and install OWL by following the instructions on GitHub: https://github.com/camel-ai/owl.Configure OWL
1
Set Up Environment Variables
Set up environment variables and add your API key. Run the following commands in your terminal:
2
Start OWL
Start OWL and specify your task by running:

View Results
OWL displays the execution results in the terminal.

Use the Web UI
1
Open the Web Interface
For a more intuitive experience, use OWL’s web-based interface. Launch it by running:



2
Select run_novita_ai and Add Your API Key
Select 
run_novita_ai from the left-hand menu, go to the Environment Variable Management tab on the right, and enter your NOVITA_API_KEY.
3
Run Your Task
Click 
Run to execute your task.
4
Start a New Task
To perform a new task, update the input field and click 

Run again.

-
Results appear in the terminal, or a new file is generated in the root directory, depending on the task.

-
Alternatively, enter your task in the content box and click the
Runbutton to execute it.