Creating Photorealistic Images

How can you combine ChatGPT and Midjourney to create photorealistic images?
Responsible AI Checklist
Can be used with customer data input❌ No
Can output be used at customer✅ Yes
Can be used with Xebia Internal secret data❌ No
Can output be used commercially by Xebia✅ Yes
Is data being stored in the region you use it❌ No
Do we have a Xebia license / managed solution for this workflow❌ No
Tools used in workflowMidjourney, ChatGPT / SlackGPT

Introduction

Do you want to create photorealistic images with Midjourney, but get stuck when you need to specify your prompt? You can teach ChatGPT/SlackGPT to generate prompts for you. The generated prompt includes style, camera type, and even camera settings. This document describes the process, but the initial script can be changed to create other styles of images.

Important: Credit

The steps described on this page were designed by the YouTube channel AI Foundations. The author created a video on this subject that greatly improves the Midjourney experience.

Steps

Step 1: Add the introduction script to ChatGPT

Download the script on the original author’s website. You can paste this script into ChatGPT, or even SlackGPT. After you’ve sent the script, the AI assistant will respond with a resounding “YES”.

Step 2: Tell the assistant about your subject

What kind of picture do you need? I wanted to generate a ‘A photo of a rubber duck sitting on a monitor’. SlackGPT responded with:

Realistic photograph of a cheerful yellow rubber duck, playfully perched on top of a computer monitor in a cozy office setting, soft ambient lighting, blurred background showcasing office desk and accessories, Nikon D850, 50mm lens, f/1.8, natural light –ar 3:2 –v 5 –q 1

Step 3: Give the prompt to Midjourney

To get started with Midjourney, start here. Currently, Midjourney is only accessible through Discord. Copy the prompt, and prefix it with /imagine. Paste this into Midjourney on Discord and it will generate options for you. Here’s the result: duckies

Note: All Midjourney prompts and results are publicly visible, unless you have a premium subscription with Stealth Mode enabled.

Licenses needed

SlackGPT

You can use SlackGPT on the Xebia Slack. It’s a great alternative for ChatGPT.

Midjourney

You need a personal license. Find out more about Midjourney here.