After a year or so mucking around on Midjourney I’ve only recently begun using the –sref and –cref functions. What are these, do you ask? Well, they are offshoots of the basic reference pic users can paste into their /imagine prompts. Midjourney calls them Imagine URLS. As the user’s manual says, “Imagine URLS can be added to a prompt to influence the style and content of the finished result. ” You simply find a pic online that you like, copy the URL, and paste it into the prompt before the main text.
This prompt was used to generate the pic of the white-hatted fiddler at the start of this post. If you have a stash of pics online, say through your own site or an image cache such as Pinterest, so much the better.
After this, Midjourney does its magic by compressing and saving the image from the URL. Not sure how long it’s stored in there — for a few days at least. I’ve revisited the same prompt a week or so later and it still worked. The Imagine URL puts limits on the generated image by copying its style or subject matter to it in a random way. Random — that’s a word to remember.
The –sref and –cref commands let the user further tune these linked reference pics, and make them less of a crap shoot for the result, by copying the pic’s style (–sref) or character (–cref). Broadly, –sref is best for inanimate images, –cref for ones with a live subject. But, they can also be used out of this context.