nextchat

4.5.0 • Public • Published

NextChat

This package for interacting with GPT4-based chat services, Gemini, Bard, GPT4, LLaMa, CodeLLaMa, Mixtral and Prodia without restrictions or limits

Tip :-

scroll down for all models list

Installation

Installation For CLI

npm i -g nextchat

Installation

npm i nextchat

ApiKey

Usage Text

const { NextChat } = require("nextchat");

let next = new NextChat("your api key");

const prompt = "Hello, what is your name?";

next.<your_model>(prompt).then((res) => {
  console.log(res.message);
});

.. or using TypeScript?

import { NextChat } from "nextchat";

Usage Image

const { NextImage } = require("nextchat");

let next = new NextImage("your api key");

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

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

.. or using TypeScript?

import { NextImage } from "nextchat";

Chat Models

List of chat models

  • gemini
  • llama
  • codellama
  • mixtrall
  • gpt bard

Prodia Models

List of prodia models

  • absolutereality_V16.safetensors [37db0fc3]
  • absolutereality_v181.safetensors [3d9d4d2b]
  • amIReal_V41.safetensors [0a8a2e61]
  • analog-diffusion-1.0.ckpt [9ca13f02]
  • dreamlike-anime-1.0.safetensors [4520e090]
  • dreamlike-diffusion-1.0.safetensors [5c9fd6e0]
  • dreamlike-photoreal-2.0.safetensors [fdcf65e7]
  • dreamshaper_8.safetensors [9d40847d]
  • openjourney_V4.ckpt [ca2f377f]
  • Realistic_Vision_V5.0.safetensors [614d1063]

Package Sidebar

Install

npm i nextchat

Weekly Downloads

259

Version

4.5.0

License

MIT

Unpacked Size

10.3 MB

Total Files

286

Last publish

Collaborators

  • iscordian