API docs / Image models

Midjourney v8.1 API

Generate four Midjourney v8.1 images from one prompt.

Model id
wavespeed/midjourney/text-to-image
Provider
Midjourney
Output
Image
Price
From 35 credits per run, the same as on voor.ai. Options such as length or resolution can change it.

Request

POST https://voor.ai/v1/generations with "model": "wavespeed/midjourney/text-to-image". Poll GET /v1/tasks/{id} or receive the signed webhook. See the overview for keys, idempotency, webhooks and errors.

curl https://voor.ai/v1/generations \
  -H "Authorization: Bearer $VOOR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "wavespeed/midjourney/text-to-image",
  "input": {
    "prompt": "A red fox standing in fresh snow at golden hour, soft light"
  },
  "callback_url": "https://example.com/webhooks/voor"
}'

# Then poll the task (or wait for the webhook):
curl https://voor.ai/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $VOOR_API_KEY"

Input parameters

NameTypeDetails
promptrequiredstring

Text prompt describing the image to generate.

Up to 1024 characters

style_reference_imagesarray of URLs

Optional style reference image URL.

Up to 1 files · Accepts image/*

aspect_ratiostring

Aspect ratio of the generated images.

Default: 1:1

One of: 1:1, 9:16, 16:9, 4:3, 3:4, 2:3, 3:2, 9:21, 21:9

qualitynumber

Generation quality setting supported by Midjourney v8.1.

Default: 1

One of: 1, 4

seednumber

Random seed. Use -1 for a random seed.

Default: -1

Min -1 · Max 2147483647

chaosnumber

Controls variation and unpredictability.

Default: 0

Min 0 · Max 100

hdboolean

Enable HD generation mode.

Default: false

stylizenumber

Controls how strongly Midjourney's aesthetic influences the result.

Default: 0

Min 0 · Max 1000

weirdnumber

Adds unconventional or surreal characteristics.

Default: 0

Min 0 · Max 3000