Browse ModelsMidjourneyMidjourney Text To Image

Midjourney Text To Image

Midjourney Text To Image

Playground

Try it on WavespeedAI!

Create high-quality, artistic images from text prompts using Midjourney’s renowned creative interpretation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

Midjourney Text-to-Image

Midjourney Text-to-Image generates high-quality images from natural-language prompts with flexible aspect ratios, style controls, reference image guidance, and support for multiple Midjourney model versions. It is suitable for concept art, stylized visuals, cinematic imagery, anime-inspired art, and other prompt-driven image generation workflows.


Why Choose This?

  • Flexible Midjourney model versions Choose from 6, 6.1, 7, or 8.1 depending on your preferred look and behavior.

  • Strong style control Fine-tune the result with stylize, chaos, and weird to balance coherence, creativity, and experimental output.

  • Reference image support Use sref to guide the generated image toward a desired visual direction.

  • Aspect ratio control Supports square, portrait, landscape, and cinematic aspect ratios.

  • Optional HD generation Version 8.1 supports optional native 2k HD generation.

  • Anime-focused mode Use niji settings when you want anime or Eastern-aesthetic results.


Parameters

ParameterRequiredDescription
promptYesThe text prompt describing the image you want to generate.
srefNoURL of the image to use as a style reference for generation.
aspect_ratioNoAspect ratio of the generated image. Supported values: 1:1, 9:16, 16:9, 4:3, 3:4, 2:3, 3:2, 9:21, 21:9. Default: 1:1.
qualityNoControls image detail and processing time. Supported values: 0.25, 0.5, 1, 2. Default: 1.
stylizeNoControls artistic styling strength. Range: 0–1000. Default: 0.
chaosNoAdds variety and unpredictability to results. Range: 0–100. Default: 0.
weirdNoMakes the result more quirky or unconventional. Range: 0–3000. Default: 0.
versionNoMidjourney model version. Supported values: 6, 6.1, 7, 8.1. Default: 8.1.
hdNoEnable native 2k HD generation for version 8.1. Default: false.
nijiNoAnime/Eastern-aesthetic mode selection. Supported values: 0, 5, 6, 7, close. Default: close.
seedNoSeed for reproducibility. Use -1 for random generation. Default: -1.

How to Use

  1. Write your prompt — describe the subject, style, lighting, mood, and composition you want.
  2. Choose aspect ratio — select the output framing that fits your use case.
  3. Set style controls (optional) — adjust stylize, chaos, and weird for more artistic or experimental results.
  4. Choose version — use the Midjourney version that best matches your workflow.
  5. Enable HD (optional) — turn on hd if you are using version 8.1 and want higher-resolution output.
  6. Add a reference image (optional) — use sref when you want stronger style guidance.
  7. Set seed (optional) — use -1 for random output, or a fixed seed for more reproducible results.
  8. Submit — run the model and download the generated image.

Example Prompt

A cinematic sci-fi city street at night, neon reflections on wet pavement, dramatic fog, ultra-detailed architecture, moody lighting, dynamic composition


Pricing

Pricing is fixed per image, with an additional charge for HD generation on version 8.1.

ModeCost
Standard generation$0.10
Version 8.1 with hd=true$0.15

Billing Rules

  • Base price is $0.10 per image
  • Enabling hd adds a surcharge only when version = 8.1
  • version = 8.1 with hd=true costs $0.15 per image
  • aspect_ratio, quality, stylize, chaos, weird, niji, seed, and sref do not affect pricing

Best Use Cases

  • Concept art — Explore visual directions for environments, characters, and products.
  • Stylized illustration — Generate artistic, cinematic, or graphic compositions from text prompts.
  • Anime-inspired imagery — Use niji settings for anime and Eastern-aesthetic outputs.
  • Marketing creatives — Produce eye-catching visuals for campaigns, ads, and presentations.
  • Reference-guided ideation — Use sref to push the output closer to a target style or mood.

Pro Tips

  • Use stylize when you want a stronger artistic interpretation.
  • Increase chaos when you want more variation and less predictability.
  • Use weird sparingly when you want unusual or surreal results.
  • Only enable hd when you need the extra resolution, since it increases cost.
  • Use sref when style consistency matters more than purely prompt-based generation.
  • Keep seed fixed when comparing prompt or parameter changes across runs.

Notes

  • prompt is required.
  • hd only applies to version 8.1.
  • seed = -1 means random generation.
  • niji is intended for anime and Eastern-style visual output.
  • Pricing is fixed per image, with a higher price only for 8.1 HD generation.

  • Other Midjourney image generation workflows — Useful when you want different generation modes or prompt setups.
  • Reference-guided image generation workflows — Useful when style steering from an image matters more heavily.
  • Anime-focused image generation workflows — Useful when stylized illustration and character art are the main priority.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/midjourney/text-to-image" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "aspect_ratio": "1:1",
    "quality": 1,
    "stylize": 0,
    "chaos": 0,
    "weird": 0,
    "version": "8.1",
    "hd": false,
    "niji": "close",
    "seed": -1,
    "enable_base64_output": false
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
promptstringYes-The text prompt describing the image you want to generate.
srefstringNo--URL of the image to use as a reference for the image generation.
aspect_ratiostringNo1:11:1, 9:16, 16:9, 4:3, 3:4, 2:3, 3:2, 9:21, 21:9The aspect ratio of the generated media.
qualitynumberNo10.25, 0.5, 1, 2Use the quality parameter to control image detail and processing time.
stylizeintegerNo-0 ~ 1000Use the stylize parameter to control the artistic style in the image (0-1000).
chaosintegerNo-0 ~ 100Use the chaos parameter to add variety to your image results (0-100). Higher values produce more unusual and unexpected results.
weirdintegerNo-0 ~ 3000Use the weird parameter to make your images quirky and unconventional (0-3000).
versionstringNo8.16, 6.1, 7, 8.1Use the version parameter to explore and switch between Midjourney model versions. Version 8.1 supports optional HD generation.
hdbooleanNofalse-Enable native 2k HD generation for version 8.1.
nijistringNoclose0, 5, 6, 7, closeUse the Niji model focused on anime and Eastern aesthetics.
seedintegerNo-1-1 ~ 2147483647Use the seed parameter for testing and experimentation. Use the same seed and prompt to get similar results.
enable_base64_outputbooleanNofalse-The random seed to use for the generation.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction, the ID of the prediction to get
data.modelstringModel ID used for the prediction
data.outputsstringArray of URLs to the generated content (empty when status is not completed).
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2025 WaveSpeedAI. All rights reserved.