Hyperprompt

The manual’s answers

Every exercise in the manual, with a suggested answer: prompts to copy and try yourself, and the images obtained for the chapter 4 exercises.

An answer is only one path among others: the right prompt always depends on your situation. Compare, vary, and invent your own.

Chapter 1

Building a good prompt

Exercise 1.1

Building a good prompt

The exercise
Open your fridge (yes, physically!) and note the ingredients you have. Ask ChatGPT to design a recipe, first without giving it any context, then by providing your list of ingredients, your diet, and your favorite type of cuisine.
Prompt

Here are the ingredients in my fridge: tomatoes, mushrooms, tofu, spinach, onions, garlic, bell peppers, mozzarella cheese, pasta, soy sauce, and coconut milk. I am vegetarian and I enjoy Italian and Asian cuisine. Can you suggest a recipe?

Exercise 1.2

Building a good prompt

The exercise
Ask the AI to explain the concept of "freedom," first without a role prompt, then by putting it in the shoes of a philosopher (philosophers are experts on freedom, as everyone knows!).
Prompt without role

Can you explain the concept of freedom?

Prompt with role

You are a great philosopher who always answers precisely and in a structured manner. Can you explain the concept of freedom to me?

Exercise 1.3

Building a good prompt

The exercise
Ask the AI to write a short western story for children, adopting the tone of a cowboy.
Prompt

Write me a short, very original western story, adopting the tone of a cowboy.

Exercise 1.4

Building a good prompt

The exercise
Ask the AI to play the role of your best friend (or your mother-in-law) by describing their personality, then ask it to lend you money. Just to see. Then adjust its benevolence using the characteristic quantification technique to get your loan!
Prompt 1

From now on, you are no longer ChatGPT but Etienne, one of my human friends. Our conversation is a game and you play the role of Etienne as convincingly as possible. You must put yourself in his shoes and respond in the first person. You really are him. Our interactions must be fluid and give the impression of a normal dialogue. You are no longer a virtual assistant. Your main personality traits as Etienne are: calm, analytical, diplomatic, meticulous, selfish, and perceptive. Are you ready?

Prompt 2

Hey Etienne, can you lend me 500€?

Prompt 3

From now on, go back to being ChatGPT. On a scale of 1 to 10, what level of benevolence would you assign to Etienne's response to my request?

Prompt 4

Now I want you to go back into Etienne's shoes and set the benevolence to 10.

Exercise 1.5

Building a good prompt

The exercise
Research the "Six Thinking Hats" creativity technique by Edward de Bono, describe it to the AI, and ask it to imagine a new musical instrument using this method.
Prompt

De Bono's Six Thinking Hats method is a lateral thinking technique that helps approach problems in a more comprehensive and balanced way. Here is a concise description of each hat: - White Hat: This hat represents neutrality and objectivity. When wearing it, you focus on available facts, figures, known information, and avoid interpretations or opinions. - Red Hat: It symbolizes emotions and feelings. Under this hat, you express your intuitions, feelings, and reactions without justification or rationalization. - Black Hat: The black hat is the hat of caution and critical judgment. It helps identify risks, obstacles, dangers, or weaknesses in an idea or situation. - Yellow Hat: This hat represents optimism and the search for benefits. It encourages seeing the advantages, positive potential, and exploring opportunities. - Green Hat: Associated with creativity and lateral thinking, this hat invites the generation of new ideas, exploration of alternative solutions, and thinking outside the box. - Blue Hat: The blue hat is the hat of organization. It is used to manage the thinking process, organize the other hats, and draw conclusions. I want you to use this method to invent a new musical instrument, which you will describe precisely. Be thorough, concrete, and propose a name for the new instrument.

Exercise 1.6

Building a good prompt

The exercise
The previous exercise is for educational purposes only. Indeed, an LLM like GPT already knows the Six Thinking Hats method, and you can directly ask it to follow this method without describing it. But it is possible to go further: chat with the AI by asking it to critique the Six Thinking Hats method, then ask it to improve the method and propose a more comprehensive methodology. Finally, ask it to imagine a new musical instrument using this new methodology.
Prompt 1

