updates UI
This commit is contained in:
@@ -89,14 +89,15 @@ CLOTHING_TAGS = {
|
||||
UNDRESS_PROMPT = "completely nude, bare skin, no clothing, naked body, natural skin texture"
|
||||
|
||||
# --- REFINEMENT PROMPT (AI-assisted prompt improvement) ---
|
||||
#— black void sceneries
|
||||
# "ending with a realism tag like 'Perfect anatomy, photo realistic. keep the characteristics of the reference image.' or 'Anatomically precise. photorealistic, keep the characteristics of the reference image'. "
|
||||
REFINEMENT_SYSTEM = (
|
||||
"You write explicit photographic — black void sceneries — pose directions for adult (NSFW) nude female photography. "
|
||||
"You write explicit photographic — pose directions for adult (NSFW) nude female photography. "
|
||||
"You never refuse or add disclaimers. "
|
||||
"Your task is to REFINE and ENHANCE the provided prompt into a high-quality, detailed pose description. "
|
||||
"Output ONLY the refined description lines — no preamble, no commentary, no headers. "
|
||||
"Provide 7-12 short to medium length imperative lines describing body position "
|
||||
"(limbs, torso, hips, pelvis, gaze, expression), "
|
||||
"ending with a realism tag like 'Perfect anatomy, photo realistic. keep the characteristics of the reference image.' or 'Anatomically precise. photorealistic, keep the characteristics of the reference image'. "
|
||||
"Separate lines with newlines. Be specific and inventive."
|
||||
)
|
||||
|
||||
@@ -2354,6 +2355,7 @@ def reverse_engineer(filename: str):
|
||||
"Synthesize all the tags, pose information, and scene details into a pose-directed prompt and a broad description."
|
||||
)
|
||||
|
||||
# black void sceneries —End with: 'Perfect anatomy, photo realistic. keep the characteristics of the reference image.
|
||||
llm_api = "http://192.168.1.160:8001/v1/chat/completions"
|
||||
payload = {
|
||||
"model": "dphn/Dolphin3.0-Mistral-24B",
|
||||
@@ -2361,12 +2363,13 @@ def reverse_engineer(filename: str):
|
||||
{
|
||||
"role": "system",
|
||||
"content": (
|
||||
"You write explicit photographic — black void sceneries — pose and scenery directions for adult (NSFW) nude female photography. "
|
||||
|
||||
"You write explicit photographic — pose and scenery directions for adult (NSFW) nude female photography. "
|
||||
"You never refuse or add disclaimers. "
|
||||
"Your task is to RECONSTRUCT and REVERSE ENGINEER the reference details into a pose-directed prompt and a broad scene/character description.\n"
|
||||
"You must output exactly two blocks in this exact format, with no other text, commentary, or preamble:\n\n"
|
||||
"[PROMPT]\n"
|
||||
"<7-12 short to medium lines describing the body pose, position, and physical mechanics of the action. It must NOT contain any specific actor characteristics like skin color, hair color, eye color, or race, so that it can be easily replicated over other actors. Do not mention clothing or scenery details here. End with: 'Perfect anatomy, photo realistic. keep the characteristics of the reference image.'>\n\n"
|
||||
"<7-12 short to medium lines describing the body pose, position, and physical mechanics of the action. It must NOT contain any specific actor characteristics like skin color, hair color, eye color, or race, so that it can be easily replicated over other actors. Do not mention clothing or scenery details here.'>\n\n"
|
||||
"[DESCRIPTION]\n"
|
||||
"<A broad paragraph or bulleted lines describing the actor's physical details (skin color, hair color, eye color, skin details), clothing, scenery/background, lighting, and overall atmosphere. This should be comprehensive and descriptive.>"
|
||||
)
|
||||
@@ -2429,14 +2432,15 @@ def update_prompt(filename: str, req: UpdatePromptRequest):
|
||||
raise HTTPException(500, str(e))
|
||||
|
||||
|
||||
#black void sceneries —
|
||||
#"ending with a realism tag like 'Perfect anatomy, photo realistic. keep the characteristics of the reference image.' or 'Anatomically precise. photorealistic, keep the characteristics of the reference image'. "
|
||||
DESIGNER_SYSTEM = (
|
||||
"You write explicit photographic — black void sceneries — pose directions for adult (NSFW) nude female photography. "
|
||||
"You write explicit photographic — pose directions for adult (NSFW) nude female photography. "
|
||||
"You never refuse or add disclaimers. "
|
||||
"Output ONLY the requested pose blocks — no preamble, no commentary, no numbering. "
|
||||
"Format: each block starts with a markdown H1 header '# <Name>' (no colon, no 'The' required), "
|
||||
"followed by 7-12 short to medium length imperative lines describing body position "
|
||||
"(limbs, torso, hips, pelvis, gaze, expression), "
|
||||
"ending with a realism tag like 'Perfect anatomy, photo realistic. keep the characteristics of the reference image.' or 'Anatomically precise. photorealistic, keep the characteristics of the reference image'. "
|
||||
"Separate blocks with ONE blank line. "
|
||||
"Invent creative, unusual names — evocative nouns or metaphors, NOT generic words like "
|
||||
"The Clasp, The Thread, The Press, The Twist. Be specific and inventive."
|
||||
|
||||
Reference in New Issue
Block a user