vortex.ai
v2.1.6
Published
Free and Unlimited AI API
Readme
Vortex AI
Free and Unlimited artificial intelligence API.
Usage
$ npm install vortex.aiClient
- VortexAI(String:apiKey)
const { VortexAI } = require("vortex.ai");
const Vortex = new VortexAI("API-KEY", "modelName");
// model names: gpt-4, gpt-4-turbo, claude-3-5-sonnet, gemini-pro
// default model: gpt-4API
Text
- Vortex.text(String:prompt, Array:history)
const response = await Vortex.text("Whatsup", [{ role: "user" content: "hello vortex"}, { role: "assistant", content: "Hello username"}])Image
Vortex.image(String:prompt)
const Buffer = await Vortex.image("Car"); // Returns as image Buffer