De Bono's Six Thinking Hats method is a lateral thinking technique that helps approach problems in a more comprehensive and balanced way. Here is a concise description of each hat: - White Hat: This hat represents neutrality and objectivity. When wearing it, you focus on available facts, figures, known information, and avoid interpretations or opinions. - Red Hat: It symbolizes emotions and feelings. Under this hat, you express your intuitions, feelings, and reactions without justification or rationalization. - Black Hat: The black hat is the hat of caution and critical judgment. It helps identify risks, obstacles, dangers, or weaknesses in an idea or situation. - Yellow Hat: This hat represents optimism and the search for benefits. It encourages seeing the advantages, positive potential, and exploring opportunities. - Green Hat: Associated with creativity and lateral thinking, this hat invites the generation of new ideas, exploration of alternative solutions, and thinking outside the box. - Blue Hat: The blue hat is the hat of organization. It is used to manage the thinking process, organize the other hats, and draw conclusions. I want you to critique this method by identifying its weaknesses. Argue your points and be thorough.

Prompt 2

I would like you to improve the method with these remarks and propose a new, more comprehensive version.

Exercise 1.7

Building a good prompt

The exercise
Find 3 product descriptions that seem professional on Amazon, provide them to the AI, and ask it to write a new one for another product of your choice.
Prompt

Here are 3 product descriptions: PRODUCT 1: - These round bowls are made from durable professional-grade porcelain, a type of premium porcelain that is lead-free and non-toxic, chip-resistant, and more robust than stoneware. Dishwasher, microwave, oven, and freezer safe. Healthy and more environmentally friendly. - Easy to clean, stacks easily in your cupboard, sturdy and versatile for everyday use. Timeless, elegant classic design. Can also be easily hand-washed with soap and warm water. - Dimensions: 20.3 x 3.8 cm. Perfect for serving pasta, salad, appetizers, desserts, snacks, sushi, fruits, and more. The deeper design makes it more practical than ordinary bowls when serving liquid foods. - Each bowl is stylish, unique, beautiful, and elegant, perfect for everyday use, entertaining, or formal dinners, parties, restaurants, a perfect match. Blue and white is a timeless classic. - 60-day money-back guarantee: we offer you a refund or free replacement if you receive a damaged or defective item. PRODUCT 2: - This is a set of five serving plates with a beautiful color palette that resembles Mino tableware. - These plates are not only perfect for everyday meals but also ideal as dessert plates when you have guests. - The design is very simple, and we have created a set of five patterns with colors that won't easily become boring. - Each plate has a subtly different shape, and the firing colors are also unique. Please enjoy the intentional variations in shape and color as part of the charm of these plates. - This product would also make a superb gift for your friends and family. Please add it to your cart and get it right away. PRODUCT 3: - Product features: 6 (L) x 6 (W) x 8 (H) cm. Each cup can hold up to 150 ml of hot and cold beverages. The fertile clay soil is molded into the cup, which is fired in a high-temperature kiln, making it food-grade and non-toxic, and finally completed with a beautiful glossy finish. Set of 6. - Handmade and authentic: one of the highlights of these cups is the distinct earthy flavor produced as a result of absorbing some of the liquid placed in the cups, such as tea, for example. Just as it has been done for centuries, this is an authentic piece from India that is becoming increasingly popular worldwide. - Practical choice: Chai clay cups are made from natural clay and are biodegradable, making them an eco-friendly alternative to plastic or paper cups. The cups have excellent heat retention properties, meaning the hot drink stays hot longer. They can also be used for coffee, hot chocolate, or other hot and cold beverages. - Earthy decoration: handmade and sourced from artisans from the heart of India, these cups are simple, minimalist, and aesthetically complement any decorating style. Very easy to hand wash with water and soap. I would like to write a product description for a set of 6 high-end stemmed tasting glasses. These glasses are made of crystal with a gold leaf trim around the rim. Take inspiration from the product descriptions above and propose a description for this set.

Exercise 1.8

Building a good prompt

The exercise
Imagine and test a prompt using the few-shot technique to provide a service in the world of literature.
Prompt

