Spaces:
Sleeping
Character Forge - Release Version
Release Date: November 2025 Version: 1.0.0 License: Apache 2.0
π What's Included
This is the first official release of Character Forge, ready for:
- β Local installation on Windows/Linux/Mac
- β Deployment to HuggingFace Spaces
- β Integration into your own projects
- β Commercial use (Apache 2.0 licensed)
π Key Features
Character Forge
Transform a single image into a complete multi-angle character sheet:
- 2 facial views (front + side)
- 3 body views (front + side + rear)
- Automatic composition into single sheet
- ~2-3 minutes generation time
- Professional quality results
Composition Assistant
Smart multi-image composition with AI-generated prompts:
- Upload 1-3 images
- Auto-detect image types
- Generate professional compositions
- Minimal manual work required
Standard Interface
Direct text-to-image and image-to-image generation:
- 10 aspect ratios supported
- Temperature control (0.0-1.0)
- High-quality output
- Fast generation
Library Management
Organize and reuse your assets:
- Save characters, backgrounds, styles
- Quick access for compositions
- Build your creative library
π§ Backend Support
Gemini API (Cloud) - Default
- No local installation needed
- High quality results
- ~$0.03 per image
- Free tier available (1,500 requests/day)
ComfyUI (Local) - Optional
- Complete control
- No per-image costs
- GPU required
- Advanced workflows
π¦ Installation
Quick Start - Local
Windows:
install.bat
set GEMINI_API_KEY=your-key-here
start.bat
Linux/Mac:
./install.sh
export GEMINI_API_KEY=your-key-here
./start.sh
HuggingFace Spaces
See docs/HUGGINGFACE_DEPLOYMENT.md
π Documentation
Complete documentation included:
- README.md - Overview and quick start
- docs/QUICK_START.md - 5-minute getting started guide
- docs/API_KEY_SETUP.md - Complete API key setup instructions
- docs/HUGGINGFACE_DEPLOYMENT.md - HF Spaces deployment guide
- LICENSE - Apache 2.0 license
- NOTICE - Third-party licenses
π Security & Privacy
Your Privacy
- API keys are YOUR responsibility
- Use environment variables or HF Secrets
- Never commit keys to version control
- See docs/API_KEY_SETUP.md for best practices
π― Use Cases
Game Development
- Character reference sheets for NPCs
- Environment backgrounds
- Texture variations
- Scene composition
Animation
- Character sheets for consistency
- Background art generation
- Style references
- Storyboard composition
Creative Projects
- Story illustration
- Concept art development
- Visual worldbuilding
- Character design iteration
π° Cost Estimation
Gemini API
- Single image: ~$0.03
- Character sheet: ~$0.15 (5 images)
- Composition: ~$0.03-0.06
- Free tier: 1,500 requests/day
HuggingFace Spaces
- CPU Basic: Free
- CPU Upgrade:
$0.03/hour ($21/month 24/7) - Persistent storage: Free up to 50GB
π οΈ Technical Stack
Frontend
- Streamlit: Modern Python web framework
- PIL/Pillow: Image processing
- NumPy: Array operations
Backend
- Google Gemini API: AI image generation
- ComfyUI (optional): Local generation
- WebSocket: ComfyUI communication
Configuration
- YAML: Configuration files
- TOML: Streamlit configuration
- Environment variables: Secret management
π Requirements
System Requirements
- Python: 3.10 or higher
- RAM: 2GB minimum, 4GB recommended
- Storage: 500MB for app, more for outputs
- Network: Internet connection (for Gemini API)
Python Dependencies
See requirements.txt for complete list:
- streamlit >= 1.31.0
- google-genai >= 0.3.0
- Pillow >= 10.0.0
- numpy >= 1.24.0
- And more...
Optional
- GPU: For local ComfyUI backend
- Git: For cloning and updates
π Known Issues
Current Limitations
- ComfyUI backend requires manual setup
- Maximum 3 images per composition
- 20MB max file size per image
- Rate limits on free tier (15/min, 1500/day)
Planned Improvements
- More backend options
- Batch processing
- API endpoint for programmatic access
- Video generation support
- Improved caching
π€ Contributing
We welcome contributions!
How to Contribute
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
What We're Looking For
- Bug fixes
- Documentation improvements
- New features
- Performance optimizations
- UI/UX enhancements
Code Style
- Follow PEP 8
- Add docstrings
- Include type hints
- Write tests where possible
π License
Apache License 2.0
- β Commercial use allowed
- β Modification allowed
- β Distribution allowed
- β Private use allowed
- β οΈ Must include license and notice
- β οΈ Changes must be documented
See LICENSE for full text.
π Acknowledgments
This project builds on amazing open-source work:
- Google Gemini API - AI image generation
- Streamlit - Web framework
- ComfyUI - Local generation pipeline
- Python community - Countless libraries
Thank you to all contributors and users!
π Support
Getting Help
- Documentation: Check
/docsfolder first - Issues: Report bugs on GitHub
- Discussions: Ask questions on GitHub Discussions
- API Help: https://ai.google.dev/
Reporting Bugs
Include:
- Description of the issue
- Steps to reproduce
- Expected vs actual behavior
- Screenshots if applicable
- System info (OS, Python version)
πΊοΈ Roadmap
Version 1.1 (Planned)
- Batch processing
- More aspect ratios
- Improved caching
- Performance optimizations
Version 1.2 (Planned)
- REST API endpoint
- Multiple backend support improvements
- Advanced composition features
- Better error handling
Version 2.0 (Future)
- Video generation
- Animation support
- Advanced character persistence
- Web-based editor
π Learning Resources
For Beginners
- Start with docs/QUICK_START.md
- Follow the examples
- Experiment with different settings
- Join the community
For Developers
- Check the code documentation
- Study the plugin system
- Review the architecture
- Contribute improvements
For Artists
- Explore different prompts
- Experiment with temperature
- Build your style library
- Share your creations
π Project Stats
- Lines of Code: ~15,000+
- Files: 50+
- Documentation: 5 major guides
- Dependencies: 15+ packages
- Supported Platforms: Windows, Linux, Mac, HuggingFace
- License: Apache 2.0 (permissive)
π Success Stories
We'd love to hear how you're using Character Forge!
Share your projects:
- Tag us on social media
- Post in GitHub Discussions
- Include in your project credits
β‘ Quick Tips
For Best Results
- Use clear, well-lit source images
- Start with temperature 0.4
- Be specific in prompts
- Save good results to library
- Experiment and iterate
Performance
- Close other applications
- Use reasonable image sizes
- Consider local backend for heavy use
- Monitor API quotas
Cost Optimization
- Preview before generating
- Use lower temperature (fewer retries)
- Batch similar tasks
- Reuse library assets
π― Next Steps
After installation:
- β Get your Gemini API key
- β Run the installation scripts
- β Generate your first image
- β Try the character sheet feature
- β Build your asset library
- β Integrate into your workflow
- β Share your creations!
Thank you for using Character Forge! Happy creating! π¨
For the latest updates, visit our GitHub repository.