@flareai/api
v1.1.5
Published
A POWERFULL AI IMAGEGENERATOR PACKAGE BASED ON FLARE AI API
Readme
Ai Package Based On FlareApi
A simple NPM package to generate ai images using FlareAi.
Installation
npm install @flareai/apiUsage
iMAGES
const { GenerateImage } = require('@flareai/api');
GenerateImage("A futuristic city at night")
.then(imageUrl => console.log("Generated Image URL:", imageUrl))
.catch(error => console.error("Error:", error));
GenerateImage(options: Object)
Generates an image based on the given prompt.
Options:
prompt(string) - The text prompt for the image or the ai respons.
Response:
- Returns a Promise that resolves to an object containing:
url(string) - The URL of the generated image.
NSFW WordsFilter
- our package filter the nsfw words automaticly
