import gradio as gr def generate_prompts(name): if not name.strip(): return "Please enter a female name to inspire me." base_elements = [ 'captured full-body in a professional, high-resolution color photograph, conveying elegance and sensuality through natural movement that perfectly highlights a subtle lace accent in a visible, tasteful manner.', 'The composition, in Ultra HD 16K format (15360 × 8640), was shot with a Canon EOS R5 Cine RAW camera and a Canon RF 85mm f/1.2L USM lens, presenting a low-angle frontal perspective that emphasizes her full figure without distractions.', 'The scene is lit with an ARRI SkyPanel S360-C panel, providing professional, shadow-free light, highlighting the textures of skin and delicate fabrics while maintaining a balanced exposure.', "her outfit embodies a bold secretary aesthetic, blending youthful executive charm with daring, sensual elegance—a modern-classic fusion of tailored sophistication and subtle audacity. Complemented by a long, elegant hairstyle, styled with a refined arrangement and a vibrant, tasteful hue.", 'The overall composition maintains a harmonious balance, with professional lighting emphasizing the delicate lace detail and the outfit without overexposure. The photograph achieves a perfect depth of field, ensuring sharp focus while gently blurring the background to eliminate distractions. Processed with expert color grading in DaVinci Resolve, the image exudes a polished, cinematic quality.' ] variations = [ { "atmosphere": 'romantic whisper of twilight intimacy', "metaphor": 'like a secret melody unfolding in soft light', "activity": 'reviewing documents at an elegant mahogany desk, her poised stance subtly revealing the delicate lace detail as she leans forward with intent focus.', "outfit": 'She wears a fitted charcoal blazer over a sheer ivory blouse, paired with a high-waisted pencil skirt that daringly hints at intricate thigh-high stockings and a lace bra, balancing corporate sharpness with a sensual edge.', "extra": 'Her gaze, a gentle invitation of desire, dances with natural confidence as shadows caress the intricate fabrics.' }, { "atmosphere": 'romantic embrace of artistic serenity', "metaphor": 'as if silk whispers against the skin in a symphony of elegance', "activity": 'organizing files in a sleek office corner, her graceful bend accentuating the subtle lace accent in a moment of effortless allure.', "outfit": 'Her attire features a tailored navy suit jacket, unbuttoned to reveal a lace-trimmed camisole, matched with a form-fitting skirt slit just high enough to suggest daring thigh-highs, exuding modern audacity and classic poise.', "extra": 'Balanced exposure reveals the subtle play of textures, evoking a sense of refined pleasure in every curve.' }, { "atmosphere": 'romantic veil of poetic allure', "metaphor": 'echoing the grace of a hidden garden blooming under cinematic stars', "activity": 'taking a call by a panoramic office window, her confident posture subtly showcasing the delicate lace detail as she turns with poised elegance.', "outfit": 'She dons a crisp white button-up, slightly undone at the collar, with a burgundy midi skirt that clings to her form, paired with sheer stockings and a hint of lace beneath, merging executive flair with sensual boldness.', "extra": 'Vibrant hues in her hairstyle frame an expression of ease, where light and texture harmonize in sensual depth.' }, { "atmosphere": 'romantic dance of refined sensuality', "metaphor": 'like moonlight tracing delicate contours in a canvas of sophistication', "activity": 'reaching for a high shelf of leather-bound ledgers, her natural stretch making the subtle lace accent perfectly noticeable in a fleeting, elegant moment.', "outfit": 'Her ensemble includes a sleek black turtleneck tucked into a high-slit tweed skirt, revealing glimpses of lace-trimmed stockings and a daring undergarment, a perfect blend of youthful power and provocative charm.', "extra": 'The low-angle view captures spontaneous movement, with ARRI light illuminating the elegant hints without a single distraction.' }, { "atmosphere": 'romantic harmony of romantic finesse', "metaphor": 'as petals unfurl in a breeze of controlled illumination', "activity": 'sitting at a glass conference table, crossing her legs with deliberate grace, the subtle lace detail catching the light in a captivating, sophisticated display.', "outfit": 'She sports a tailored emerald blazer over a satin slip dress, with sheer lace stockings and a barely-there lace accent beneath, crafting an audacious yet refined secretary look that balances modernity and timeless allure.', "extra": 'DaVinci Resolve grading polishes the scene, emphasizing thigh-high details and a pose that breathes effortless allure.' } ] html_prompts = "" for i, var in enumerate(variations): # Sustituye 'her' por el nombre dinámicamente y sin errores de sintaxis outfit_base = f"{name}'s {base_elements[3]}" prompt = ( f"Renowned celebrity {name} is {base_elements[0]} In this {var['atmosphere']}, she appears {var['metaphor']}, {var['activity']} " f"{base_elements[1]} {base_elements[2]} {outfit_base} {var['outfit']} {var['extra']} {base_elements[4]}" ) personal_note = f"Oh, for {name}, I have infused this prompt with a touch of romance—a unique variation capturing the essence of {var['metaphor'].split(' ')[0]} grace!" html_prompts += f"""
{personal_note}
{prompt}
Play with one of my 😈ALTER EGOS😈
" "