edit_api.py:

•
SAM2 fix — switched to SAM2ImagePredictor with a generous bbox (5% margin) instead of points. Bbox-based SAM2 captures the full subject including hair, glasses, and sandals since it doesn't clip with negative-point interference
•
Non-destructive remove-bg — writes <stem>.nobg.png sidecar, original file untouched; registers sidecar in DB under same group
•
New /images/{filename}/duplicate endpoint — copies file with a fresh timestamp name, same group
car.html:
•
sam2RemoveBg() — switches viewer to sidecar URL, auto-enables checkerboard; original file never modified
•
restoreBg() — purely client-side, reverts viewer to original URL (no API call, no file change)
•
Gallery cycling frozen while studio is open (guard in startGroupCycle interval callback)
•
Main page scrollbar hidden when studio opens (body.overflow = hidden), restored on close
•
Delete — two-step inline confirmation: first click arms the button red ("Confirm delete"), second click deletes; stays in studio and navigates to the next image; only closes if it was the last image in the group
•
Duplicate button in Info tab — copies image into same group and navigates to the duplicate immediately
This commit is contained in:
mike
2026-06-22 11:58:51 +02:00
parent 7beed86c9a
commit 8dfe7775ea
7 changed files with 2379 additions and 127 deletions

View File

@@ -3,13 +3,6 @@ A realistic artistic nude female.
The model kneels on all fours with hands planted firmly under the shoulders and knees directly under the hips. One arm and the opposite leg are lifted completely off the ground, creating a powerful diagonal stretch across the body. Hips are lowered toward the ground. The composition emphasizes the muscular tension in the lifted limbs and the continuous curved lines of the arched back and torso. Strength and dynamic energy radiate from the pose. Studio lighting, anatomically precise, no background, plain neutral backdrop, high detail, professional figure reference photography.
# The Butterfly2:
Lays down with knees bent and feet touching, soles of feet pressed together in butterfly pose.
Clasp your hands around your legs and pull your feet up towards your chest.
Extend one leg over the other.
Head on top.
Realistic, perfect anatomy
# The Kneeling (Dynamic):
kneeling on all fours, hands under shoulders, knees under hips.
one arm and opposite leg slightly lifted off the ground, creating diagonal tension.
@@ -25,3 +18,43 @@ legs extended straight behind, toes pointed.
head lowered, face turned down toward the ground, chin tucked.
Looking down, not at camera. Regal, poised.
Perfect anatomy, realistic
# The Ascension (beta):
lying on back.
arms extended overhead, hands clasped or reaching past the head.
legs lifted straight up together, fully extended toward ceiling.
lower back pressed flat to the ground, shoulders relaxed.
vertical line from shoulders through heels.
Looking directly into camera. Weightless, transcendent.
Perfect anatomy, realistic
# The Sickle (beta):
lying on back, legs lifted and bent.
knees drawing toward the chest, then extending and lowering toward the head.
feet arched, toes pointing toward the ground behind the head.
arms wrapped around the thighs or extended to the sides.
body folded tightly, spine compressed.
Looking at the knees, then into camera. Curved, hooked.
Perfect anatomy, realistic
---
# The Hogtie:
lying on stomach, wrists bound behind the back.
ankles bound together, drawn toward the bound wrists.
body arched backward, chest and thighs lifted slightly off the ground.
head turned to the side, cheek on the ground.
Looking directly into camera. Contorted, helpless.
Perfect anatomy, realistic
---
# The Spread Eagle (Restrained):
lying on back, arms extended straight out to the sides, wrists bound to implied anchors.
legs spread wide, ankles bound to implied anchors.
back flat on the ground, hips centered.
head tilted back, throat exposed.
Looking upward, not at camera. Vulnerable, displayed.
Perfect anatomy, realistic