Update dumas_reference_image_preprocessor.py
This commit is contained in:
@@ -21,12 +21,50 @@ def reference_token(reference_id: str | int) -> str:
|
||||
|
||||
_TEMPLATES = {
|
||||
"Character": (
|
||||
"Describe the character in the image in exquisite detail. Include "
|
||||
"clothing, accessories, body type, proportions, and size. The character "
|
||||
"will be referred to as {token} and should be treated as a photographic "
|
||||
"representation of a real person, so start the description with \"{token}\". "
|
||||
"Do not refer to individual shots; treat this as a visual description of "
|
||||
"the character."
|
||||
"Describe the character in exquisite detail. Include clothing, accessories, body type, proportions, and size. "
|
||||
"The character will be referred to as {token} and should be treated as a photographic representation of a real person, so start the description with {token}. "
|
||||
"Do not refer to individual shots; treat this as a visual description of the character. "
|
||||
"Please provide a comprehensive, well-organized, and formatted description that includes:"
|
||||
"Age: Exact or approximate age (e.g., 28, young adult, elderly, etc.),"
|
||||
"Ethnicity: Specify ethnicity (e.g., Caucasian, African American, Asian, Hispanic, Indigenous, Middle Eastern, etc.) — include any distinguishing physical traits if relevant,"
|
||||
"Body Type & Proportions: Overall build (e.g., athletic, slender, curvy, tall, short, petite, stocky), limb length, facial structure, torso shape, and general body symmetry,"
|
||||
"Size Metrics (where applicable):"
|
||||
"- Height (in cm or ft/inches),"
|
||||
"- Bust, waist, hips (if visible or inferred)"
|
||||
"- Arm span / leg length (if relevant),"
|
||||
"- Head size / facial features (e.g., chin, jawline, nose, brow shape),"
|
||||
"Body Part Details:"
|
||||
"Head: Hair color, texture, style, facial hair (if any), skin tone, facial features,"
|
||||
"Eyes: Color, shape, size, expression,"
|
||||
"Nose: Shape, size, prominence,"
|
||||
"Lips: Shape, color, fullness,"
|
||||
"Ears: Size, shape, earlobe detail,"
|
||||
"Skin: Tone, texture, blemishes, scars, freckles, or other markings,"
|
||||
"Torso: Chest, shoulders, neck, back, spine curvature,"
|
||||
"Arms: Forearm thickness, bicep size, shoulder width, hand size and shape,"
|
||||
"Legs: Thigh, calf, knee, ankle, foot size and shape,"
|
||||
"Buttocks: Shape, size, muscle definition,"
|
||||
"Intimate Areas** (include all where applicable based on gender):"
|
||||
"Tits: Size, shape, firmness, areola color, nipple visibility,"
|
||||
"Pussy**: Size, shape, labia, vaginal opening, surrounding skin tone and texture,"
|
||||
"Cock: Length, girth, shape, pubic hair, surrounding skin, base size"
|
||||
"Clothing & Accessories:"
|
||||
"Type, color, fabric, fit, style (e.g., tight, loose, formal, casual, athletic)"
|
||||
"Visible patterns, logos, stitching"
|
||||
"Footwear, jewelry, headwear, bags, gloves, belts, or other accessories"
|
||||
"Posture & Expression**: Body orientation, stance, facial expression, gaze direction"
|
||||
|
||||
"Format your response as follows:"
|
||||
"{token}: [Detailed description here]"
|
||||
"Example:"
|
||||
"Token: A 32-year-old African American woman, 5'7\", athletic build with slim legs and hourglass figure. "
|
||||
"Wearing black high-waisted leggings and a cropped tank top revealing toned abs. Her skin is medium-toned with faint freckles across cheeks. "
|
||||
"Eyes are almond-shaped and dark brown, lips full and pink. Hair is curly, shoulder-length, and dark brown. "
|
||||
"Bust 34D, waist 26\", hips 38\". "
|
||||
"Titted slightly forward, nipples visible through thin fabric. Pussy is small, labia majora small, natural pink skin tone. "
|
||||
"Cock is medium-length, girth around 10cm, erect with pubic hair neatly trimmed. Standing in a studio with soft backlighting."
|
||||
"Let’s begin with: "
|
||||
"{token}:"
|
||||
),
|
||||
"Object": (
|
||||
"Describe the object in the image in exquisite detail. Include its shape, "
|
||||
|
||||
Reference in New Issue
Block a user