JSPM

bapti-funkopop

1.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q30044F
  • License ISC

A minimal client for funkopop's hosted inference API on Replicate.

Package Exports

  • bapti-funkopop
  • bapti-funkopop/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bapti-funkopop) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Bapti Imagine

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.

Installation

const package = require('bapti-funkopop')
npm i bapti-imagine

API

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.

Examples

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.

Future

  • Improve API interfaces (i.e. return richer objects than just arrays of URLs).
  • Merge/become part of Replicated/ReplicateJS.