April 10, 2024, 2:42 p.m. | FlameFace

DEV Community dev.to


A simple and up to date wrapper for prodia api with all features included.



Github
Support





Installation



npm install prodia.js





Usage


For detailed docs about parameters and api key, go to https://prodia.com





Text to Image



import { Prodia } from "prodia.js"

// ----- OR -----

const { Prodia } = require("prodia.js");
const { generateImage, wait } = Prodia("x-x-x-x-x");

const input = async (prompt) => {
const result = await generateImage({
prompt: prompt,
model: "juggernaut_aftermath.safetensors [5e20c455]"
})

return await wait(result); …

ai ai images api async features generate github image images import install installation npm simple support text typescript up to date usage wrapper

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York