Home/Blog

Mastering the art of prompt engineering

AIPrompting

Mastering the art of prompt engineering: your guide to effective generative AI

Generative artificial intelligence (AI) has taken over our daily lives, transforming the way we work, create and communicate. At the heart of this revolution lies an essential skill: prompt engineering, the art of writing clear, precise instructions to guide AI. Whether you're a professional looking to optimise your workflow, a creative in search of inspiration or simply curious about new technologies, this guide gives you the keys to master this art and get the most out of language models.

What is prompt engineering?

Prompt engineering means designing and refining "prompts" — the instructions you give an AI — to get more accurate, relevant and creative results. It's a dialogue between human and machine, where the quality of the question directly affects the quality of the answer. Mastering prompt engineering lets you turn AI into a powerful collaborator that can generate text, code, images and much more, to suit your specific needs.

The fundamentals of an effective prompt

To get started, here are a few basic principles to keep in mind when writing your prompts:

  • Set a clear goal: Before writing your prompt, know exactly what you expect from the AI. Do you want a summary, an analysis, a bullet list, a poem? Be precise in your request.
  • Use action verbs: Verbs like "Write", "Analyse", "Compare", "List" or "Summarise" give the AI a clear direction.
  • Specify format and length: Say whether you want a 500-word text, a 10-point list or a comparison table. This helps the AI structure its answer.
  • Define the target audience: A text for experts won't be written the same way as one for the general public. Specify who the content is for.
  • Provide context and examples: Give the AI the information it needs to understand your request. You can even give it an example of the style or format you expect.

Advanced techniques to go further

Once you've mastered the basics, you can explore more advanced techniques to refine your prompts:

  • Give the AI a role: Ask the AI to act as an expert in a specific field ("Act as a digital marketing expert…") to get more specialised answers.
  • Use constraints: Set limits to guide the AI's creativity. For example, ask it not to use certain words or to adopt a particular tone.
  • Iterate and refine: Prompt engineering is an iterative process. Don't hesitate to rephrase and adjust your prompts based on the AI's answers to gradually get closer to the result you want.

JSON structure of a video prompt

When working with FLOW VEO 3 or SORA 2, you'll find yourself working with prompts in JSON. This prompt format breaks the request down into several logical objects: the video's general parameters, the overall style, the audio and, above all, a sequence of detailed scenes.

{

"prompt": {

"description": "A character walks alone down a futuristic street lit by neon signs",

"style": {

"visual": "cinematic, photorealistic",

"color_palette": "cold, neon blue and purple",

"camera": {

"movement": "slow dolly in",

"angle": "slight low angle"

},

"lighting": "night, cyberpunk mood"

},

"characters": [

{

"appearance": "adult, dark coat, slender silhouette",

"emotion": "determined, mysterious",

"action": "walks down the street"

}

],

"audio": {

"music": "slow electronic ambience",

"sound_effects": ["rain", "distant voices", "city rumble"]

}

}

Section by section

  1. description — This is the heart of the prompt: one clear sentence that tells the scene. The AI needs a concise pitch, as if you were summing up the scene for a storyboard artist.
  1. style — Everything that sets the visual mood.
  • visual: photorealistic, cartoon, oil painting, etc.
  • color_palette: specify a range ("warm gold", "neon night").
  • camera: moves, angles, framing. AI models respond well to film vocabulary.
  • lighting: type of lighting (natural, dramatic, studio).
  1. characters — The list of characters on screen.
  • appearance describes the look.
  • emotion guides the expression or posture.
  • action specifies what they are doing. Without it, the AI may invent off-topic details.
  1. audio — Some AI models already handle music and sound design, others don't. Including this section prepares for the future. You can specify a musical mood or a list of key sounds.

In conclusion, mastering prompt engineering is now a high-value skill. It's by learning to talk effectively with AI that we can unlock its full potential and make it a real partner in our daily work. So don't wait: experiment, iterate and become a master of the art of prompting!

A project, or a team to train?

Thirty minutes on a video call to find out if it's worth it. No sales pitch.

BOOK 30 MINUTES SEE THE WORKSHOPS