Create a Stylized Selfie#
Transform photos of people by applying artistic styles while preserving their identity. This tool combines identity preservation with style transfer to create unique stylized portraits that maintain recognizable facial features.
Overview#
- Identity-preserving portrait stylization
- Customizable style strength
- Optional prompt-based scene generation
- High-resolution output support
- Multiple sample generation
Quick Start#
- Visit Eden Create: Create a stylized selfie tool
- Upload a photo of the person
- Upload a style reference image
- Click "Create"
See API Reference section below for API usage examples.
Ask an Eden agent to "Create a stylized selfie".
Basic Usage#
Required inputs:
- Person image with clear facial features
- Style reference image
Optional inputs:
- Text prompt for scene context
- Identity strength (0.0-1.2)
- Style strength (0.0-1.0)
Technical Guidelines#
Resolution Support#
- Width: 512-1536 pixels
- Height: 512-1536 pixels
- Default: 1024x1024 pixels
Parameter Ranges#
- Identity Strength: 0.0-1.2 (default: 0.9)
- Style Strength: 0.0-1.0 (default: 0.8)
- Number of Samples: 1-4 (default: 1)
Best Practices for Inputs#
Person Image#
- Clear, well-lit facial features
- Front-facing or slight angle
- Minimal occlusion of face
- Good resolution (minimum 512px)
Style Image#
- Clear artistic style representation
- Similar composition to desired output
- High-quality reference material
Advanced Features#
Identity Control#
- Higher values (>0.9) maintain stronger likeness
- Lower values (<0.6) allow more creative interpretation
- Fine-tune for balance between accuracy and stylization
Style Transfer#
- Adjust style_strength for intensity
- Higher values (>0.8) create stronger stylistic effects
- Lower values (<0.6) produce subtle artistic influences
Technical Details#
- Base Model: SDXL
- Output Type: Image
- Default Resolution: 1024x1024
- Cost Estimate: 1 * n_samples
Common Issues and Solutions#
-
Loss of Identity
-
Increase identity_strength
- Use clearer person image
-
Reduce style_strength
-
Weak Style Transfer
- Increase style_strength
- Use more distinctive style image
- Reduce identity_strength slightly
API Reference#
Endpoint#
curl -X POST "https://api.eden.art/v2/tasks/create" \
-H "Content-Type: application/json" \
-H "X-Api-Key: YOUR_API_KEY" \
-d '{
"tool": "face_styler",
"args": {
"person_image": "https://storage.googleapis.com/public-assets-xander/A_workbox/lora_training_sets/xander.jpg",
"style_image": "https://storage.googleapis.com/public-assets-xander/A_workbox/lora_training_sets/style.jpg",
"identity_strength": 0.9,
"style_strength": 0.8,
"width": 1024,
"height": 1024,
"n_samples": 1,
"prompt": "",
"seed": 1234567890
}
}'
Response Format#
{
"task": {
"_id": "task_12345",
"createdAt": "2024-01-29T21:52:07.171578+00:00",
"updatedAt": "2024-01-29T21:52:07.171608+00:00",
"user": "user_id",
"requester": "requester_id",
"tool": "face_styler",
"parent_tool": null,
"output_type": "image",
"args": {
"person_image": "https://storage.googleapis.com/public-assets-xander/A_workbox/lora_training_sets/xander.jpg",
"style_image": "https://storage.googleapis.com/public-assets-xander/A_workbox/lora_training_sets/style.jpg",
"identity_strength": 0.9,
"style_strength": 0.8,
"width": 1024,
"height": 1024,
"n_samples": 1,
"prompt": "",
"seed": 1234567890
},
"mock": false,
"cost": 1,
"handler_id": "fc-xxxxx",
"status": "pending",
"error": null,
"result": null,
"performance": null
}
}
Use Cases#
Personal Branding#
- Professional headshots with artistic flair
- Social media profile pictures
- Portfolio presentations
- Creative self-expression
Artistic Projects#
- Character design for games
- Illustration projects
- Digital art collections
- Style experimentation
Marketing Materials#
- Brand ambassador portraits
- Campaign visuals
- Social media content
- Creative advertising
Tips for Best Results#
Image Selection#
- Choose high-quality person photos
- Select distinctive style references
- Ensure good lighting and clarity
- Consider composition compatibility
Parameter Tuning#
- Start with default values
- Adjust identity strength first
- Fine-tune style strength
- Test with multiple samples
Next Steps#
Once you have your stylized selfie:
- Review Quality - Check identity preservation and style transfer
- Adjust Parameters - Fine-tune for better results
- Generate Variations - Create multiple samples
- Export and Use - Save in your preferred format
Ready to create stylized selfies? Visit the Face Styler tool to get started!