Style Transfer App

MIRAYA is a creative tool that allows users to "extract the editorial essence" of any image and project it onto their own selfie. In simpler terms, it takes the style (lighting, colors, artistic vibe) from one photo and applies it to a photo of you.

MIRAYA is a generative AI application built with React and powered by Gemini. It solves the problem of 'prompt engineering' by automatically reverse-engineering the prompt of any reference image. Users simply upload a style reference and a selfie, and the app uses a vision model to reconstruct their portrait in that specific aesthetic.

Step 1: Input Reference - The user uploads an artistic image (e.g., a neon cyberpunk city, a vintage painting, or a high-fashion editorial shot). The moment this image is uploaded, the app analyzes the image using Gemini and generates a text description (JSON) of its style, lighting, and composition.

Step 2: Input Selfie - The user has the option to upload a photo of themselves. If provided, this provides the facial structure and subject matter for the final image.

Step 3: Reconstruction - The user clicks "APPLY PROMPT". The app takes the style description created in Step 1 and combines it with the selfie from Step 2.

image.png

image.png

Users can copy the JSON prompt into Nano Banana Pro with their image attached to get more variations:

Gemini_Generated_Image_ (1).jpeg