3.0.10 • Published 21 days ago

rsnchat v3.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
21 days ago

This package package for interacting with GPT4-based chat services, OpenChat, Bard, Gemini, LlaMa, Mixtral, Claude, Naomi, Prodia, Kandinsky, Absolutebeauty, Sdxl, Dalle and AI Icon without restrictions or limits

Installation

Installation For CLI

npm i -g rsnchat

Installation

npm i rsnchat

APIKEY

Discord : https://discord.gg/r5QWdKfQxr

Join discord server and create account with /new slash command and get your apikey with /key slash command for free!

Usage GPT4

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

rsnchat.gpt("Hello, what is your name?").then((response) => {
  console.log(response.message);
});

Usage OpenChat

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

rsnchat.openchat("Hello, what is your name?").then((response) => {
  console.log(response.message);
});

Usage Bard

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

rsnchat.bard("Hello, what is your name?").then((response) => {
  console.log(response.message);
});

Usage Gemini

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

rsnchat.gemini("Hello, what is your name?").then((response) => {
  console.log(response.message);
});

Usage Bing

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

rsnchat.bing("Hello, what is your name?").then((response) => {
  console.log(response.message);
});

Usage LlaMa

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

rsnchat.llama("Hello, what is your name?").then((response) => {
  console.log(response.message);
});

Usage Mixtral

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

rsnchat.mixtral("Hello, what is your name?").then((response) => {
  console.log(response.message);
});

Usage CodeLlama

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

rsnchat.codellama("Hello, what is your name?").then((response) => {
  console.log(response.message);
});

Usage Claude (premium)

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

rsnchat.claude("Hello, what is your name?").then((response) => {
  console.log(response.message);
});

Usage Naomi (ai girlfriend) (premium)

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

rsnchat.naomi("Hello, what is your name?").then((response) => {
  console.log(response.message);
});

Usage Prodia

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

const prompt = "beautiful girl";
const negative_prompt = "blury, bad quality";
const model = "absolutereality_v181.safetensors [3d9d4d2b]";

rsnchat.prodia(prompt, negative_prompt, model).then((response) => {
  console.log(response);
});

Prodia Models

List of prodia models

Usage Kandinsky

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

const prompt = "beautiful girl";
const negative_prompt = "blury, bad quality";

rsnchat.kandinsky(prompt, negative_prompt).then((response) => {
  console.log(response);
});

Usage Absolutebeauty

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

const prompt = "beautiful girl";
const negative_prompt = "blury, bad quality";

rsnchat.absolutebeauty(prompt, negative_prompt).then((response) => {
  console.log(response);
});

Usage Sdxl

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

const prompt = "beautiful girl";
const negative_prompt = "blury, bad quality";

rsnchat.sdxl(prompt, negative_prompt).then((response) => {
  console.log(response);
});

Usage Dalle

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

const prompt = "beautiful girl";

rsnchat.dalle(prompt).then((response) => {
  console.log(response);
});

Usage AI Icon

const { RsnChat } = require("rsnchat");

const rsnchat = new RsnChat("rsnai_××××××××××××××××××××××");

const prompt = "beautiful girl";

rsnchat.icon(prompt).then((response) => {
  console.log(response);
});

Example CLI Command

rsnchat
3.0.10

21 days ago

3.0.9

3 months ago

3.0.8

3 months ago

3.0.7

3 months ago

3.0.6

3 months ago

3.0.4

3 months ago

3.0.2

4 months ago

3.0.1

4 months ago

3.0.5

3 months ago

3.0.0

4 months ago

2.0.7

4 months ago

2.0.6

4 months ago

2.0.5

4 months ago

2.0.3

4 months ago

2.0.2

4 months ago

2.0.4

4 months ago

2.0.1

4 months ago

2.0.0

4 months ago

1.0.1

7 months ago

1.0.0

7 months ago