Food for Beautiful Skin 🍇🍌🍒
The Problem
Most people know that what you eat affects how you look — but the connection between specific foods and skin health is buried in nutrition science that's hard to act on. You can't see the impact of your diet on your skin until weeks later, and by then you've forgotten what you ate. There's no feedback loop.
Food for Beautiful Skin closes that loop.
What It Does
The app turns your fridge into a personalized skin care routine. Here's the journey:
1. Scan your food
Upload a photo of your fridge, pantry, or grocery haul. The app uses AI vision to detect every food item in the image — no manual entry. Upload multiple photos and the list builds up intelligently, merging new items into the right categories without duplicates.
2. See your skin nutrition profile
The app analyzes your food inventory against a skin health knowledge base, generating per-item "Skinfo" notes — explaining exactly how each food benefits (or doesn't) your skin, with a rating score. Blueberries? Antioxidants that fight oxidative stress. Salmon? Omega-3s that reduce redness and improve texture. Garlic? Zinc and sulfur compounds that keep skin clear.
3. See the future on your face — powered by Perfect Corp AI
This is where it gets real. Upload a photo of your face. Select which foods you want to evaluate — checked items only, or your entire kitchen. The app computes a weighted average skin impact score across all selected foods, then calls the Perfect Corp Skin Simulation API to render what your skin could actually look like after consistently eating those foods.
The simulation targets five skin dimensions that are directly driven by dietary nutrients:
- Wrinkles — collagen synthesis from vitamin C, omega-3s, vitamin E
- Radiance — antioxidants, hydration, polyphenols
- Redness — anti-inflammatory omega-3s, turmeric, ginger
- Texture — fatty acids, zinc, vitamin A for cell turnover
- Acne — zinc and sulfur compounds for skin clarity
The result is a photorealistic rendering of your face showing the potential skin improvement — not a generic before/after, but your face, with your food.
4. Repurchase what works
Once you know which foods are working for your skin, reorder them instantly via Instacart integration with one click.
How Perfect Corp AI Powers It
The integration with Perfect Corp's API is the heart of the experience. Three API calls work in sequence:
create_file — The user's face photo is registered with Perfect Corp's skin simulation file service, which returns a presigned upload URL and a file_id. The file is uploaded directly to that URL, keeping the image transfer efficient and secure. The file_id is stored in session state and reused across multiple simulations without re-uploading.
run_skin_simulation — The file_id and a computed avg_impact score (0–1, derived from the nutritional ratings of the selected foods) are submitted as a skin simulation task. The impact score drives five skin effect parameters simultaneously — wrinkle, radiance, redness, texture, and acne — chosen specifically because they are the effects that dietary nutrition can realistically influence.
get_skin_simulation_result — The task is polled asynchronously until the simulation completes, then the result image URL is fetched, downloaded, and displayed in the app. The whole flow is non-blocking, with live UI feedback while the simulation runs.
The impact score design is deliberate: rather than applying arbitrary fixed values, the score is computed from real nutritional analysis of the user's actual food inventory. The more skin-beneficial the foods selected, the higher the impact, and the more dramatic — and honest — the simulated improvement.
Why This Matters
Perfect Corp's API is typically used in beauty retail — try-on, product simulation, skin diagnostics. Food for Beautiful Skin takes it somewhere new: preventive skin wellness through nutrition. It shows that the skin simulation API isn't just a retail tool — it's a behavior change engine. When someone can see their face improving from eating better, the motivation to actually do it becomes real and personal in a way that nutrition advice never achieves on its own.
The goal is simple: help people see the connection between what they eat and how they look — and make it easy to act on.
Built With
- google-cloud
- google-gemini
- gradio
- instacart
- langchain
- perfect-corp-ai
- python
- tenacity
- vertex


Log in or sign up for Devpost to join the conversation.