0.0.1-security.1 • Published 5 months ago

@teamteanpm2024/dolorem-non-facilis v0.0.1-security.1

Weekly downloads
-
License
-
Repository
-
Last release
5 months 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
0.0.1-security

5 months ago

0.0.1-security.0

5 months ago

0.0.1-security.1

5 months ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago