Midjourney v7
Midjourney-v7Use the Midjourney V7 API for ai image generation. Describe the subject, composition, and style in the image request. Create illustrations, design concepts, and visual assets. Compare the available provider routes, request examples, and usage prices on OpenAny.
Auto route pricing
Route source: Tencent
- Input / Output
- Input: Price not suppliedOutput: $1.379
- Cache read / write
- Cache read: Price not suppliedCache write: Price not supplied
- Context / Max output
- — / —
- Live routes
- 1
Rates / 1M tokens
Image output: Price not supplied
These are separate usage rates, not a total request price.
On this page
Overview
Use the Midjourney V7 API for ai image generation. Describe the subject, composition, and style in the image request. Create illustrations, design concepts, and visual assets. Compare the available provider routes, request examples, and usage prices on OpenAny.
Playground
Other parameters (25)
Result preview
Tencent · 7ms
Response example. Run to see the actual response.

{
"id": "1435304360-WandImage-89b449540c9649ce9771b75ba63f70ba",
"data": [
{
"url": "https://openmodels.market/api/v1/public/files/download?key=key-market%2Fplaygrounds%2F2026%2F09%2F14%2F0ddecd93-365d-401e-a086-0b3aeae0894f.png"
},
{
"url": "https://openmodels.market/api/v1/public/files/download?key=key-market%2Fplaygrounds%2F2026%2F09%2F14%2F0ddecd93-365d-401e-a086-0b3aeae0894f.png"
},
{
"url": "https://openmodels.market/api/v1/public/files/download?key=key-market%2Fplaygrounds%2F2026%2F09%2F14%2F0ddecd93-365d-401e-a086-0b3aeae0894f.png"
},
{
"url": "https://openmodels.market/api/v1/public/files/download?key=key-market%2Fplaygrounds%2F2026%2F09%2F14%2F0ddecd93-365d-401e-a086-0b3aeae0894f.png"
}
],
"model": "Midjourney-v7",
"object": "image.task",
"status": "succeeded",
"created": 1789393017,
"tokenhub_usage": {
"total_tokens": 120000
},
"openmodels_cost": 177744
}Agent handoff preview
Providers
| Provider | Pricing | Latency | Uptime | Supply | Route |
|---|---|---|---|---|---|
Live | Output $1.379 / 1M tokens Input — Cache read — Cache write — | 7ms | — | Verified |
- Output
- $1.379
Source: the selected provider route in OpenAny's public model catalog. A price update timestamp is not supplied.
API
- Base URL
https://api.openany.si/v1- POST
/v1/images- Authentication
Authorization: Bearer $OPENANY_API_KEY
Request parameters
| Parameter | Type / range | Default value | Required | Description |
|---|---|---|---|---|
model | string | — | Yes | Model name. |
prompt | string | — | Yes | Text prompt for image generation. Aspect ratio, quality, style, and other Midjourney-style parameters should be defined inside the prompt, such as --ar 16:9, --q 2, and --style raw. |
--aspect | string | 1:1 | No | Aspect ratio parameter. Alias: --ar. Default is 1:1. Common values include 1:1, 4:3, 2:3, 16:9, and 9:16. Custom integer ratios are supported; decimals are not supported. Current versions support up to 14:1, or 4:1 for HD images. |
--bs | integer · 1 | 2 | 4 1 ~ 4 | 4 | No | Video batch size parameter. Controls the number of videos generated from each video prompt. Supported values are 1, 2, and 4. Default is 4. |
--chaos | integer · 0 ~ 100 | 0 | No | Chaos or variety parameter. Alias: --c. Higher values produce more varied results. Supported range is 0 to 100. |
--draft | boolean | false | No | Draft parameter. Generates draft images at reduced GPU cost. Compatible with V7, V8.1, with different behavior by version. |
--end | string | — | No | Video end-frame parameter. Provide an image URL to use as the ending frame. |
--fast | boolean | false | No | Fast mode parameter. Uses Fast GPU time. |
--iw | number · 0 ~ 3 | 1 | No | Image weight parameter. Controls how strongly image prompts affect the final image. V8.1 and V7 support 0 to 3; |
--loop | boolean | false | No | Video loop parameter. Reuses the starting frame as the ending frame to create a looping video. |
--motion | string · low | high | low | No | Video motion parameter. Use low or high. Low is the default and produces subtler motion; high produces larger camera or character motion. |
--no | string | — | No | Negative prompt parameter. Tells Midjourney what should not appear in the image. Multiple items can be separated with commas. |
--oref | array | — | No | Omni reference parameter. Use image URLs. Compatible with V7 only; Only one Omni Reference image is supported. |
--profile | string | — | No | Personalization profile parameter. Alias: --p. Use without a value to apply the default profile, or provide a profile ID/code. |
--public | boolean | false | No | Public mode parameter. Makes creations public on the Midjourney website. |
--raw | boolean | false | No | Raw mode parameter. Reduces Midjourney's default styling. Compatible with versions 5.1 and later. |
--relax | boolean | false | No | Relax mode parameter. Available depending on subscription plan. Repeat, permutations, HD videos, and some legacy upscale behavior are not available in Relax mode. |
--repeat | integer · 2 ~ 40 | — | No | Repeat parameter. Alias: --r. Generates multiple image sets from one prompt. Basic plan supports 2-4, Standard supports 2-10, Pro and Mega support 2-40. Works only in Fast and Turbo modes. |
--seed | integer · 0 ~ 4294967295 | — | No | Seed parameter. Uses a whole number from 0 to 4294967295. |
--sref | array | — | No | Style reference parameter. Use image URLs, style reference codes, or random. Multiple references are supported. |
--stealth | boolean | false | No | Stealth mode parameter. Makes creations private on the Midjourney website when available for the account plan. Available only to Pro and Mega plans. |
--stylize | integer · 0 ~ 1000 | 100 | No | Stylize parameter. Alias: --s. Controls how strongly Midjourney applies its artistic style. Supported range is 0 to 1000. |
--sv | integer · 1 | 2 | 3 | 4 | 5 | 6 1 ~ 6 | 6 | No | Style reference version parameter. V7 supports six style reference versions and defaults to 6. V6 supports 1, 2, 3, and 4, with 4 as default. |
--sw | integer · 0 ~ 1000 | 100 | No | Style weight parameter. Controls the strength of style references. Supported range is 0 to 1000. |
--tile | boolean | false | No | Tile parameter. Creates seamless repeating patterns. |
--video | boolean | false | No | Video generation parameter. Video generations are compatible only with video-specific parameters: --motion low, --motion high, --raw, --loop, --end, and --bs. |
--weird | integer · 0 ~ 3000 | 0 | No | Weird parameter. Alias: --w. Adds unusual or experimental qualities. Supported range is 0 to 3000. |
Request example
curl 'https://api.openany.si/v1/images' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "Midjourney-v7",
"prompt": "An elegant commercial product photograph of a transparent glass tumbler with ice and lemon slices. --aspect 1:1 --bs 4 --chaos 0 --iw 1 --motion low --stylize 100 --sv 6 --sw 100 --weird 0",
"route_mode": "balanced"
}'Response example
Configured response example · not a live result
{
"id": "1435304360-WandImage-89b449540c9649ce9771b75ba63f70ba",
"data": [
{
"url": "https://openmodels.market/api/v1/public/files/download?key=key-market%2Fplaygrounds%2F2026%2F09%2F14%2F0ddecd93-365d-401e-a086-0b3aeae0894f.png"
},
{
"url": "https://openmodels.market/api/v1/public/files/download?key=key-market%2Fplaygrounds%2F2026%2F09%2F14%2F0ddecd93-365d-401e-a086-0b3aeae0894f.png"
},
{
"url": "https://openmodels.market/api/v1/public/files/download?key=key-market%2Fplaygrounds%2F2026%2F09%2F14%2F0ddecd93-365d-401e-a086-0b3aeae0894f.png"
},
{
"url": "https://openmodels.market/api/v1/public/files/download?key=key-market%2Fplaygrounds%2F2026%2F09%2F14%2F0ddecd93-365d-401e-a086-0b3aeae0894f.png"
}
],
"model": "Midjourney-v7",
"object": "image.task",
"status": "succeeded",
"created": 1789393017,
"tokenhub_usage": {
"total_tokens": 120000
},
"openmodels_cost": 177744
}Error handling
400Check the model ID and request fields.429Retry with exponential backoff.5xxRetry only temporary provider failures.JSON Schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"model",
"prompt"
],
"properties": {
"--bs": {
"enum": [
1,
2,
4
],
"type": "integer",
"default": 4,
"maximum": 4,
"minimum": 1,
"description": "Video batch size parameter. Controls the number of videos generated from each video prompt. Supported values are 1, 2, and 4. Default is 4."
},
"--iw": {
"type": "number",
"default": 1,
"maximum": 3,
"minimum": 0,
"description": "Image weight parameter. Controls how strongly image prompts affect the final image. V8.1 and V7 support 0 to 3;"
},
"--no": {
"type": "string",
"description": "Negative prompt parameter. Tells Midjourney what should not appear in the image. Multiple items can be separated with commas."
},
"--sv": {
"enum": [
1,
2,
3,
4,
5,
6
],
"type": "integer",
"default": 6,
"maximum": 6,
"minimum": 1,
"description": "Style reference version parameter. V7 supports six style reference versions and defaults to 6. V6 supports 1, 2, 3, and 4, with 4 as default."
},
"--sw": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 0,
"description": "Style weight parameter. Controls the strength of style references. Supported range is 0 to 1000."
},
"--end": {
"type": "string",
"description": "Video end-frame parameter. Provide an image URL to use as the ending frame."
},
"--raw": {
"type": "boolean",
"default": false,
"description": "Raw mode parameter. Reduces Midjourney's default styling. Compatible with versions 5.1 and later."
},
"model": {
"type": "string",
"description": "Model name."
},
"--fast": {
"type": "boolean",
"default": false,
"description": "Fast mode parameter. Uses Fast GPU time."
},
"--loop": {
"type": "boolean",
"default": false,
"description": "Video loop parameter. Reuses the starting frame as the ending frame to create a looping video."
},
"--oref": {
"type": "array",
"items": {
"type": "string"
},
"description": "Omni reference parameter. Use image URLs. Compatible with V7 only; Only one Omni Reference image is supported."
},
"--seed": {
"type": "integer",
"maximum": 4294967295,
"minimum": 0,
"description": "Seed parameter. Uses a whole number from 0 to 4294967295."
},
"--sref": {
"type": "array",
"items": {
"type": "string"
},
"description": "Style reference parameter. Use image URLs, style reference codes, or random. Multiple references are supported."
},
"--tile": {
"type": "boolean",
"default": false,
"description": "Tile parameter. Creates seamless repeating patterns."
},
"prompt": {
"type": "string",
"description": "Text prompt for image generation. Aspect ratio, quality, style, and other Midjourney-style parameters should be defined inside the prompt, such as --ar 16:9, --q 2, and --style raw."
},
"--chaos": {
"type": "integer",
"default": 0,
"maximum": 100,
"minimum": 0,
"description": "Chaos or variety parameter. Alias: --c. Higher values produce more varied results. Supported range is 0 to 100."
},
"--draft": {
"type": "boolean",
"default": false,
"description": "Draft parameter. Generates draft images at reduced GPU cost. Compatible with V7, V8.1, with different behavior by version."
},
"--relax": {
"type": "boolean",
"default": false,
"description": "Relax mode parameter. Available depending on subscription plan. Repeat, permutations, HD videos, and some legacy upscale behavior are not available in Relax mode."
},
"--video": {
"type": "boolean",
"default": false,
"description": "Video generation parameter. Video generations are compatible only with video-specific parameters: --motion low, --motion high, --raw, --loop, --end, and --bs."
},
"--weird": {
"type": "integer",
"default": 0,
"maximum": 3000,
"minimum": 0,
"description": "Weird parameter. Alias: --w. Adds unusual or experimental qualities. Supported range is 0 to 3000."
},
"--aspect": {
"type": "string",
"default": "1:1",
"description": "Aspect ratio parameter. Alias: --ar. Default is 1:1. Common values include 1:1, 4:3, 2:3, 16:9, and 9:16. Custom integer ratios are supported; decimals are not supported. Current versions support up to 14:1, or 4:1 for HD images."
},
"--motion": {
"enum": [
"low",
"high"
],
"type": "string",
"default": "low",
"description": "Video motion parameter. Use low or high. Low is the default and produces subtler motion; high produces larger camera or character motion."
},
"--public": {
"type": "boolean",
"default": false,
"description": "Public mode parameter. Makes creations public on the Midjourney website."
},
"--repeat": {
"type": "integer",
"maximum": 40,
"minimum": 2,
"description": "Repeat parameter. Alias: --r. Generates multiple image sets from one prompt. Basic plan supports 2-4, Standard supports 2-10, Pro and Mega support 2-40. Works only in Fast and Turbo modes."
},
"--profile": {
"type": "string",
"description": "Personalization profile parameter. Alias: --p. Use without a value to apply the default profile, or provide a profile ID/code."
},
"--stealth": {
"type": "boolean",
"default": false,
"description": "Stealth mode parameter. Makes creations private on the Midjourney website when available for the account plan. Available only to Pro and Mega plans."
},
"--stylize": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 0,
"description": "Stylize parameter. Alias: --s. Controls how strongly Midjourney applies its artistic style. Supported range is 0 to 1000."
}
}
}Examples
Request example
POST /v1/imagescurl 'https://api.openany.si/v1/images' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "Midjourney-v7",
"prompt": "An elegant commercial product photograph of a transparent glass tumbler with ice and lemon slices. --aspect 1:1 --bs 4 --chaos 0 --iw 1 --motion low --stylize 100 --sv 6 --sw 100 --weird 0",
"route_mode": "balanced"
}'