Midjourney image generation model, compatible with the OpenAI Images API (POST /v1/images/generations). Supports text-to-image and image-to-image: up to 4 reference images, passed as an array of public HTTPS URLs in image. There are no resolution tiers. Set the aspect ratio with aspect_ratio: 1:1 / 2:3 / 3:2 / 3:4 / 4:3 / 4:5 / 5:4 / 9:16 / 16:9 / 21:9 (default 1:1). Each request generates one image; send several requests for more. The API responds synchronously; one image took about 90 seconds in testing, so set the client timeout to 150 seconds or more. Billed per image; failed requests are not charged.
Model ID: midjourney-imagine-YH. Billed per use with no subscription or minimum spend.