Playground AI — Generative Artwork & Face Swap
An AI image generator and creative studio mobile application for generating digital artwork, logos, marketing posters, style avatars, and face-swapping effects powered by generative diffusion models in Flutter.
Project Overview
Playground AI is a generative image creation studio mobile application engineered in Flutter and Dart, built for digital artists, social media marketers, and creative enthusiasts.
The app connects to generative image synthesis APIs to produce high-resolution artwork, logos, brand posters, and stylized photo avatars from natural language prompts. Features automatic prompt enhancement, curated artistic style presets, face-swapping capabilities, and in-app purchase subscriptions, published on the Google Play Store under Codee AI.
My Engineering Role
Lead Flutter Developer responsible for generative API integration, client-side image processing, asynchronous generation polling, in-app billing subscription setup, and Google Play Store release.
The Challenge
Delivering an engaging creative UI that keeps users informed during 10–20 second generative rendering queues without UI stalls or memory crashes from multi-megabyte image decoding.
The Solution
Engineered an asynchronous polling queue with animated progress states, client-side WebP compression, caching with CachedNetworkImage, and Google Play Billing for credit purchases.
High-Level Architecture
- Flutter mobile application engineered for high-resolution graphics and media rendering.
- Generative AI API client connecting to diffusion and face-swapping model endpoints with prompt expansion.
- Asynchronous task queue with polling and WebSockets notifying users when image generation jobs complete.
- Client-side image cropping, filter application, and high-resolution export pipeline.
- Google Play Billing integration managing credit packs, consumable tokens, and weekly/monthly VIP subscriptions.
Key Features & Workflows
- Text-to-Image Generation: Turn textual descriptions into photorealistic photos, anime illustrations, 3D renders, and digital art.
- Prompt Enhancer: Automatic prompt expansion using LLM models to add lighting, texture, and aesthetic camera specifications.
- AI Face Swap: Upload reference portraits to seamlessly swap faces onto themed characters, fashion shoots, and vintage eras.
- Artistic Style Presets: One-tap style filters including Cyberpunk, Oil Painting, Cinematic Studio, Fantasy, and Watercolor.
- High-Resolution Upscaling: Upscale generated outputs to 4K resolution with artifact reduction for printing or wallpaper use.
- In-App Store & Token Management: Purchase generation credit packages and manage recurring VIP subscriptions seamlessly.
Technical Challenges Overcome
- Managing large image bit-maps in memory on mobile devices to prevent Out of Memory (OOM) crashes during generation upscaling.
- Handling long generative processing times gracefully with animated interactive skeleton loaders and background push notifications.
- Ensuring strict compliance with Google Play Store guidelines regarding AI-generated media and in-app subscription disclosures.
Production Results & Impact
- Published on Google Play Store (com.playgroundaiimagegenerator.faceswap).
- Official brand web platform accessible at codeeai.com.
- Full demo video accessible on Google Drive showcasing artwork generation and face swap capabilities.
Featured Case Studies
Explore More Production Architectures
Wasey — Food Multi-Vendor Delivery Platform
Customer, courier, and vendor apps with live GPS tracking and automated dispatch.
Architecture — Social Care Management
Operational social-care workflows on Flutter, Firebase, and offline storage.
Need a similar architecture shipped?
Let's translate your product workflows, real-time requirements, and cloud infrastructure into a dependable production app.