Skip to main content

Prompt Engineering

Introduction


Workflow

To get as close to the imagined concept and as efficiently as possible,the following workflow is proposed:

  1. Checkpoint selection: Each model is trained for specific output. Use the right one!
  2. Use prompt perfector to get to a good descriptive prompt
  3. Use img2txt (CLIP) to retrieve a prompt from an example image that can be used to get detailed prompts for specific features
  4. Use a fixed seed, in order to same results for the same prompt.
  5. Use relative low resolution, but at the desired aspect ratio.
  6. Iterate the prompt until the concept is mainly displayed.
  7. Finalize the details. Upscale image and set higher iterations. Fine-tune the prompt until all details are correct.
  8. Save image and save prompt & settings.

Prompt perfecters

Using ChatGPT to optimize the prompt is efficient, because it is not always clear how the AI will respond to a certain prompt. There are templates available to help kickstart the prompt perfectioning via ChatGPT.

Prompt guides