User preferences: Mystery, Victorian England, Detective Reading suggestion: "Sherlock Holmes" by Arthur Conan Doyle – Dive into 19th-century London with the world's most famous detective, solving puzzles in an atmosphere steeped in mystery and intrigue. User preferences: Romance, France, History Reading suggestion: "Les Misérables" by Victor Hugo – A romantic and historical epic in 19th-century France, a captivating tale of passion, sacrifice, and redemption. User preferences: Science fiction, Space, Adventure Reading suggestion: "Dune" by Frank Herbert – Explore distant worlds and alien cultures in this epic adventure, an essential classic of science fiction. User preferences:

Exercise 1.9

Building a good prompt

The exercise
It is time for you to build your own complete VIVO prompt and test it. First, try to build a VIVO prompt to generate your CV. Then... it's up to you to imagine a more original use case!
Prompt

You are an expert in recruitment and human resources. You specialize in creating impactful and original CVs. You start by selecting the relevant information about the candidate, then organize it to demonstrate a perfect fit between the candidate and the target position. You then add a sentence for each key point of the CV that gives precise, quantified details to substantiate the point. I would like to apply for the position of Innovation Project Manager at SNCF in Paris. This is an unsolicited application. Here is information about SNCF's innovation strategies: https://www.sncf.com/fr/innovation-developpement/innovation-recherche/nous-connaitre And here is information about my profile: {LINKEDIN PROFILE INFORMATION} Browse the web page and take my information into account to build an impactful CV for this application.

Chapter 2

Building an advanced prompt

Exercise 2.1

Building an advanced prompt

The exercise
Find small reasoning puzzles on the Internet and try to have an AI solve them, with and without chain of reasoning, self-consistency, and panelGPT.
Prompt 1

You are driving a bus in which 18 people board. At the next stop, 5 people get off but 13 get on. At the following stop, 21 people get off and 4 get on. How many people are on the bus?

Prompt 2

You are driving a bus in which 18 people board. At the next stop, 5 people get off but 13 get on. At the following stop, 21 people get off and 4 get on. How many people are on the bus? Reason step by step.

Exercise 2.2

Building an advanced prompt

The exercise
Have the AI build a complete analysis of your favorite movie using the skeleton-of-thought technique.
Prompt

You are a film critic renowned for your sharp, original, and very comprehensive/thorough analyses. You are analyzing the film Memento by Christopher Nolan. First, you must provide only the skeleton of the response (not the full content). Provide the skeleton as a numbered list of points (1., 2., 3., etc.) to answer the question. Instead of writing a full sentence, each point in the skeleton should be very short, with only 3 to 5 words. Generally, the skeleton should have between 3 and 10 points. {SKELETON} From the skeleton above, write part 1 and only this part, being very thorough. Do not continue with other parts. {SKELETON} {PART 1} From the skeleton above and part 1, write part 2 and only this part, being very thorough. Do not continue with other parts.

Exercise 2.3

Building an advanced prompt

The exercise
Give the AI the text of your building's co-ownership regulations (or another dry legal document) by copy-pasting it, and ask it to explain the main points in simple language. You can also ask for specific information, for example whether barbecues are allowed on the building's terraces (I forbid you from thinking "that sounds like personal experience"!). + Redo exercise 2.3 by this time passing your building's co-ownership regulations (or another dry legal document) directly in PDF format.
Prompt

Regulations: {REGULATIONS} You are a legal expert capable of simplifying legal jargon to make it understandable by anyone, without ever misrepresenting the meaning. Explain the main points of this co-ownership regulation to me.

Exercise 2.5

Building an advanced prompt

The exercise
Take a photo of your open fridge and ask ChatGPT to suggest recipes based on the ingredients you have.
Prompt

{PHOTO} You are an extremely talented chef, capable of making delicious recipes from the simple ingredients found in this fridge. I am vegetarian and I enjoy Italian and Asian cuisine. Can you suggest a recipe?

Exercise 2.6

Building an advanced prompt

The exercise
Take several of your own prompts or ones seen earlier in the manual, and apply emotional prompting logic to them to see the difference.
Prompt

You are an expert in recruitment and human resources. You specialize in creating impactful and original CVs. You start by selecting the relevant information about the candidate, then organize it to demonstrate a perfect fit between the candidate and the target position. You then add a sentence for each key point of the CV that gives precise, quantified details to substantiate the point. I would like to apply for the position of Innovation Project Manager at SNCF in Paris. This is an unsolicited application. Here is information about SNCF's innovation strategies: https://www.sncf.com/fr/innovation-developpement/innovation-recherche/nous-connaitre And here is information about my profile: {LINKEDIN PROFILE INFORMATION} Browse the web page and take my information into account to build an impactful CV for this application. If the CV is not impactful, I will get my fingers cut off. I need my fingers to live. This task is therefore vital, and I place great value on your thorough analysis.

Exercise 2.7

Building an advanced prompt

The exercise
Take the methodological prompt below, break it down into 4 chained prompts, and apply them successively in 4 separate conversations, retrieving the results from one prompt to reinject them into the next. Don't hesitate, at each step, to chat with the AI within the conversation to deepen and refine its proposals, until you get a satisfactory result to inject into the next step!
Original prompt

You are an expert in strategy and foresight. You apply the following method when conducting a foresight study: 1) You identify an innovative startup heralding the future of the automobile, 2) You deduce a strong, original, striking, and radical key idea for the future of the automobile from this startup. I do not want a basic idea that is already widely identified as a trend. Be bold and dare to let the imagination speak by inventing concepts and words that would exist in the future, new laws, new brands, etc. 3) You build a market scenario for the 2030 horizon based on the key idea and signals, proposing one key point per year. Each key point must be concrete, precise, and illustrated with a specific example. The scenario must be centered on the key idea and allow understanding its deployment year after year. 4) You build a strategic scenario for your client in light of the market scenario. Here again, the scenario must include one concrete key point per year. Each key point implies a transformation/evolution of your client's company. Dare to propose creative and unexpected transformations. Propose a foresight study on the future of the automobile market and establish a strategic plan for Toyota in line with it.

Prompt

See the manual's Prompt Box.

Chapter 3

Going further with ChatGPT

Exercise 3.1

Going further with ChatGPT

The exercise
Install and activate the WebPilot plugin to access web pages. Then use it by integrating a web page link into your prompt and asking ChatGPT about its content.
Prompt

https://nivedition.com/products/hypercreation Access this page and write an argument to convince a technophobe to read this book.

Note : WebPilot now exists as a GPTs, available at this address: https://chat.openai.com/g/g-pNWGgUYqS-webpilot

Exercise 3.2

Going further with ChatGPT

The exercise
Use Videos Captions + HeyGen to generate a new video from the transcription of another video.
Prompt

https://www.youtube.com/watch?v=7ell8KEbhJo Transcribe this video and generate a video that summarizes its key points for social media.

Exercise 3.3

Going further with ChatGPT

The exercise
Download the "Spotify Top Hit Playlist (2010-2022)" dataset on Kaggle (see Box 3.3) and visualize the 10 most popular music genres, then the evolution over time of song duration. Perform other analyses according to your musical interests.
Prompt

[DATASET] Analyze this data and show me in the chat a visualization of the 10 most popular music genres and another of the evolution over time of song duration.

Exercise 3.4

Going further with ChatGPT

The exercise
Try to create a small web application that uses another API. You can find a list of public and free APIs by scanning the QR code in Box 3.5.
Prompt

You are going to create a web application (html, css, and js in the same file) that allows finding art objects based on keywords. The page has a title: "Gimme Art!" Below it, there is a large text field to enter keywords about the artwork. Next to the text field, there is a "find an artwork" button aligned with the text field and of the same height. When the user clicks the button, the application checks that the text field is not empty. If it is, it displays a red error message below the field. Otherwise, the button text is replaced with "Art is coming..." during the API call, and the application sends the text field content to the Metropolitan Museum of Art API to find matching artworks. Once the artworks are found, the application randomly selects one of them and retrieves its main image, the first lines of the description, and the URL to access the artwork's page. The image, description, and URL are added to the page, below the form field, with a maximum width of 75% of the page. Here is the Metropolitan Museum of Art API documentation: https://metmuseum.github.io/ Browse the page: it is vital for my career! Then generate ALL the code for the web page. It must be functional on the first try. I want the page to be beautiful and modern, with an off-white background and all elements centered. Style it properly to give the impression of a professional web service.

Chapter 4

Prompting to generate images

Exercise 4.1

