Skip to content

MajidRajabiVardanjani/BardiaAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BardiaAI

Install

npm i bardiaai --save

GPT

https://hapi.majidapi.ir/bardia/gpt/4?q=Hello

https://hapi.majidapi.ir/bardia/gpt/3-5/turbo?q=Hello

https://hapi.majidapi.ir/bardia/gpt/3?q=Hello

const {gpt} = require("bardiaai")

gpt({
    model: "GPT-4", // GPT-4, GPT-3.5-turbo, GPT-3
    prompt: "Hello Bardia"
})
    .then(result => {
        console.log(result);
    })
    .catch(err => {
        console.error(err);
    });

Dalle 3

https://hapi.majidapi.ir/bardia/dalle3?p=Flower

const {dalle3} = require("bardiaai")

dalle3({
    prompt: "beautiful flower"
})
    .then(result => {
        console.log(result);
    })
    .catch(err => {
        console.error(err);
    });

Text To Image

https://hapi.majidapi.ir/bardia/tti?model=default&p=Flower

const {textToImage} = require("bardiaai")

textToImage({
    model: "default", // default, stablediffusion, dalle, pixart, prodia
    prompt: "beautiful flower"
})
    .then(result => {
        console.log(result);
    })
    .catch(err => {
        console.error(err);
    });

Donate

THKC4vmac9u3SB2CevKcmrUhKmdEby8V84 (USDT trc20)

About

Bardia AI - Free GPT - Free Dalle-3 - Free AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published