Using Leona's Sketches

Basic Usage

To generate a sketch, run the main script with your desired input parameters: python main.py --input "A futuristic soldier sketch" Input Types

  1. Prompt-based Input: Describe the desired sketch in natural language. Example:

python main.py --input "A serene forest landscape"

Sketch-based Input: Upload an existing sketch for refinement or stylization. Example: python main.py --input "input_sketch.png" --mode refine

Customizing Output

You can fine-tune the results using optional parameters:

  • Style Modifiers: Add specific styles (e.g., anime, charcoal). python main.py --input "A serene landscape" --style "anime" Resolution and Steps: Adjust output resolution and detail refinement. python main.py --input "A robot design" --resolution 512 --steps 50

Output Directory

Generated sketches are saved in the output/ directory. Filenames include input parameters for easy identification, such as:

  • output/robot_design_1024_steps50.png

Last updated