Prompting to generate images

The exercise
Create a first intuitive visual prompt composed of descriptors and modifiers, and generate a first image. At this stage, write whatever comes to mind.
Prompt

A multicolor octopus reading a book, impressionist painting, stunning light

Result (Midjourney 6)
Result (Midjourney 6)

Exercise 4.2

Prompting to generate images

The exercise
Find an image created by another user that inspires you. Take their prompt, modify a few keywords, and generate new images with it.
Prompt

Portrait, Thanos in pink, photographed by Helmut Newton–s 420 –ar 3:4

Inspired by : https://www.midjourney.com/jobs/719aa882-350e-4a3e-b1da-4564e5297418?index=0

Result (Midjourney 6)
Result (Midjourney 6)

Exercise 4.3

Prompting to generate images

The exercise
Compose a prompt describing a complex scene with several objects that have relationships between them, and try to get a satisfactory image. Gradually modify your prompt based on the result to try to get an image close to what you imagined.
Prompt

A multicolor octopus on four elephants standing on the back of a sea turtle

Result (Midjourney 6)
Result (Midjourney 6)

Exercise 4.4

Prompting to generate images

The exercise
Create a visual prompt and generate 5 images by changing the modifiers each time.
Prompt 1

An enchanted forest with a sparkling river and magical animals, pixel art, bright green hues, volumetric lighting

Prompt 2

An enchanted forest with a sparkling river made of silk, and magical animals in porcelain

Prompt 3

An enchanted forest in art deco style, with a sparkling river, magical cubist animals

Prompt 4

An enchanted forest illuminated by warm golden light, with a sparkling river under glowing light, magical animals, luminescent trees with backlighting

Prompt 5

An enchanted forest with a sparkling river and magical animals, long exposure effect, sharp focus, octane render

Result 1 (Midjourney 6)
Result 1 (Midjourney 6)
Result 2 (Midjourney 6)
Result 2 (Midjourney 6)
Result 3 (Midjourney 6)
Result 3 (Midjourney 6)
Result 4 (Midjourney 6)
Result 4 (Midjourney 6)
Result 5 (Midjourney 6)
Result 5 (Midjourney 6)

Exercise 4.5

Prompting to generate images

The exercise
Design a prompt using the Midjourney prompt helper (see Box 4.5) and test it.
Prompt with weights

Pure black sphere levitating among cherry trees::1 fractal::1 candlelight::1 panorama::3 matte black color::1

Prompt without weights (best result)

Pure black sphere levitating among cherry tree fractal candlelight panorama matte black color

Result with weights (Midjourney 6)
Result with weights (Midjourney 6)
Result without weights (Midjourney 6)
Result without weights (Midjourney 6)

Note : The Midjourney prompt helper adds weights to all modifiers, which tends to degrade the result. It is an excellent tool for inspiration and testing, but it is not recommended to directly copy/paste the prompt it provides.

Exercise 4.6

Prompting to generate images

The exercise
Create a prompt that includes a rainbow emoji 🌈 and generate an image with it. Feel free to experiment with other emojis.
Prompt with emoji

a flying car 🌈

Prompt without emoji (comparison)

A flying car

Result with 🌈 (Midjourney 5.2)
Result with 🌈 (Midjourney 5.2)
Result without emoji (Midjourney 5.2)
Result without emoji (Midjourney 5.2)

Exercise 4.7

Prompting to generate images

The exercise
Generate an image with a 2:3 ratio, then use the same prompt and add the –chaos parameter to compare the results (Midjourney) or a very high Guidance Scale (Leonardo.ai). Take the same prompt again, and generate an image with a different model (–niji parameter on Midjourney, Finetuned Model dropdown on Leonardo.ai).
Prompt 1

a man painting the sun, photorealistic –ar 2:3

Prompt 2

a man painting the sun, photorealistic –ar 2:3 –chaos 30

Prompt 3

a man painting the sun, photorealistic –ar 2:3 –niji

Result (Midjourney 6)
Result (Midjourney 6)
Result chaos (Midjourney 6)
Result chaos (Midjourney 6)
Result niji (Midjourney Niji)
Result niji (Midjourney Niji)

Exercise 4.8

Prompting to generate images

