跳到內容

依尺寸生成與照片量尺寸

商品圖

結論把尺寸寫在提示裡沒用,模型只會把數字畫出來。要準必須給幾何:按比例畫好的輪廓+畫面內比例尺,可達 ±1 cm。反向「照片 → 尺寸」在有 A4 的平鋪照用古典 CV 就能做到。

範例同一次實際執行的輸入、設定與輸出
① 輸入
程式畫的 52 cm 輪廓+藍色 A4
程式畫的 52 cm 輪廓+藍色 A4
→
② 提示與參數
Turn the grey T-shirt shape into a photorealistic plain white cotton short-sleeve T-shirt laid flat on the grey table, with natural fabric wrinkles, a ribbed crew neck and hems. Keep the exact outline, size and position of the shape, keep the blue A4 sheet exactly as it is, keep the grey background, top-down product photo, no text, no logo.
模型Qwen-Image-Edit-2511
量回胸寬51.4 cm(目標 52)
耗時46 秒
→
③ 輸出
成品(以 A4 量回 51.4 cm)
成品(以 A4 量回 51.4 cm)
實驗 做法 結果
A 文字指定尺寸 Z-Image 生「胸寬 44–64 cm 白 T+A4」 失敗:量回全部 35–40 cm,數字被畫成標註
B 量測工具 藍色 A4 → px/cm → 衣高 45% 處寬度 成功:合成圖誤差 0.0 cm
C 模特身上改尺寸 Qwen-Edit「小一號/大兩號/大四號」 相對單調可控,絕對值無根據
D 幾何引導 程式畫比例輪廓+A4 → Qwen-Edit 變真衣 2/3 成功,誤差 ≤1 cm,每張 46 秒

六尺寸生成與量回胸寬

六尺寸生成與量回胸寬

模特改尺寸 S/原圖/XL/3XL

模特改尺寸 S/原圖/XL/3XL

輪廓引導 → 成品 → 量回

輪廓引導 → 成品 → 量回