Skip to content

Prompting Guide for LightDiffusion

Welcome to the LightDiffusion Prompting Guide. This document will help you understand how to create effective prompts for generating high-quality images using LightDiffusion.

Table of Contents

  1. Introduction
  2. Basic Prompt Structure
  3. Advanced Prompt Techniques
  4. Prompt Examples
  5. Tips and Tricks
  6. Troubleshooting

Introduction

LightDiffusion is a powerful tool for generating images from text prompts. By understanding how to structure your prompts, you can create stunning visuals with ease.

Basic Prompt Structure

A basic prompt in LightDiffusion consists of a description of the desired image. Here is the general structure of the prompt.txt file :

prompt: <description of the image>
neg: <negative prompts>
w: <width>
h: <height>
cfg: <cfg scale>

Example

prompt: a beautiful sunset over the mountains, vibrant colors, high resolution
neg: low quality, blurry
w: 1024
h: 768
cfg: 7

Advanced Prompt Techniques

Using Parentheses for Emphasis

You can use parentheses to emphasize certain parts of your prompt. The more parentheses you use, the more emphasis is placed on that part of the prompt.

prompt: ((a beautiful sunset)), over the mountains, (vibrant colors), high resolution

Using Colons for Weight

You can use colons to increase the weight of certain parts of your prompt. The higher the weight, the more importance is given to that part of the prompt.

prompt: (a beautiful sunset:1.2), over the mountains, vibrant colors, (high resolution:1.5)

Combining Multiple Concepts

You can combine multiple concepts in a single prompt to create more complex images.

prompt: a futuristic cityscape, neon lights, flying cars, (cyberpunk style)

[!TIP] Use High-Quality Descriptions: Detailed and specific descriptions yield better results.

Negative Prompts

Negative prompts help you avoid unwanted elements in your generated images.

neg: low quality, blurry, distorted

[!TIP] Experiment with CFG Scale: The CFG scale controls the adherence to the prompt. Higher values result in more adherence but can lead to overfitting.

Quality tokens

Being trained on image datasets, you can use quality tokens/keywords to improve the quality of the generated images.

masterpiece, ****,  best quality, (extremely detailed CG unity 8k wallpaper, ultra-detailed, best shadow), (beautiful detailed face, beautiful detailed eyes), High contrast, ((colourful paint splashes on transparent background, dulux,)), ((caustic)), dynamic angle, beautiful detailed glow, wallpaper, (detailed background), (best illumination, an extremely delicate and beautiful), hyper detail, intricate details,

Embeddings

You can use embeddings in the negative prompts to have premade negative prompts, reducing the need to write them out.

neg: (embedding:EasyNegative), (embedding:badhandv4:1.2)

Camera Angles

You can specify the camera angle in your prompt to control the perspective of the generated image.

dynamic angle, top-down view, bird's eye view, close-up shot, wide-angle shot, pov, third-person perspective, panoramic view, cowboy shot, full body, looking at viewer, ...

Lighting

You can specify the lighting conditions in your prompt to achieve the desired effect.

best illumination, cinematic light, dramatic light, beautiful glow, chromatic aberration, high contrast, dynamic lighting, soft shadows, warm light, cool light, natural light, ...

Flux

Prompting for Flux is a bit different than LightDiffusion, since you don’t have a negative prompt. You should start your prompt with a phrase in natural language, and then add the quality tokens and other details.

prompt: a beautiful sunset over the mountains, vibrant colors, high resolution, (best quality, ultra-detailed, high contrast)

Prompt Examples

Simple Prompt

prompt: a serene beach at sunrise
neg: low quality, dark
w: 800
h: 600
cfg: 6

Detailed Prompt

prompt: (a majestic dragon), flying over a medieval castle, (high detail), (fantasy art)
neg: cartoonish, low quality
w: 1024
h: 1024
cfg: 8

Artistic Style

prompt: a portrait of a woman, (in the style of Van Gogh), (impressionist painting)
neg: low quality, abstract
w: 768
h: 1024
cfg: 7

Advanced

prompt: masterpiece, best quality, (extremely detailed CG unity 8k wallpaper, masterpiece, best quality, ultra-detailed, best shadow), (detailed background), (beautiful detailed face, beautiful detailed eyes), High contrast, (best illumination, an extremely delicate and beautiful),1girl,((colourful paint splashes on transparent background, dulux,)), ((caustic)), dynamic angle,beautiful detailed glow,full body, cowboy shot, colorful, 1girl, white hair, purple eyes, dual wielding, sword, holding sword, blue flames, glow, glowing weapon, light particles, wallpaper, chromatic aberration, (detailed background,dark fantasy), (beautiful detailed face), high contrast, (best illumination, an extremely delicate and beautiful), ((cinematic light)), colorful, hyper detail, dramatic light, intricate details, depth of field,black light particles,(broken glass),magic circle

alt text

Tips and Tricks

  • Experiment with CFG Scale: The CFG scale controls the adherence to the prompt. Higher values result in more adherence but can lead to overfitting.
  • Use High-Quality Descriptions: Detailed and specific descriptions yield better results.
  • Leverage Negative Prompts: Use negative prompts to filter out unwanted elements.
  • Iterate and Refine: Generate multiple images and refine your prompts based on the results.

Troubleshooting

If you encounter issues with your prompts, consider the following:

  • Check for Typos: Ensure there are no typos in your prompt.
  • Simplify Your Prompt: Start with a simple prompt and gradually add complexity.
  • Adjust CFG Scale: Experiment with different CFG scale values.
  • Refer to the FAQ: Check the FAQ for common issues and solutions.

Wish you good generations!