https://github.com/gptgenius/replicate-fetch
Nodejs api for Midjourney/Openjourney on Replicate
https://github.com/gptgenius/replicate-fetch
midjourney midjourney-api openjourney replicate stable-diffusion
Last synced: 12 months ago
JSON representation
Nodejs api for Midjourney/Openjourney on Replicate
- Host: GitHub
- URL: https://github.com/gptgenius/replicate-fetch
- Owner: GPTGenius
- License: mit
- Created: 2023-04-26T13:31:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-27T06:35:32.000Z (almost 3 years ago)
- Last Synced: 2025-03-24T15:04:33.600Z (about 1 year ago)
- Topics: midjourney, midjourney-api, openjourney, replicate, stable-diffusion
- Language: TypeScript
- Homepage:
- Size: 1.06 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# replicate-fetch
[](https://www.npmjs.com/package/replicate-fetch)   
Fetch api for Midjourney/Openjourney on Replicate
## Usage
### createOpenjourney
```typescript
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
```typescript
import { createStableDiffusion } from 'replicate-fetch'
createStableDiffusion({ prompt: "a cat" })
```
### Example
> an astronaut riding a horse on mars, hd, dramatic lighting

### Other api
```typescript
import { createMidjourney } from 'replicate-fetch'
createMidjourney({ prompt: "a cat" })
```