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 Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Business Data Scientist, gTech Ads

@ Google | Mexico City, CDMX, Mexico

Lead, Data Analytics Operations

@ Zocdoc | Pune, Maharashtra, India