Prompting Tips
Effective Prompt Structure
To generate high-quality avatars, you may take the following structure as your staring point.
- Basic Description: gender, ethnicity
- Physical Features: Hair, eyes, facial features
- Clothing/Style: What they're wearing
- Background: Setting or background description
- 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"
]