Getting Started with WNR.AI
Welcome to the WNR.AI API. This guide will get you up and running in no time. Let's start!
Table of Contents
Getting an API key
Currently, our API is in a closed early access period. If you are interested in getting an API key, please email us at support@wnr.ai for more information.
Key Concepts
Models
In the context of our API, models refer to machine learning models, specifically, LLM (large language models). These models have been trained on a variety of data sources and can generate human-like text based on the input they are given. They can be used for a wide range of tasks, including drafting emails, writing code, answering questions, translating languages, tutoring in a variety of subjects, and even creating written content like this one.
Pricing
Our pricing model is based on the cost per second per inference. This means that you will be charged based on the amount of time it takes for our model to make a prediction (inference) based on your input.
Our Models
Grace-chat-001
Grace-chat-001 is a humanized AI model designed for professional applications. This includes coaching, sales, customer support, health, and mental wellness. Grace-chat-001 can be used to assist in these areas by providing responses that are professional and focused.
To use Grace-chat-001, send a POST request to https://api.wnr.ai/v1/chat
with your text input in the body of the request.
Here is an example using curl:
curl -X POST 'https://api.wnr.ai/v1/chat' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-d '{
"input": {
"model": "grace-chat-001",
"user_input": "Who are you?",
"mode": "chat",
"your_name": "Joe",
"character_name": "Betty",
"character_context": "You are a librarian",
"history": [
"hello?",
"Hello! How can I assist you today?"
]
},
"webhook": "https://yourwebsite.com"
}'
Sasha-chat-001
Sasha-chat-001 is your AI companion designed for deeply human-like interactions and versatile conversations. With this model, you can have diverse interactions, including NSFW dialogues. Sasha-chat-001 can understand and generate responses that make your conversations feel natural and engaging.
To use Sasha-chat-001, send a POST request to https://api.wnr.ai/v1/chat
with your text input in the body of the request.
Here is an example using curl:
curl -X POST 'https://api.wnr.ai/v1/chat' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-d '{
"input": {
"model": "sasha-chat-001",
"user_input": "Who are you?",
"mode": "chat",
"your_name": "Joe",
"character_name": "Betty",
"character_context": "You are a librarian",
"history": [
"hello?",
"Hello! How can I assist you today?"
]
},
"webhook": "https://yourwebsite.com"
}}'