API Panel
Python
Endpoint
To use NovaAI in your code, simply set the endpoint of NovaAI. It's compitable with the official OpenAI Python library.
import openai as novaai
novaai.api_base = 'https://api.nova-oss.com/v1'
Info:
The reason we're using as novaai
is that we might add our own package soon.
That way, you'll only have to delete two words and install our package to migrate. Stay tuned!
API Key
The API key is something like a password. So keep it safe. Don't share it with anyone!
novaai.api_key = 'nv-...'
curl
curl https://api.nova-oss.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer nv-..." \
-d '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Whats a wormhole?"}]
}'
Unofficial front-ends (Better ChatGPT, ...)
Set the API endpoint to https://api.nova-oss.com/v1
and don't forget to add your NovaAI API key, too.
Warning: Only use front-ends you trust. Malicious websites could steal your API key!