A minimal client for Bapti Imagine hosted inference API on Replicate. This package allows you to easily access Midjourney/Openjourney from NodeJS.
Bapti Imagine is an open source Stable Diffusion fine tuned model on Bapti Imagine images, by PromptHero. Predictions run on Nvidia A100 GPU hardware.
const package = require('bapti-funkopop')
npm i bapti-imagine
The API is super simple; just enter your prompt and await
for one or more image URLs. One image is returned by default.
await funkodiffusion('a painting of a ginger cat.')
Pass in additional parameters as a second argument.
await funkodiffusion('a painting of a ginger cat.', { width: 1024 })
A complete list of supported parameters can be found here.
portrait of female elf, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by artgerm and greg rutkowski and alphonse mucha, 8k.
whimsical fantasy elegant rose floral botany maximalism with a wave of flowers garden flowing flowers floating in misty soft pink, aqua, soft apricot, smoke fractal, moody and big scale realistic flowers, octane render, by josephine wall art, isabelle menin, Jean, amy brown.
- Improve API interfaces (i.e. return richer objects than just arrays of URLs).
- Merge/become part of Replicated/ReplicateJS.