oelin / midjourney-client

A Node.js client for Midjourney/Openjourney on Replicate.

Home Page:https://npmjs.com/midjourney-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Midjourney Client

A Node.js client for Midjourney/Openjourney on Replicate. Powered by node-replicate.

Openjourney is an open source Stable Diffusion fine tuned model on Midjourney images, by PromptHero. Predictions run on Nvidia A100 GPU hardware.

Installation

npm i midjourney-client

Usage

Just enter your prompt and wait for one or more image URLs to be returned. One image is returned by default.

import midjourney from "midjourney-client"
await midjourney("mdjrny-v4 style a painting of a ginger cat.")

Specify additional parameters as a second argument. A list of supported parameters can be found here.

await midjourney('mdjrny-v4 style a painting of a ginger cat.', { width: 1024 })

Examples

mdjrny-v4 style 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.

mdjrny-v4 style 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.

About

A Node.js client for Midjourney/Openjourney on Replicate.

https://npmjs.com/midjourney-client

License:ISC License


Languages

Language:JavaScript 100.0%