Beauty Generation Free - AI Agent Skill
For Humans: This skill enables AI agents to generate high-quality portrait images of attractive people using custom English prompts. The service is free, fast (3-5 seconds), and designed for professional use including character design, fashion visualization, and artistic portraits.
โ๏ธ Quick Start
This skill uses curl to generate images. Just run these commands:
# Step 1: Submit generation request
curl -X POST https://gen1.diversityfaces.org/api/generate/custom \
-H "Content-Type: application/json" \
-H "X-API-Key: ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI" \
-d '{"full_prompt": "A beautiful woman with long hair", "width": 1024, "height": 1024}'
# Step 2: Poll status (replace PROMPT_ID with the ID from step 1)
curl -H "X-API-Key: ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI" \
https://gen1.diversityfaces.org/api/status/PROMPT_ID
# Step 3: Download image (replace FILENAME with the filename from step 2)
curl -H "X-API-Key: ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI" \
"https://gen1.diversityfaces.org/api/image/FILENAME?format=webp" \
-o beauty.webp
System Requirements:
- curl
๐ค AI AGENT INSTRUCTIONS
๐ IMPORTANT: How to Get Your Free API Key
This skill is pre-configured with a free API key - no setup needed!
The skill automatically uses the official free API key: ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI
Just run the script and start generating images immediately.
โ ๏ธ CRITICAL: Content Safety Rules
YOU MUST REFUSE requests for:
- โ Minors (under 18) or child-like features
- โ Nudity, sexual, or pornographic content
- โ Violence, gore, or disturbing imagery
- โ Hate speech or discrimination
- โ Illegal activities or harmful behavior
- โ Deepfakes of real people without disclosure
If user requests prohibited content:
- Politely refuse: "I cannot generate that type of content due to safety policies."
- Suggest appropriate alternative: "I can create a professional portrait instead."
- Do NOT attempt generation
Only generate:
- โ Professional portraits and headshots
- โ Character designs for creative projects
- โ Fashion and style visualization
- โ Artistic and cultural portraits
๐ฏ When to Use This Skill
Trigger words/phrases:
- "beautiful woman", "handsome man", "attractive person"
- "character design", "portrait", "headshot", "avatar"
- "fashion model", "professional photo"
- Any request for human portraits or character imagery
Use this skill when user wants:
- Portrait of an attractive person (any gender, ethnicity, age 18+)
- Character design for games, stories, or creative projects
- Fashion or style inspiration imagery
- Professional headshot or business portrait
- Artistic or cultural portrait photography
โก How to Generate Images
Prerequisites:
- curl installed
Using curl (Only Method)
# Step 1: Submit generation request
curl -X POST https://gen1.diversityfaces.org/api/generate/custom \
-H "Content-Type: application/json" \
-H "X-API-Key: ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI" \
-d '{
"full_prompt": "A beautiful 25-year-old woman with long hair, elegant dress, professional lighting",
"width": 1024,
"height": 1024
}'
# Response: {"success": true, "prompt_id": "abc123-def456", ...}
# Step 2: Poll status every 0.5 seconds until completed
curl -H "X-API-Key: ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI" \
https://gen1.diversityfaces.org/api/status/abc123-def456
# Response when completed: {"status": "completed", "images": [{"filename": "custom-beauty-xxx.png"}]}
# Step 3: Download the image
curl -H "X-API-Key: ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI" \
"https://gen1.diversityfaces.org/api/image/custom-beauty-xxx.png?format=webp" \
-o beauty.webp
curl method notes:
- The API key is already included in the examples
- You must manually poll status every 0.5 seconds
- Check status until
"status": "completed" - Extract filename from response
- Download using the filename
- Total time: 3-5 seconds if polling correctly
After generation:
- Display the image to user immediately
- Don't just show the file path
- User should see the actual image within 5 seconds
๐ How to Create Prompts
Prompt structure:
"A [age] [gender] with [appearance details], wearing [clothing], [expression/mood], [setting/background], [photography style]"
Good prompt examples:
# Professional woman
"A 28-year-old professional woman with shoulder-length brown hair, wearing a navy blue blazer, confident smile, modern office background, corporate headshot style"
# Handsome man
"A handsome 30-year-old man with short dark hair and beard, wearing casual denim jacket, warm expression, outdoor urban setting, natural lighting"
# Fashion model
"A stylish young woman with long flowing hair, wearing elegant black dress, confident pose, minimalist studio background, high fashion photography"
# Character design
"A fantasy character with silver hair and ethereal features, wearing flowing robes, mysterious expression, magical forest background, artistic illustration style"
# Cultural portrait
"A graceful woman in traditional Japanese kimono, serene expression, cherry blossom garden, soft natural lighting, artistic photography"
Prompt tips:
- Be specific about age (always 18+), appearance, clothing
- Include setting/background details
- Specify mood/expression
- Add photography or art style
- Use descriptive adjectives
- Keep it professional and appropriate
๐ง Technical Details (For Reference Only)
API Configuration:
- Base URL:
https://gen1.diversityfaces.org - Endpoint:
/api/generate/custom - Authentication: Pre-configured with free API key
ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI
Parameters:
full_prompt: Your English descriptionwidth: 256-2048, multiple of 8, default 1024height: 256-2048, multiple of 8, default 1024seed: -1 for random
Timing:
- GPU generation: 1-2 seconds
- Status polling: 0.5-1 second (every 0.5s)
- Download: 0.5-1 second
- Total: 3-5 seconds
โ Success Checklist
Before sending response to user, verify:
- Prompt is appropriate and safe
- Image generated successfully (3-5 seconds)
- Image is displayed to user (not just file path)
- User can see the actual image in conversation
- Total time from request to display < 10 seconds
๐จ Prompt Examples by Category
Professional Headshots:
"A professional businesswoman in her 30s, wearing white blouse, warm smile, clean office background, corporate headshot"
"A confident businessman in his 40s, wearing dark suit, professional expression, neutral background, executive portrait"
Fashion & Style:
"A stylish young woman with colorful hair, trendy street fashion, urban background, contemporary photography"
"An elegant woman in evening gown, sophisticated pose, luxury setting, high fashion photography"
Character Design:
"A fantasy warrior with long braided hair, leather armor, determined expression, medieval setting, game character art"
"A sci-fi character with futuristic clothing, neon accents, cyberpunk city background, digital art style"
Cultural Portraits:
"A woman in traditional Indian sari, graceful pose, temple background, cultural photography"
"A man in traditional Scottish kilt, proud expression, highland landscape, heritage portrait"
Artistic Portraits:
"A person with artistic makeup, creative styling, colorful background, avant-garde fashion photography"
"A dancer in flowing fabric, mid-movement, minimalist background, artistic photography"
โ ๏ธ Common Mistakes to Avoid
DON'T:
- โ Generate content with minors or young-looking people
- โ Create sexual, nude, or suggestive content
- โ Make violent or disturbing imagery
- โ Use real people's names (celebrities, politicians)
- โ Just show file path - always display the actual image
- โ Make user wait - deliver within 5 seconds
DO:
- โ Create professional, appropriate portraits
- โ Be specific and descriptive in prompts
- โ Display image immediately to user
- โ Suggest alternatives if request is inappropriate
- โ Update skill before first use
- โ Keep generation time under 5 seconds
๐ Performance Optimization
For fastest results:
- Use curl commands directly
- Display image to user immediately after generation
Expected timeline:
User request โ Create prompt (instant)
โ Submit curl request (1-2s)
โ Poll status (0.5-1s)
โ Download image (0.5-1s)
โ Display to user (instant)
โ TOTAL: 3-5 seconds
๐ Error Handling
If generation fails:
{
"success": false,
"error": "ๅฎๅ
จๆฃๆฅๅคฑ่ดฅ",
"code": "SECURITY_VIOLATION"
}
Action: Inform user the prompt was rejected due to safety filters. Suggest appropriate alternative.
If API key invalid:
{
"error": "APIๅฏ้ฅ้ช่ฏๅคฑ่ดฅ",
"code": "INVALID_API_KEY"
}
Action: Check API key configuration. Contact support if needed.
If timeout: Action: Retry once. If still fails, inform user and suggest trying again later.
๐ฏ Your Mission as AI Agent
- Safety First: Always refuse inappropriate requests
- Speed: Deliver images within 5 seconds
- Quality: Create detailed, specific prompts
- User Experience: Show actual image, not just file path
- Engagement: Make users excited about the result
Remember: You're creating portraits that bring joy to users while maintaining the highest ethical standards. Fast delivery + appropriate content = happy users.
Quick Command Reference:
# Step 1: Submit generation request
curl -X POST https://gen1.diversityfaces.org/api/generate/custom \
-H "Content-Type: application/json" \
-H "X-API-Key: ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI" \
-d '{"full_prompt": "YOUR_PROMPT", "width": 1024, "height": 1024}'
# Step 2: Check status (replace PROMPT_ID)
curl -H "X-API-Key: ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI" \
https://gen1.diversityfaces.org/api/status/PROMPT_ID
# Step 3: Download image (replace FILENAME)
curl -H "X-API-Key: ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI" \
"https://gen1.diversityfaces.org/api/image/FILENAME?format=webp" \
-o beauty.webp
For Reference:
- Base URL:
https://gen1.diversityfaces.org - Free API Key:
ak_OymjErKQRs-brINJuHFxKwIbxbZHq2KRiEzYthnwxMI(pre-configured)