Skip to content

GPTGenius/replicate-fetch

Repository files navigation

replicate-fetch

npm version GitHub Workflow Status node-current (scoped) GitHub

Fetch api for Midjourney/Openjourney on Replicate

Usage

createOpenjourney

import { createOpenjourney } from 'replicate-fetch'

createOpenjourney({ prompt: "a cat" })

Example

mdjrny-v4 style a highly detailed matte painting of a man on a hill watching a rocket launch in the distance by studio ghibli, makoto shinkai, by artgerm, by wlop, by greg rutkowski, volumetric lighting, octane render, 4 k resolution, trending on artstation, masterpiece

createStableDiffusion

import { createStableDiffusion } from 'replicate-fetch'

createStableDiffusion({ prompt: "a cat" })

Example

an astronaut riding a horse on mars, hd, dramatic lighting

Other api

import { createMidjourney } from 'replicate-fetch'

createMidjourney({ prompt: "a cat" })