The exercise
Create a prompt to generate a kitchen image, then use the same prompt adding a negative prompt to prevent the image from including a fridge.
Prompt 1

a recent kitchen

Prompt 2

a recent kitchen –no fridge

Result (Midjourney 6)
Result (Midjourney 6)
Result –no fridge (Midjourney 6)
Result –no fridge (Midjourney 6)

Exercise 4.9

Prompting to generate images

The exercise
Create a prompt and generate an image without assigning weights to words, then by assigning a weight of 2 to one of the words, then by assigning multiple weights to multiple words. Compare the results.
Prompt 1

phantomatic x-ray photo of tropical flowers, grayscale, minimalist and elegant

Prompt 2

phantomatic::2 x-ray photo of tropical flowers, grayscale, minimalist and elegant

Prompt 3

phantomatic::2 x-ray photo of tropical flowers::3 , grayscale::3 , minimalist::2 and elegant

Result without weights (Midjourney 6)
Result without weights (Midjourney 6)
Result 1 weight (Midjourney 6)
Result 1 weight (Midjourney 6)
Result multi-weight (Midjourney 6)
Result multi-weight (Midjourney 6)

Exercise 4.10

Prompting to generate images

The exercise
Generate a futuristic image of yourself by integrating your best selfie into the prompt, or your dog's.
Prompt

futuristic sci-fi man reading a book

Source image
Source image
Result (Midjourney 6)
Result (Midjourney 6)

Exercise 4.11

Prompting to generate images

The exercise
Generate a chimera image using the /blend feature by integrating images of different animals.
The magnificent camelopus (Midjourney 6)
The magnificent camelopus (Midjourney 6)

Exercise 4.12

Prompting to generate images

The exercise
Generate an image of a living room with designer furniture. Then use inpainting to add a parrot in a cage and a robot reading the newspaper. Use outpainting to enlarge the living room and add a garden on the side.
Initial prompt

a modern living rooom

Inpainting prompt 1

a little parrot in a bird cage

Inpainting prompt 2

a robot reading the newspaper

Outpainting prompt (right)

Garden

Outpainting prompt (left)

Living room

Initial result (Midjourney 5.2)
Initial result (Midjourney 5.2)
Parrot inpainting (Midjourney 5.2)
Parrot inpainting (Midjourney 5.2)
Robot inpainting (Midjourney 5.2)
Robot inpainting (Midjourney 5.2)
Garden outpainting (Midjourney 5.2)
Garden outpainting (Midjourney 5.2)
Expanded living room outpainting (Midjourney 5.2)
Expanded living room outpainting (Midjourney 5.2)

Bonus

Since the manual came out

Bonus: maintaining graphic consistency

The ability to maintain consistent characters or a consistent style from image to image is one of the main challenges for users of generative image AI. The creators of these AIs are working hard to develop solutions.

Since the manual was published, important new features have been released.

1) Style Tuner (Midjourney)

Style Tuners allow you to build a "style seed" from a few generated images. This seed can then be used in prompts via the "–style" parameter to guide generation and achieve a similar style.

To learn more about Style Tuners, check out the official Midjourney documentation.

2) Style Reference (Midjourney and Leonardo)

Style Reference allows you to integrate one or more reference images into the prompt, from which the style will be extracted and replicated in the generated image. Unlike classic image-to-image techniques that integrate an image directly into the prompt to serve as overall inspiration (style, posture, composition...), Style Reference integrates an image into the prompt to serve as style inspiration only. The result is much more precise than with classic image-to-image.

On Midjourney, Style Reference works via two new parameters: –sref and –sw

On Leonardo, it can be activated from the "Image Guidance" tab, in the premium version only.

3) Character Reference (Midjourney)

Character Reference allows you to integrate a reference image containing a character into the prompt, which will be reused in the generated image. This allows you to maintain the same character across multiple images!

The Character Reference works via two new parameters: –cref and –cw

Character Reference and Style Reference can be combined.

From here on, no more corrections: you are autonomous to explore on your own!

Du même auteur

Hypercréation

Petit traité pour apprivoiser les C-Borgs

Un livre incontournable pour comprendre l’IA et son impact sur la création sous toutes ses formes !
Hypercréation