Skip to content

Commit

Permalink
docs: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lvqq committed May 13, 2023
1 parent 3b98b02 commit 79c1c28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# midjourney-fetch
[![npm version](https://img.shields.io/npm/v/midjouryney-fetch.svg)](https://www.npmjs.com/package/midjouryney-fetch) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/GPTGenius/midjouryney-fetch/ci.yml?branch=main) ![node-current (scoped)](https://img.shields.io/node/v/midjouryney-fetch) ![GitHub](https://img.shields.io/github/license/GPTGenius/midjouryney-fetch)
[![npm version](https://img.shields.io/npm/v/midjourney-fetch.svg)](https://www.npmjs.com/package/midjourney-fetch) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/GPTGenius/midjourney-fetch/ci.yml?branch=main) ![node-current (scoped)](https://img.shields.io/node/v/midjourney-fetch) ![GitHub](https://img.shields.io/github/license/GPTGenius/midjourney-fetch)

Fetch api for midjournery on discord

## Usage
```typescript
import { Midjourney } from 'midjourney-fetch'

const midjouryney = new Midjouryney({
const midjourney = new Midjourney({
channelId: 'your channelId',
serverId: 'your serverId',
discordToken: 'your discordToken',
})

const images = await midjouryney.imagine('your prompt')
const images = await midjourney.imagine('your prompt')

console.log(images[0].url)
```
Expand Down

0 comments on commit 79c1c28

Please sign in to comment.