ICE-GL-ZY001 · CHAR-003苏白V3-R4 · 苍耳确认候选03方向 · 半侧身内敛宗主 · D169
Some checks failed
自动更新代码和重启 / update-and-restart (push) Has been cancelled
CI检查 + 自动部署 / check (push) Has been cancelled
CI检查 + 自动部署 / deploy (push) Has been cancelled

This commit is contained in:
bingshuo 2026-07-06 10:18:25 +08:00
parent 5d615f9b64
commit fbc5f15d4f
6 changed files with 114 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 826 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 812 KiB

View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><title>CHAR-003 苏白 V3-R4 · 候选03方向深入</title>
<style>
body{background:#1a1a1a;color:#ccc;font-family:sans-serif;margin:20px}
h2{text-align:center;color:#fff;margin-bottom:5px}
.sub{text-align:center;color:#999;font-size:13px;margin-bottom:20px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1200px;margin:0 auto}
.card{background:#2a2a2a;padding:15px;border-radius:8px;text-align:center}
.card img{width:100%;max-height:600px;object-fit:contain}
.card p{margin:8px 0 0;font-size:14px;color:#aaa}
</style></head><body>
<h2>CHAR-003 苏白 V3-R4 · 基于候选03方向深入</h2>
<p class="sub">姿态收敛·表情内敛·去手势·骨相清晰 · 不良人硬核写实</p>
<div class="grid">
<div class="card"><img src="CHAR-003-V3-R4-candidate-01-1440x2560.png"><p>R4-01 · seed=555 · 半侧身微向左·目光平视·淡然从容</p></div>
<div class="card"><img src="CHAR-003-V3-R4-candidate-02-1440x2560.png"><p>R4-02 · seed=567 · 半侧身微向右·微风发带·目光深远</p></div>
<div class="card"><img src="CHAR-003-V3-R4-candidate-03-1440x2560.png"><p>R4-03 · seed=579 · 半侧身居中·下颚微收·骨相清晰</p></div>
<div class="card"><img src="CHAR-003-V3-R4-candidate-04-1440x2560.png"><p>R4-04 · seed=591 · 半侧身居中偏右·清冷高贵·不怒自威</p></div>
</div></body></html>

View File

@ -0,0 +1,95 @@
#!/usr/bin/env python3
"""CHAR-003 V3-R4 · 候选03方向深入 · 苍耳确认 · 姿态收敛·表情内敛"""
import os, sys, json, time, subprocess
from pathlib import Path
ROOT = Path('D:/WorkBuddy/guanghulab/video-ai-system')
env = {}
for line in open(ROOT/".env"):
line = line.strip()
if not line or line.startswith("#"): continue
if "=" in line:
k, v = line.split("=", 1)
env[k.strip()] = v.strip()
AK = env["JIMENG_API_KEY"]
URL = env["JIMENG_BASE_URL"]
MODEL = "doubao-seedream-4-0-250828"
OUT = ROOT / "assets/candidates/D163-VA-05-001-V3/CHAR-003-SuBai/R4"
OUT.mkdir(parents=True, exist_ok=True)
# R4 修正基于候选03方向
# 1. 去掉"单手轻抬"——手势太现代
# 2. "笑容灿烂"→"嘴角微抿淡然从容"
# 3. 半侧面姿态保留,改为更自然的站立
# 4. 强调骨相清晰、写实质感
P = """中国古代仙侠年轻宗主,单人全身立绘,纯白背景。
18岁男性亚洲面孔五官清俊英挺骨相清晰下颌线锐利剑眉星目眼神深邃内敛嘴角微抿神情淡然从容
年轻但不轻浮有不怒自威的宗主气度仙风道骨沉稳而不僵硬
黑色长发半束半披青色发带自然垂落
白色交领长衫外罩轻薄青色纱质外袍腰间深青色丝绦玉带衣袂自然垂落有布料重量感面料纹理可见
半侧身站立双手自然垂于身侧身姿挺拔如松目光平视略远
真人向3D写实渲染光影厚重自然皮肤有真实毛孔质感不良人万妖图录传硬核写实风格中国古代宗主肖像画面有电影级光影"""
N = """笑容灿烂,露齿笑,大笑,咧嘴,表情夸张,表情丰富,活泼,元气,偶像感。
网红脸奶油小生偶像剧男主AI写真美颜滤镜磨皮化妆感浓妆
现代手势挥手指路剪刀手比耶OK手势搭讪动作
真人写实照片摄影棚打光杂志写真现代服装西装短发染发
迪士尼皮克斯可爱娃娃脸圆脸大眼睛卖萌日系动漫Q版女性化长发辫子裙子女装
畸形肢体五官崩坏模糊不清水印破损衣服补丁乞丐感表情阴郁愤怒
过度油腻头发油光面部浮肿双下巴胡子皱纹过多苍老
卡通渲染塑料感游戏低模低多边形廉价3D光污染特效浮夸光环仙侠页游风
诸葛风脸粗麻布衣贫穷感寒酸感落魄"""
VARIANTS = [
"半侧身微向左,目光平视远方,神情淡然从容,年轻宗主气质沉稳内敛",
"半侧身微向右,微风吹动发带衣袂,目光深远有神,仙风道骨",
"半侧身居中偏左,下颚微收,眼神笃定,骨相清晰,电影级光影",
"半侧身居中偏右,气质清冷高贵,不怒自威,写实质感面部纹理可见"
]
SEEDS = [555, 567, 579, 591]
def gen(prompt, neg, seed):
body = json.dumps({"model": MODEL, "prompt": prompt, "negative_prompt": neg, "size": "1440x2560", "n": 1, "seed": seed})
r = subprocess.run(["curl", "-s", "-m", "120", "--noproxy", "*", "-X", "POST", f"{URL}/images/generations",
"-H", f"Authorization: Bearer {AK}", "-H", "Content-Type: application/json", "-d", body],
capture_output=True, text=True, timeout=130)
try:
return json.loads(r.stdout)["data"][0].get("url")
except:
print(f" API err: {r.stdout[:300]}")
return None
def dl(url, dst):
Path(dst).parent.mkdir(parents=True, exist_ok=True)
subprocess.run(["curl", "-s", "-m", "120", "-L", "--noproxy", "*", "-o", dst, url], capture_output=True, timeout=130)
return os.path.exists(dst) and os.path.getsize(dst) > 1024
ts = time.strftime("%Y%m%d-%H%M%S")
results = []
for i, (seed, var) in enumerate(zip(SEEDS, VARIANTS)):
full = f"{P} {var}"
print(f"[{i+1}/4] seed={seed}", flush=True)
url = gen(full, N, seed)
if not url:
results.append({"c": i+1, "ok": False, "err": "api"})
continue
dst = OUT / f"CHAR-003-V3-R4-candidate-{i+1:02d}-1440x2560.png"
if not dl(url, str(dst)):
results.append({"c": i+1, "ok": False, "err": "dl"})
continue
results.append({"c": i+1, "ok": True, "raw": str(dst), "seed": seed, "variant": var})
print(f" -> {dst.name}")
time.sleep(3)
ok = sum(1 for r in results if r["ok"])
print(f"\n完成: {ok}/4")
meta = {"spec": "VA-05-001-V3-R4", "ts": ts, "char": "CHAR-003-SuBai",
"parent": "V3-candidate-03", "苍耳确认": "候选03方向",
"style": "不良人/万妖图录传·硬核写实·内敛宗主",
"ok": ok, "model": MODEL, "engine": "Seedream",
"results": results}
json.dump(meta, open(OUT/"generation-meta.json","w",encoding="utf-8"), ensure_ascii=False, indent=2)