Generate high-quality images with Midjourney v8.1 from a text prompt, with optional style reference, aspect ratio, HD mode, and creative controls.
midjourney-t2iAPI keys come with the Scale and Ultra plans

The smallest request that works: the required fields only.
curl https://api.percify.io/v3/playground/v1/run \
-H "Authorization: Bearer $PERCIFY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"modelId": "midjourney-t2i",
"input": {
"prompt": "A red fox running through fresh snow at sunrise"
}
}'9 fields in input, required first.
promptRequiredText prompt describing the image to generate.
hdOptionalEnable HD generation mode.
seedOptionalRandom seed. Use -1 for a random seed.
srefOptionalOptional style reference image URL.
chaosOptionalControls variation and unpredictability.
weirdOptionalAdds unconventional or surreal characteristics.
qualityOptionalGeneration quality setting supported by Midjourney v8.1.
stylizeOptionalControls how strongly Midjourney's aesthetic style influences the result.
aspect_ratioOptionalAspect ratio of the generated images.
from $0.10OpenAI image generation: excellent prompt-following and clean text rendering; takes reference images.
from $0.05Generates images from a text prompt, with five quality tiers up to 4K and strong in-image typography.
from $0.05Generates images from a text prompt, with five quality tiers up to 4K and strong in-image typography.
$0.05Z-Image Turbo is a super fast text-to-image model of 6B parameters developed by Tongyi-MAI.

Pick a use case, run it in the playground, copy the call.
API keys come with the Scale and Ultra plans