Skip to content

oelin/midjourney-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.