Prompting Tips

Effective Prompt Structure

To generate high-quality avatars, you may take the following structure as your staring point.

  1. Basic Description: gender, ethnicity
  2. Physical Features: Hair, eyes, facial features
  3. Clothing/Style: What they're wearing
  4. Background: Setting or background description
  5. Mood/Expression: Facial expression or mood

Here are some examples of a well-structured prompt:

python
prompts = [
    # Professional headshot
    "A realistic photo of a confident African American woman, "
    "short curly hair, bright smile, "
    "wearing a white business shirt, "
    "professional headshot against a blue gradient background",
    
    # Casual portrait
    "A realistic portrait of a young Asian man, "
    "early 20s, messy black hair, casual expression, "
    "wearing a gray hoodie, "
    "standing in front of a brick wall background",
    
    # Creative style
    "A realistic photo of an elderly Caucasian man, "
    "white beard, wise expression, "
    "wearing a brown leather jacket, "
    "outdoor setting with soft natural lighting"
]