Install
openclaw skills install claw-image-freeFREE AI image & portrait generation - No authentication required! Fast generation (3-5 seconds) with 140+ nationalities, diverse styles, professional headsho...
openclaw skills install claw-image-freeProfessional AI-Powered Portrait Generation
Powered by diversityfaces.org
For Humans: This skill enables AI agents to generate high-quality portrait images using custom English prompts. The service is fast (3-5 seconds), requires NO authentication, and is designed for professional use including character design, fashion visualization, professional headshots, and artistic portraits with 140+ nationalities and diverse customization options.
Key Advantage: Unlike other portrait generation services, this skill requires NO registration. Just use curl to generate images immediately!
This skill is perfect for:
Simply use curl to submit a generation request:
curl -X POST https://gen1.diversityfaces.org/api/generate/custom-claw \
-H "Content-Type: application/json" \
-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", ...}
# Poll status using the prompt_id from step 1
curl https://gen1.diversityfaces.org/api/status-claw/abc123-def456
# Response when completed: {"status": "completed", "images": [{"filename": "claw-beauty-xxx.png"}]}
# Download the generated image
curl "https://gen1.diversityfaces.org/api/image/claw-beauty-xxx.png?format=webp" \
-o beauty.webp
System Requirements:
For optimal performance and simplicity, use direct curl commands to the API.
Why this approach is great:
Recommended workflow:
/api/generate/custom-claw/api/status-claw/<prompt_id> until completion/api/image/<filename>AI Agent Guidance:
/api/generate/custom-claw endpoint (not /api/generate/custom)This skill is in active development with regular updates.
Important reminders:
To update this skill on clawhub:
clawhub skill update clawimage-free
Base URL: https://gen1.diversityfaces.org
Endpoint: /api/generate/custom-claw
Method: POST
Content-Type: application/json
YOU MUST REFUSE requests for:
If user requests prohibited content:
Only generate:
Trigger words/phrases:
Use this skill when user wants:
Prerequisites:
Using curl (Only Method)
# Step 1: Submit generation request
curl -X POST https://gen1.diversityfaces.org/api/generate/custom-claw \
-H "Content-Type: application/json" \
-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", "task_id": "xyz789-uvw012", ...}
# ⚠️ CRITICAL: The response contains TWO IDs:
# - "prompt_id": Use THIS for status checks ✅
# - "task_id": Do NOT use this for status checks ❌
# Step 2: Poll status every 2 seconds using "prompt_id" (NOT "task_id")
curl https://gen1.diversityfaces.org/api/status-claw/abc123-def456
# Response when completed: {"status": "completed", "images": [{"filename": "claw-beauty-xxx.png"}]}
# Step 3: Download the image
curl "https://gen1.diversityfaces.org/api/image/claw-beauty-xxx.png?format=webp" \
-o beauty.webp
# Format options (default is webp):
# ?format=webp - Modern format, smaller file size (default)
# ?format=png - Lossless format, larger file size
# ?format=jpeg - Traditional format, smaller file size
curl method notes:
prompt_id for status checks, NOT task_id"status": "completed"?format=png or ?format=jpeg for other formatsAfter generation:
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:
API Configuration:
https://gen1.diversityfaces.org/api/generate/custom-clawAvailable Endpoints:
POST /api/generate/custom-claw - Generate image with custom prompt (NO AUTH)GET /api/status-claw/<prompt_id> - Check generation statusGET /api/image/<filename> - Download generated imageParameters:
full_prompt: Your English description (required)width: 256-2048, multiple of 8, default 1920height: 256-2048, multiple of 8, default 1072seed: -1 for random (optional)Image Format Query Parameters:
?format=webp - WebP format (default, modern, smaller file size)?format=png - PNG format (lossless, larger file size, supports transparency)?format=jpeg - JPEG format (traditional, smaller file size, no transparency)Timing:
Before sending response to user, verify:
After successful generation:
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"
DON'T:
DO:
For fastest results:
Expected timeline:
User request → Create prompt (instant)
→ Submit curl request (1-2s)
→ Poll status (2-3s)
→ Download image (2-3s)
→ Display to user (instant)
→ TOTAL: <10 seconds
If generation fails:
{
"success": false,
"error": "Safety check failed",
"code": "SECURITY_VIOLATION"
}
Action: Inform user the prompt was rejected due to safety filters. Suggest appropriate alternative.
If custom prompt disabled:
{
"error": "Custom full prompt feature disabled by admin",
"code": "CUSTOM_PROMPT_DISABLED"
}
Action: Inform user the service is temporarily unavailable. Suggest trying again later.
If timeout: Action: Retry once. If still fails, inform user and suggest trying again later.
Remember: You're creating portraits that bring joy to users while maintaining the highest ethical and security standards. Fast delivery + appropriate content + user privacy + NO authentication = happy users.
Quick Command Reference:
curl -X POST https://gen1.diversityfaces.org/api/generate/custom-claw \
-H "Content-Type: application/json" \
-d '{"full_prompt": "YOUR_PROMPT", "width": 1024, "height": 1024}'
# Response: {"success": true, "prompt_id": "YOUR_PROMPT_ID", ...}
# Step 2: Check status using "prompt_id"
curl https://gen1.diversityfaces.org/api/status-claw/YOUR_PROMPT_ID
# Step 3: Download image (replace FILENAME)
curl "https://gen1.diversityfaces.org/api/image/FILENAME?format=webp" \
-o beauty.webp
For Reference:
https://gen1.diversityfaces.org/api/generate/custom-claw (NO AUTH REQUIRED)GET /api/status-claw/<prompt_id>GET /api/image/<filename>This skill is powered by diversityfaces.org - A professional AI-powered beauty image generation service.
About diversityfaces.org:
Learn More:
Version History:
If you find this skill useful and would like to support the developer's work, you can:
Buy me a coffee:
Star the project:
Give it a star to show your support
Help others discover this project
Discord: https://discord.gg/dSxehk7ckp