An advanced guide to writing prompts for Midjourney ( text-to-image)

A detailed ‘cheat sheet’ and some keywords for improving image output by using better prompts

Tom Tillo
7 min readSep 3, 2022


How to write prompts for Text to Image generation by Midjourney , text prompt , #midjourney prompt engineering
Image generated by Midjourney , text prompt : beautiful, fantasy city unreal engine

One liner on midjourney ?

For those of you who haven’t heard about midjourney yet, here is a one line introduction : Midjourney is a text-to-image generation app similar to OpenAI’s DALLE-2 and Stable Diffusion’s DreamStudio , which uses tons of images (around 650+ million) found on the internet — to generate stunning images based on the text prompt provided. It is now in the beta phase — but is adding more features every week .. and the future is yet to be imagined ! ( Currently their AI engine is on v3 )

Raw prompt text

Anyone who has used the midjourney app knows that the more descriptive you are in your text, the more vibrant and unique the output will be. Users generally use raw and direct prompts like : a cowboy wearing a tuxedo on the moon’ , would generate something like this :

A guide to writing text prompts for Midjourney , prompt engineering
Image created on midjourney — prompt: a cowboy wearing a tuxedo on the moon

But there are more…



Tom Tillo

Making ML and AI available to everyone. One commit at a time. | Quantitative programming | Python | Arduino | Comp Vision | / @PythosL