Super_OuF / app.py
ivanoctaviogaitansantos's picture
Create app.py
f2b9ffb verified
raw
history blame
12 kB
import random
from typing import List
import gradio as gr
# Detailed scenarios categorized by outfit and environment
OFFICE_SECRETARY_SCENARIOS = [
"standing next to a desk, adjusting an executive mini skirt in a 'careless' way hinting at a thong, direct seductive gaze with pleasure, nadir angle from the ground",
"sitting on an office table, legs accidentally ajar and mini skirt rising showing the thong, ecstatic seductive face, camera on the floor with contrapicado angle",
"leaning to file documents, mini skirt sliding voyeuristically revealing the thong, intense gaze with an open mouth of pleasure, nadir angle",
"leaning against a wall, executive mini skirt lifted by 'accident' hinting at the thong, defiant gaze with a look of ecstasy, contrapicado angle",
"sitting in a swivel chair, crossing legs and letting the thong show carelessly under the mini skirt, seductive expression of pleasure, full frame with nadir perspective",
"dancing discreetly in the office, mini skirt lifts unintentionally revealing the thong, seductive gaze with climax, camera on the ground with contrapicado angle",
"delivering reports, leaning forward with the mini skirt rising voyeuristically showing the thong, playful gaze with ecstasy, nadir angle",
"reclining on a desk, a bent leg lifting the mini skirt carelessly and revealing the thong, seductive face with pleasure, full frame contrapicado",
"crouching to pick up papers, mini skirt accidentally risen showing the thong, fiery gaze with an open mouth of pleasure, nadir angle, camera on the floor",
"organizing a bookshelf, mini skirt lifted voyeuristically showing the thong, direct gaze with ecstasy, elegant straight hairstyle, contrapicado angle",
"sitting with a leg up on the desk, mini skirt unintentionally rising and the thong visible, defiant gaze with pleasure, nadir angle",
"standing next to an office window, mini skirt lifted by 'wind' hinting at the thong, sensual seductive expression, full frame contrapicado",
"leaning over a filing cabinet, mini skirt sliding carelessly showing the thong, mischievous gaze with orgasm, camera on the floor nadir angle",
"sitting on a meeting table, short mini skirt and thong accidentally visible, ecstatic seductive face, nadir angle",
"leaning on a photocopier, mini skirt lifted voyeuristically showing the thong, expression of pleasure looking at the viewer, full frame contrapicado",
"filing on a high shelf, mini skirt rises unintentionally showing the thong, seductive facial expression of pleasure, nadir angle",
"standing taking notes on a whiteboard, mini skirt rising carelessly and the thong visible, ecstatic face, camera on the ground contrapicado",
"sitting on a desk, crossing legs and letting the thong show under the mini skirt voyeuristically, fiery gaze with an open mouth of pleasure, nadir angle",
"leaning over a keyboard, mini skirt accidentally lifted showing the thong, seductive gaze with pleasure, full frame contrapicado",
"with back to camera turning head, executive mini skirt lifted carelessly showing the thong, seductive expression of pleasure, nadir angle",
]
SCHOOLGIRL_UNIFORM_SCENARIOS = [
"standing in a classroom, slightly lifting the schoolgirl skirt in 'carelessness' to show the thong, direct seductive gaze with pleasure, nadir angle",
"sitting at a desk, legs accidentally open revealing the thong under the skirt, ecstatic seductive expression, camera on the floor with contrapicado angle",
"crouching to pick up school supplies, skirt lifted voyeuristically and the thong visible, intense gaze with an open mouth of pleasure, full frame nadir angle",
"leaning against a hallway wall, skirt unintentionally lifted hinting at the thong, defiant gaze with ecstasy, contrapicado angle",
"with back to camera in a line, turning head with the skirt lifted carelessly showing the thong, seductive expression of pleasure, camera on the ground nadir angle",
"sitting on a classroom table, crossed legs accidentally sliding showing the thong, playful gaze with ecstasy, full frame contrapicado",
"dancing at a school party, skirt lifts up voyeuristically showing the thong, seductive gaze with climax, nadir angle",
"climbing school stairs, skirt rises unintentionally showing the thong, head turned with a look of pleasure, camera on the floor contrapicado",
"reclining on a desk, a bent leg lifting the skirt carelessly and revealing the thong, seductive face with pleasure, full frame nadir angle",
"crouching, skirt accidentally lifted revealing the thong, fiery gaze with an open mouth of pleasure, nadir angle",
"standing in front of a whiteboard, lifting the skirt with a hand for an 'adjustment' showing the thong, direct gaze with ecstasy, elegant wavy hairstyle, contrapicado angle",
"kneeling in a classroom, skirt rolled up voyeuristically showing the thong, arched body with a seductive gesture of pleasure, camera on the floor nadir angle",
"leaning on a desk, skirt unintentionally lifted showing the thong, defiant gaze with facial pleasure, full frame contrapicado",
"lying on back on a table, legs bent and skirt fallen carelessly showing the thong, lost seductive gaze of pleasure, nadir angle",
"dancing on a chair, short skirt accidentally lifts up revealing the thong, facial look of pleasure staring forward, low angle contrapicado",
"sitting in the schoolyard, legs open from 'wind' with a wet skirt and the thong visible, ecstatic seductive expression, camera on the ground nadir angle",
"spinning with a schoolgirl skirt, skirt flies up voyeuristically revealing the thong, direct gaze with an open mouth of pleasure, contrapicado angle",
"standing with hands on head, skirt lifted simulating carelessness and the thong exposed, seductive expression of ecstasy, full frame nadir angle",
"leaning over a desk, skirt rises unintentionally and the thong visible, defiant gaze with intense pleasure, nadir angle",
"sitting with legs tucked in, skirt stretched carelessly showing the thong, mischievous gaze with a look of pleasure, perfect makeup contrapicado",
]
MINI_SKIRT_LINGERIE_SCENARIOS = [
"standing, wind simulating carelessness slightly lifts the black pleated silk mini skirt revealing the red lace thong, seductive gaze with subtle pleasure, lips slightly parted, eyes half-closed conveying gentle ecstasy, nadir angle from the ground occupying the entire frame",
"sitting on the edge of the bed, legs opened by 'accident' revealing the thong under the mini skirt, ecstatic face with half-open lips reflecting pleasure, contrapicado angle camera on the ground",
"crouching to pick something up from the ground, mini skirt lifted in carelessness showing the thong, intense seductive gaze with an open mouth of pleasure, nadir angle from the floor occupying the entire frame",
"leaning against the wall, mini skirt lifted by 'carelessness' hinting at the thong, defiant gaze with a look of pleasure, contrapicado camera on the ground",
]
IMAGE_COMPOSITION_DESC = (
"(masterpiece, best quality:1.4), Ultra HD 16K (15360 × 8640), "
"professional color photograph, captured with a Canon EOS R5 Cine RAW camera "
"and a Canon RF 85mm f/1.2L USM lens, "
"alternating between low-angle frontal, nadir (from below looking up), "
"and contrapicado (slightly tilted low angle) perspectives, "
"highlighting the figure from knees to head. The scene is illuminated by an ARRI SkyPanel S360-C panel, "
"providing soft, professional light that emphasizes the textures of skin and delicate fabrics "
"without harsh shadows. Expertly color graded in DaVinci Resolve with a cinematic touch, "
"perfect depth of field, vertical 9:16 format. No distractions, perfect lighting without harsh shadows or annoying edges, "
"occupying the entire frame with a sensual and natural atmosphere. (BATUTO-ART watermark:0.4)"
)
# Replaced LUXURY_LINGERIE references with generic tasteful lingerie descriptions
LUXURY_LINGERIE = [
"delicate lace panties subtly suggested beneath her clothing",
"silk panties naturally hinted through her outfit",
"sophisticated underwear subtly revealed by her movements",
"luxury collection panties tastefully suggested",
"haute couture intimate wear elegantly hinted"
]
HAIR_STYLES = [
"long flowing hair that frames her face sensually",
"elegant waves that cascade over her shoulders seductively",
"sleek hairstyle that accentuates her neck and features",
"voluminous curls that enhance her sensual appearance",
"sophisticated updo that highlights her facial features alluringly"
]
MAKEUP_STYLES = [
"flawless makeup with sensual emphasis on her lips and eyes",
"perfectly contoured makeup that enhances her natural features seductively",
"smokey eye makeup with glossy lips that express desire",
"dewy complexion with accentuated features that radiate lust",
"professional makeup with sensual emphasis that enhances her allure"
]
# Condensed EXPRESSIONS to the single refined sensual expression
EXPRESSIONS = [
"seductive gaze with subtle pleasure, lips slightly parted, eyes half-closed conveying gentle ecstasy"
]
# Assuming LIGHTING_EQUIPMENT and PHOTOGRAPHY_EQUIPMENT remain unchanged
LIGHTING_EQUIPMENT = [
"an ARRI SkyPanel S360-C panel providing smooth, shadow-free professional light",
"Godox AD600Pro with a large octabox for soft, even lighting",
"Profoto B10 Plus with a strip softbox for edge lighting",
"Nanlite Forza 500 with a parabolic softbox for dramatic lighting"
]
PHOTOGRAPHY_EQUIPMENT = [
"a Canon EOS R5 Cine RAW camera paired with a Canon RF 85mm f/1.2L USM lens",
"a Sony Alpha 1 with a G Master 50mm f/1.2 lens",
"a Hasselblad X1D II 50C with an XCD 80mm f/1.9 lens",
"a RED Komodo 6K with a Sigma Art 35mm f/1.4 lens"
]
NEGATIVE_KEYWORDS = (
"nsfw, nude, explicit content, deformed, bad anatomy, extra limbs, "
"blurry, low quality, cartoon, anime, child, minor, grotesque, "
"poor lighting, harsh shadows, annoying edges, vulgar, explicit display, "
"overexposed, underexposed, poorly framed, distracting elements"
)
def generate_prompt(celebrity_name: str, scenario: str) -> str:
if not celebrity_name.strip():
return "Please enter a celebrity name to generate prompts."
prompt = (
f"The renowned celebrity {celebrity_name} is captured in a full-length professional color photograph "
f"that conveys natural sensuality and elegance through subtle movement. {EXPRESSIONS[0]}, "
f"with perfect makeup that enhances her sensual features. Her {random.choice(HAIR_STYLES)} complements "
f"her alluring appearance. The composition naturally suggests {random.choice(LUXURY_LINGERIE)} "
f"through graceful positioning and movement, creating a tasteful and sensual implication without explicit display. "
f"Scene: {scenario}. "
f"The lighting is perfectly balanced without harsh shadows or distracting edges, creating a natural "
f"and sensual atmosphere that occupies the entire frame. {celebrity_name}'s expression radiates "
f"desire and lust while maintaining sophistication and elegance. "
f"{IMAGE_COMPOSITION_DESC}"
)
full_prompt = f"{prompt} | Negative prompt: {NEGATIVE_KEYWORDS}"
return full_prompt
def generate_all_prompts(celebrity_name: str) -> List[str]:
if not celebrity_name.strip():
return ["⚠️ Please enter a celebrity name to generate prompts."] * 5
selected_scenarios = random.sample(OFFICE_SECRETARY_SCENARIOS, 2) + \
random.sample(SCHOOLGIRL_UNIFORM_SCENARIOS, 2) + \
random.sample(MINI_SKIRT_LINGERIE_SCENARIOS, 1)
return [generate_prompt(celebrity_name, scenario) for scenario in selected_scenarios]
# You can add your Gradio UI or CLI running code here if needed.