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 images from a text prompt. Describe the image you want, optionally add a style reference image, choose an aspect ratio, and adjust generation controls such as stylize, chaos, weird, HD mode, quality, and seed.


Why Choose This?

  • Prompt-based image generation
    Generate images directly from a text prompt.

  • Style reference support
    Use an optional style reference image to guide the visual style of the generated images.

  • Flexible aspect ratios
    Choose from multiple output aspect ratios, including square, vertical, horizontal, and cinematic formats.

  • Generation control parameters
    Adjust stylize, chaos, and weird to control aesthetic strength, variation, and unconventional visual characteristics.

  • HD and quality options
    Enable HD mode and choose the supported quality setting for Midjourney v8.1.

  • Seed support
    Use a fixed seed for more reproducible results, or set -1 for a random seed.


Parameters

ParameterRequiredDescription
promptYesText prompt describing the image to generate. Minimum length: 1. Maximum length: 1024.
srefNoOptional style reference image URL.
aspect_ratioNoAspect ratio of the generated images. Supported values: 1:1, 9:16, 16:9, 4:3, 3:4, 2:3, 3:2, 9:21, 21:9. Default: 1:1.
hdNoEnable HD generation mode. Default: false.
qualityNoGeneration quality setting supported by Midjourney v8.1. Supported values: 1, 4. Default: 1.
stylizeNoControls how strongly Midjourney’s aesthetic style influences the result. Range: 0 to 1000. Default: 0.
chaosNoControls variation and unpredictability. Range: 0 to 100. Default: 0.
weirdNoAdds unconventional or surreal characteristics. Range: 0 to 3000. Default: 0.
seedNoRandom seed. Use -1 for a random seed. Range: -1 to 2147483647. Default: -1.

How to Use

  1. Write your prompt — Describe the image you want to generate.
  2. Add a style reference (optional) — Provide sref if you want to guide the image style with a reference image.
  3. Choose an aspect ratio (optional) — Select the output format, such as 1:1, 9:16, or 16:9.
  4. Adjust generation settings (optional) — Configure hd, quality, stylize, chaos, weird, and seed as needed.
  5. Submit — Generate four image outputs.

Output

Returns generated image URL(s) in the standard WaveSpeed prediction response.

Each request generates 4 images.


Pricing

Pricing is fixed at $0.10 per request.

OutputCost
4 images$0.10

Billing Rules

  • Each request generates 4 images.
  • Each request costs $0.10.
  • Effective price per image is $0.025.
  • The listed request price applies to the generation request.

Best Use Cases

  • Creative image generation — Generate original images from text prompts.
  • Concept art — Create visual concepts for characters, scenes, objects, and environments.
  • Social media visuals — Generate images for posts, thumbnails, banners, and campaigns.
  • Style exploration — Use sref, stylize, chaos, and weird to test different visual directions.
  • Cinematic and vertical formats — Use aspect ratios such as 16:9, 21:9, 9:16, or 9:21 for different content formats.

Pro Tips

  • Keep prompts clear and specific.
  • Use sref when you want the output to follow a specific visual style.
  • Use stylize to control the strength of Midjourney’s aesthetic influence.
  • Increase chaos when you want more variation across outputs.
  • Increase weird when you want more unconventional or surreal results.
  • Use a fixed seed when you want more reproducible generations.
  • Use -1 for random seed generation.
  • Choose the aspect ratio based on the final use case, such as 1:1 for square images, 9:16 for vertical content, or 16:9 for widescreen images.

Notes

  • prompt is the only required field.
  • sref, aspect_ratio, hd, quality, stylize, chaos, weird, and seed are optional.
  • Default aspect_ratio is 1:1.
  • Default hd is false.
  • Default quality is 1.
  • Default stylize is 0.
  • Default chaos is 0.
  • Default weird is 0.
  • Default seed is -1, which uses a random seed.
  • Ensure uploaded style reference image URLs are publicly accessible.


<ApiPage model={model}>
  ## Authentication

  For authentication details, please refer to the [Authentication Guide](/docs-authentication).

  ## API Endpoints

  ### Submit Task & Query Result

  ## Parameters

  ### Task Submission Parameters

  #### Request Parameters

  #### Response Parameters

  <SubmitResponse />

  #### Result Request Parameters

  | Parameter | Type | Required | Default | Description |
  |-----------|------|----------|---------|-------------|
  | id | string | Yes | - | Task ID |

  #### Result Response Parameters

  | Parameter | Type | Description |
  |-----------|------|-------------|
  | code | integer | HTTP status code (e.g., 200 for success) |
  | message | string | Status message (e.g., "success") |
  | data | object | The prediction data object containing all details |
  | data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
  | data.model | string | Model ID used for the prediction |
  | data.outputs | string | Array of URLs to the generated content (empty when status is not completed). |
  | data.urls | object | Object containing related API endpoints |
  | data.urls.get | string | URL to retrieve the prediction result |
  | data.status | string | Status of the task: `created`, `processing`, `completed`, or `failed` |
  | data.created_at | string | ISO timestamp of when the request was created (e.g., "2023-04-01T12:34:56.789Z") |
  | data.error | string | Error message (empty if no error occurred) |
  | data.timings | object | Object containing timing details |
  | data.timings.inference | integer | Inference time in milliseconds |

</ApiPage>

  
© 2025 WaveSpeedAI. All rights reserved.