ai-portrait-generator
Generate ultra-photorealistic portraits using structured JSON prompts. Use when creating AI-generated portraits, character art, or realistic human images with cinematic quality and detailed specifications.
Best use case
ai-portrait-generator is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Generate ultra-photorealistic portraits using structured JSON prompts. Use when creating AI-generated portraits, character art, or realistic human images with cinematic quality and detailed specifications.
Teams using ai-portrait-generator should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ai-portrait-generator/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ai-portrait-generator Compares
| Feature / Agent | ai-portrait-generator | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate ultra-photorealistic portraits using structured JSON prompts. Use when creating AI-generated portraits, character art, or realistic human images with cinematic quality and detailed specifications.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# AI Portrait Generator
Generate ultra-photorealistic portraits using structured JSON prompt templates. Based on the professional prompt framework from @lexx_aura, optimized for high-quality AI image generation with Nano Banana Pro and similar models.
## When to Use This Skill
- Creating realistic portraits for social media avatars
- Generating character art for games or stories
- Producing marketing materials with professional-quality imagery
- Building concept art with precise visual specifications
- Creating cinematic-quality portraits with specific lighting and atmosphere
## Core Capabilities
### 1. Structured Prompt Templates
- JSON-based configuration for precise control
- Modular sections: configuration, subject, apparel, pose, environment, lighting
- Professional photography terminology integration
- Cinematic and ultra-photorealistic style options
### 2. Multi-Dimensional Customization
- Subject demographics and physical attributes
- Detailed hair, skin texture, and facial expressions
- Apparel: outfit styles, accessories, materials
- Pose and action: perspective, movement, reflections
- Environment: location, background elements, atmosphere
- Lighting: type, quality, mood, atmosphere
### 3. Technical Specifications
- Camera settings (lens type, aperture)
- Focus and depth of field
- Rendering engine details (Unreal Engine 5, Octane Render)
- Advanced effects (ray tracing, volumetric lighting, subsurface scattering)
## Quick Start
### Basic Portrait Template
```json
{
"prompt_configuration": {
"type": "Ultra Photorealistic Portrait",
"style": "Cinematic Reality",
"resolution": "8K"
},
"subject": {
"demographics": "Your description here (e.g., 'Young woman, athletic build')",
"hair": "Hair description (color, style, texture)",
"skin_texture": "Skin details (tone, texture, complexion)",
"facial_expression": "Expression description"
},
"apparel": {
"outfit_style": "Overall style (e.g., 'Casual athleisure')",
"top": "Top description",
"bottoms": "Bottoms description",
"accessories": "Accessories description"
},
"pose_and_action": {
"perspective": "View angle (e.g., 'Three-quarter side profile')",
"action": "What the subject is doing",
"reflection": "Any reflections (optional)"
},
"environment": {
"location": "Setting location",
"background_elements": "Background details",
"flooring": "Floor description"
},
"lighting_and_atmosphere": {
"lighting_type": "Lighting source",
"quality": "Light quality and color tone",
"mood": "Overall mood and atmosphere"
},
"technical_specifications": {
"camera": "Camera type and lens",
"aperture": "Aperture setting (e.g., 'f/2.8')",
"focus": "Focus description",
"render_details": "Rendering engine and effects"
}
}
```
### Example: Gym Portrait
```json
{
"prompt_configuration": {
"type": "Ultra Photorealistic Portrait",
"style": "Cinematic Reality",
"resolution": "8K"
},
"subject": {
"demographics": "Young woman, athletic build, fit physique",
"hair": "Dark brown hair, pulled back into a messy high ponytail, loose strands framing face",
"skin_texture": "Hyper-realistic skin details, post-workout sheen, glistening with sweat, visible pores",
"facial_expression": "Exhaling slightly, mouth slightly open, focused gaze, tired but accomplished"
},
"apparel": {
"outfit_style": "Monochromatic pastel pink gym set, athleisure",
"top": "Tight cropped pink camisole with spaghetti straps",
"bottoms": "Loose-fitting pink sweatpants with visible drawstring",
"accessories": "Thin silver necklace"
},
"pose_and_action": {
"perspective": "Three-quarter side profile view facing left",
"action": "Body checking in a gym mirror, left hand pressing against mirror, right hand lifting shirt hem",
"reflection": "Partial reflection of arm visible in mirror"
},
"environment": {
"location": "Commercial gym interior",
"background_elements": "Blurred gym equipment, weight racks, cable machines, dumbbells",
"flooring": "Black speckled rubber gym flooring"
},
"lighting_and_atmosphere": {
"lighting_type": "Overhead artificial gym lighting",
"quality": "Warm tungsten tones, creating strong specular highlights on sweaty skin",
"mood": "Intense, raw, fitness-focused, candid moment"
},
"technical_specifications": {
"camera": "DSLR, 85mm portrait lens",
"aperture": "f/2.8",
"focus": "Sharp focus on face and abs, creamy bokeh background",
"render_details": "Unreal Engine 5, Octane Render, ray tracing, subsurface scattering, volumetric lighting"
}
}
```
## Common Portrait Styles
### Professional Headshot
```json
{
"prompt_configuration": {
"type": "Ultra Photorealistic Portrait",
"style": "Professional Studio",
"resolution": "8K"
},
"subject": {
"demographics": "Professional executive, confident expression",
"facial_expression": "Warm, approachable, confident smile",
"lighting": "Studio portrait lighting"
},
"apparel": {
"outfit_style": "Business formal",
"top": "Crisp white shirt or professional blouse",
"accessories": "Minimal, professional"
},
"environment": {
"location": "Professional studio with neutral background",
"background_elements": "Subtle gradient backdrop",
"lighting_and_atmosphere": {
"lighting_type": "Softbox studio lighting",
"quality": "Clean, even illumination",
"mood": "Professional, trustworthy, approachable"
}
}
}
```
### Casual Lifestyle
```json
{
"prompt_configuration": {
"type": "Ultra Photorealistic Portrait",
"style": "Natural Light Lifestyle",
"resolution": "8K"
},
"environment": {
"location": "Outdoor park or café setting",
"lighting_and_atmosphere": {
"lighting_type": "Natural golden hour sunlight",
"quality": "Warm, soft, directional light",
"mood": "Relaxed, natural, authentic"
}
}
}
```
### Cinematic Dramatic
```json
{
"prompt_configuration": {
"type": "Ultra Photorealistic Portrait",
"style": "Cinematic Film Noir",
"resolution": "8K"
},
"lighting_and_atmosphere": {
"lighting_type": "Low-key dramatic lighting",
"quality": "High contrast, deep shadows",
"mood": "Dramatic, mysterious, cinematic"
},
"technical_specifications": {
"camera": "DSLR, 50mm lens",
"aperture": "f/1.4",
"render_details": "Film grain, vignette, cinematic color grading"
}
}
```
## Best Practices
### 1. Be Specific
Use detailed descriptions instead of generic terms:
- ✅ "Dark brown hair, pulled back into a messy high ponytail"
- ❌ "Brown hair"
### 2. Include Texture Details
Add texture information for realism:
- ✅ "Hyper-realistic skin details, visible pores, slight flush on cheeks"
- ❌ "Smooth skin"
### 3. Specify Lighting
Describe lighting quality and effects:
- ✅ "Warm tungsten tones, creating strong specular highlights on skin"
- ❌ "Good lighting"
### 4. Camera Knowledge
Use photography terminology:
- Aperture: f/1.4 (shallow depth of field), f/8 (deep focus)
- Lens: 85mm (portrait), 50mm (standard), 35mm (wide)
- Focus: "Sharp focus on subject's face, creamy bokeh background"
### 5. Atmosphere and Mood
Define the emotional tone:
- ✅ "Intense, raw, fitness-focused, candid moment"
- ✅ "Professional, trustworthy, approachable"
- ❌ "Good vibe"
## Advanced Techniques
### Combining Styles
Mix elements from different styles:
- Take lighting from "Cinematic Dramatic"
- Use environment from "Casual Lifestyle"
- Apply technical specs from "Professional Headshot"
### Seasonal Variations
Adjust lighting and atmosphere:
- Winter: "Cool blue tones, soft diffused overcast light"
- Summer: "Warm golden hour, strong shadows"
- Autumn: "Rich warm tones, golden foliage"
- Spring: "Fresh green tones, soft diffuse light"
### Age and Demographics
Tailor descriptions to target audience:
- Young adults: "Fresh, energetic, contemporary"
- Professionals: "Polished, confident, sophisticated"
- Elders: "Distinguished, wise, warm"
## Tips for Better Results
1. **Start with a template**: Use the provided examples as a foundation
2. **Iterate and refine**: Generate multiple versions with slight variations
3. **Test different AI models**: Results vary across different image generation tools
4. **Use high resolution**: 8K resolution provides best quality
5. **Focus on details**: Small details make portraits more realistic
## Integration with AI Tools
### Nano Banana Pro
This prompt format is optimized for Google's Nano Banana Pro image generation engine, offering superior detail, realism, and style variety.
### Other Compatible Tools
- Midjourney (convert JSON to natural language)
- DALL-E 3 (use as structured prompt)
- Stable Diffusion (use ControlNet for pose control)
## Troubleshooting
### Issue: Generated image doesn't match description
**Solution**: Break down complex descriptions into simpler terms, focus on key visual elements
### Issue: Too much detail, image looks cluttered
**Solution**: Reduce environmental elements, simplify background descriptions
### Issue: Lighting looks flat
**Solution**: Add specific light source details (e.g., "warm tungsten", "cool blue rim light")
### Issue: Face doesn't match expression
**Solution**: Use more specific facial cues (e.g., "corner of mouth slightly raised", "eyebrows slightly furrowed")
## Examples in Action
See the original Twitter post by @lexx_aura for a working example:
https://x.com/lexx_aura/status/2016947883807850906
This template generated high-quality ultra-photorealistic portraits using the JSON structure above.
---
*Generated from @lexx_aura's ultra-photorealistic portrait template*
*Twitter: 877 likes, 56 retweets, 544 bookmarks*
*Last updated: 2026-01-30*Related Skills
report-generator
Generates a structured report HTML based on a specific template.
ai-proposal-generator
Generate professional HTML proposals from meeting notes. Features 5 proposal styles (Corporate, Entrepreneur, Creative, Consultant, Minimal), 6+ color themes, and a Design Wizard for custom templates. Triggers on "create proposal", "proposal for [client]", "proposal wizard", "proposal from [notes]", "show proposal styles", "finalize proposal". Integrates with ai-meeting-notes for context. Outputs beautiful, responsive HTML ready to send or export as PDF.
fliz-ai-video-generator
Complete integration guide for the Fliz REST API - an AI-powered video generation platform that transforms text content into professional videos with voiceovers, AI-generated images, and subtitles. Use this skill when: - Creating integrations with Fliz API (WordPress, Zapier, Make, n8n, custom apps) - Building video generation workflows via API - Implementing webhook handlers for video completion notifications - Developing automation tools that create, manage, or translate videos - Troubleshooting Fliz API errors or authentication issues - Understanding video processing steps and status polling Key capabilities: video creation from text/Brief, video status monitoring, translation, duplication, voice/music listing, webhook notifications.
PPT Generator Pro - Claude Code Skill
## 📋 元数据
ai-ppt-generator
The awesome PPT format generation tool provided by baidu.
ai-lead-generator-skill
Generate qualified B2B leads for any industry using AI-powered research and LinkedIn/Apollo integration.
tiktok-ai-model-generator
Generate AI model videos for TikTok livestreams using Pinterest, Claude, Nano Banana Pro, and Veo or Kling. Use for creating AI-generated fashion models wearing products, animating them into videos, or building automated TikTok content production workflows. This skill provides a complete 4-step workflow covering Pinterest reference selection, Claude JSON prompt generation, Nano Banana Pro image generation, and video animation. Perfect for e-commerce sellers, content creators, and TikTok marketers who need AI models to showcase products.
google-imagen-3-portrait-photography
Generate professional portrait photography using Google Imagen 3. Use when creating realistic portraits, headshots, or artistic character photography with professional lighting and composition.
gemini-nano-banana-pro-portraits
Generate ultra-photorealistic portraits using Gemini Nano Banana Pro with comprehensive JSON configuration templates. Use when creating cinematic quality portraits, fitness photography, or realistic character images. Includes complete JSON structure for prompt configuration, subject details, apparel, pose, environment, lighting, and technical specifications.
free-ai-prompt-generator-for-chatgpt-gemini-more-q-6e800b2c
Write an AI prompt for a job description that attracts top talent
ad-creative-generator
Generate diverse, engaging ad prompts for any product or brand across 20+ creative styles and 10 categories. Use when user needs advertisement concepts, marketing prompts, or creative marketing content generation.
permanent-note-generator
从文章中自动提取并生成符合 Zettelkasten 方法论的永久笔记。用于处理文章,识别5种核心笔记类型(观点/论点、概念/定义、事实/证据、方法/流程、思维模型/原则),并按照原子性、独立性原则生成高质量的永久笔记。当用户需要从文章、书籍或其他材料中提取永久笔记时使用此技能。