Step-By-Step How to Write Good Prompts

Before writing a prompt, first clearly define what you want to achieve. Having a specific goal in mind will help guide your prompt writing process.

Do you want to:

  • Generate an image
  • Write a story
  • Summarize information
  • Create a poem

Knowing your end goal will allow you to craft a prompt that provides the AI with clear instructions.

Define Required Elements

Once you know your goal, think about the key elements you want included in the output.

For an image prompt, important elements could include:

  • Subject matter
  • Style
  • Colors
  • Composition

For a writing prompt, you may specify:

  • Genre
  • Tone
  • Setting
  • Characters
  • Plot points

Clearly outlining the necessary components will set your AI assistant up for success.

Use Clear Language

Strive to use simple, straightforward language when writing your prompt. Flowery, overly complex phrases can confuse the AI.

Good prompts get straight to the point using clear vocabulary. For example:

  • Create a painting of a red flower in a blue vase in the impressionist style.
  • Write a 1000 word science fiction story about a robot exploring a post-apocalyptic city.

Provide Context

Giving context through vivid details and examples focuses the AI’s efforts. Describe the scene you want brought to life. Transport the AI into that world through descriptive language.

For instance, prompt the AI to:

  • Paint an oil portrait of a girl with blonde braided hair, rosy cheeks, and bright green eyes wearing a pink calico dress posing in a field of yellow flowers with a barn in the background.
  • Write a hard-boiled detective story opening with our protagonist sitting in a smoky office, fedora pulled down, bottle of bourbon on his desk next to a Browning Hi-Power pistol.

Leverage Examples

Providing sample inputs demonstrates exactly what you’re looking for. The AI will analyze these to understand the elements that make them effective.

For an image prompt, you could include example paintings with the style you want. Or for writing, provide excerpted stories showing the tone you’re after.

Draw From Quality Sources

Pull your examples from reputable, high-quality sources to give the AI the best chance of success. While imitation isn’t always perfect, better inputs create better outputs.

Spend time finding great samples that clearly showcase what you want the AI to emulate. Input quality directly impacts output quality.

Refine Through Iteration

Rarely will you craft the perfect prompt on the first go. Instead, view prompt writing as an iterative process.

Review Results

After generating your initial results, carefully review what worked well and what missed the mark. Identify areas needing improvement.

Did the image subject not match what you envisioned? Was the story tone too somber? Comparing your expectations against actual output will reveal prompt weaknesses.

Revise and Retry

Use what you learned from reviewing to revise your original prompt, emphasizing the elements that need adjustment.

Then give your refined prompt another go and see if the new results align better with your creative vision.

Be prepared to repeat this process multiple times, continually refining your prompt based on review.

Helpful Prompt Writing Resources

Here are some useful websites with more prompt writing tips: