Socket
Socket
Sign inDemoInstall

nextchat

Package Overview
Dependencies
24
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nextchat

A package for interacting with GPT4-based chat services. Gemini, BARD, GPT4, LLaMa, CodeLLaMa, Mixtral and Prodia


Version published
Weekly downloads
253
increased by88.81%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

  • Join our Discord server for the 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]

Keywords

FAQs

Last updated on 01 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc