v92-v105 多国适配 + 模板导出增强 + 生图可靠性优化
- 新增韩国(KR)适配:countries/pinterest 种子词、K-pop 提示词、UI 国家列表 - 爬虫跨运行持久化已采集 URL(.collected_urls.json),同关键词重复搜索采新图 - 模板导出增强:SPU 商品属性列名前缀剥离匹配、尺码下拉框 INDIRECT 动态引用、 SPU 字段映射(袖长/门襟/胸垫等)、季节/印花图案女装映射、建议售价统一必填、 SKU 分类/数量/单位直接填默认值 - 自定义模式:多模态提示词独立(custom_analyze_*)、生图提示词模板可配置 - Pinterest:空选品守卫、连续空分析保护(max_empty_analyze)、flat_prompt 配置覆盖 - 生图可靠性:开始/完成进度日志、异步任务轮询超时 60s→300s
This commit is contained in:
@@ -0,0 +1,165 @@
|
||||
# 韩国审美与风格-配色规则(prompts/KR/aesthetics.yaml)
|
||||
style_hint: "Trendy K-pop street culture, Seoul neon nightlife, Y2K retro-futurism, cute-hip aesthetic, bold typography with hangul accents. Prefer: K-pop, Seoul Neon, Y2K, Hanbok Pattern, Korean Food, K-Street Fashion, Jeju Nature, Retro Korea."
|
||||
|
||||
extra_style_rules:
|
||||
- keywords: [kpop, idol, concert, fan, lightstick, music]
|
||||
art_style: "kpop idol badge illustration"
|
||||
color_palette: "purple, pink, black, silver"
|
||||
- keywords: [seoul, neon, night, hongdae, gangnam, city]
|
||||
art_style: "seoul neon night street illustration"
|
||||
color_palette: "neon pink, electric blue, black, cyan"
|
||||
- keywords: [y2k, retro, futuristic, chrome, futuristic]
|
||||
art_style: "y2k retro-futurism graphic"
|
||||
color_palette: "silver, pink, light blue, purple"
|
||||
- keywords: [hanbok, traditional, dancheong, palace, royal]
|
||||
art_style: "hanbok dancheong pattern illustration"
|
||||
color_palette: "crimson red, royal blue, gold, white"
|
||||
- keywords: [kimchi, bibimbap, tteokbokki, kimbap, bulgogi, food]
|
||||
art_style: "playful korean food illustration"
|
||||
color_palette: "chili red, golden yellow, leaf green, cream"
|
||||
- keywords: [tiger, kumiho, fox, crane, magpie, folklore, animal]
|
||||
art_style: "korean folklore animal illustration"
|
||||
color_palette: "orange, white, black, red"
|
||||
- keywords: [cherry blossom, sakura, jinhae, spring, flower]
|
||||
art_style: "korean cherry blossom illustration"
|
||||
color_palette: "blossom pink, white, pale green, soft gray"
|
||||
- keywords: [jeju, island, hallasan, ocean, coast]
|
||||
art_style: "jeju island nature illustration"
|
||||
color_palette: "ocean blue, sea green, cream, volcanic black"
|
||||
- keywords: [hangul, korean letter, typography, calligraphy, text]
|
||||
art_style: "bold hangul typography design"
|
||||
color_palette: "black, white, red, yellow"
|
||||
- keywords: [hanok, gyeongbokgung, temple, architecture, traditional house]
|
||||
art_style: "korean hanok architecture illustration"
|
||||
color_palette: "wood brown, roof gray, red, white"
|
||||
- keywords: [mask, talchum, dance, festival, folk]
|
||||
art_style: "korean mask dance folk illustration"
|
||||
color_palette: "red, yellow, black, white"
|
||||
- keywords: [cafe, coffee, bingsu, dessert, sweet, drink]
|
||||
art_style: "korean cafe dessert illustration"
|
||||
color_palette: "cream white, coffee brown, pink, mint"
|
||||
- keywords: [streetwear, street fashion, k-fashion, hip, style]
|
||||
art_style: "korean street fashion illustration"
|
||||
color_palette: "black, white, neon green, red"
|
||||
- keywords: [taekwondo, martial arts, sport, fight]
|
||||
art_style: "taekwondo martial art silhouette graphic"
|
||||
color_palette: "black, white, red, blue"
|
||||
- keywords: [moon, star, night, dreamy, galaxy]
|
||||
art_style: "korean dreamy night illustration"
|
||||
color_palette: "deep blue, star gold, silver, purple"
|
||||
- keywords: [zodiac, tiger year, new year, year of]
|
||||
art_style: "korean zodiac animal illustration"
|
||||
color_palette: "red, gold, orange, white"
|
||||
- keywords: [mugunghwa, rose of sharon, korean flower, floral]
|
||||
art_style: "korean national flower illustration"
|
||||
color_palette: "pink, white, green, yellow"
|
||||
- keywords: [ginkgo, autumn, maple, fall, leaf]
|
||||
art_style: "korean autumn leaves illustration"
|
||||
color_palette: "ginkgo yellow, maple red, brown, warm orange"
|
||||
- keywords: [pattern, geometric, traditional pattern, motif]
|
||||
art_style: "korean traditional pattern design"
|
||||
color_palette: "red, blue, gold, white"
|
||||
- keywords: [drum, janggu, samulnori, instrument, music traditional]
|
||||
art_style: "korean traditional music illustration"
|
||||
color_palette: "red, gold, black, white"
|
||||
- keywords: [seoul skyline, tower, landmark, namsan, han river]
|
||||
art_style: "seoul landmark skyline illustration"
|
||||
color_palette: "night blue, neon pink, white, gold"
|
||||
- keywords: [busan, haeundae, sea, beach, fishing village]
|
||||
art_style: "korean coastal town illustration"
|
||||
color_palette: "sea blue, sandy beige, coral, white"
|
||||
- keywords: [hanbok character, cute, mascot, chibi, doll]
|
||||
art_style: "cute hanbok mascot illustration"
|
||||
color_palette: "pastel pink, mint, cream, red"
|
||||
- keywords: [lantern, lotus, temple lantern, buddhist festival]
|
||||
art_style: "korean lotus lantern illustration"
|
||||
color_palette: "gold, crimson, white, green"
|
||||
|
||||
# 韩国常见侵权盲区(按国家隔离)
|
||||
extra_blacklist:
|
||||
# —— K-pop 偶像团体 / 组合 ——
|
||||
- bts
|
||||
- blackpink
|
||||
- exo
|
||||
- twice
|
||||
- seventeen
|
||||
- "stray kids"
|
||||
- enhypen
|
||||
- itzy
|
||||
- aespa
|
||||
- ive
|
||||
- "le sserafim"
|
||||
- nct
|
||||
- "red velvet"
|
||||
- newjeans
|
||||
- "super junior"
|
||||
- shinee
|
||||
- "big bang"
|
||||
- tvxq
|
||||
- "girl's generation"
|
||||
- snsd
|
||||
- mamamoo
|
||||
- "(g)i-dle"
|
||||
- txt
|
||||
- got7
|
||||
- monsta x
|
||||
- "black label"
|
||||
# —— 粉丝名(专属名称)——
|
||||
- army
|
||||
- blink
|
||||
- once
|
||||
- nctzen
|
||||
- midzy
|
||||
- carat
|
||||
- stay
|
||||
# —— 真实艺人(肖像权)——
|
||||
- iu
|
||||
- lisa
|
||||
- jennie
|
||||
- jisoo
|
||||
- rose
|
||||
- jungkook
|
||||
- jimin
|
||||
- v
|
||||
- suga
|
||||
- rm
|
||||
- j-hope
|
||||
- "cha eun-woo"
|
||||
- "lee min-ho"
|
||||
- "kim soo-hyun"
|
||||
- "song hye-kyo"
|
||||
- "bae suzy"
|
||||
- "park bo-gum"
|
||||
- hyun bin
|
||||
- "kim tae-hee"
|
||||
- "yoo jae-suk"
|
||||
- psy
|
||||
# —— 品牌 ——
|
||||
- samsung
|
||||
- "lg electronics"
|
||||
- hyundai
|
||||
- kia
|
||||
- naver
|
||||
- kakao
|
||||
- bibigo
|
||||
- ottogi
|
||||
- nongshim
|
||||
- lotte
|
||||
- "tous les jours"
|
||||
- "paris baguette"
|
||||
- innisfree
|
||||
- amorepacific
|
||||
- "line friends"
|
||||
- "kakao friends"
|
||||
# —— IP / 版权 ——
|
||||
- "line friends"
|
||||
- "kakao friends"
|
||||
- pororo
|
||||
- tayo
|
||||
- larva
|
||||
- pinkfong
|
||||
- "baby shark"
|
||||
- pengsoo
|
||||
- cocomong
|
||||
- "robocar poli"
|
||||
- "squid game"
|
||||
@@ -0,0 +1,10 @@
|
||||
# 韩国专属补充指令
|
||||
- 设计口吻:K-pop 街头文化活力、首尔霓虹夜生活、Y2K 复古未来、可爱甜酷审美、大胆排印与韩文字点缀。
|
||||
- 合规重点(韩国特有):
|
||||
* 偶像团体(BTS、BLACKPINK、EXO、TWICE、NewJeans、SEVENTEEN、Stray Kids、ENHYPEN、ITZY、aespa、IVE、LE SSERAFIM、NCT、Red Velvet 等)名称、logo、应援色、粉丝名(ARMY、BLINK、ONCE 等)与成员肖像禁止。
|
||||
* 真实艺人(IU、Lisa、Jennie、Jisoo、Rosé、Jungkook、V、Jimin、Suga、RM、J-Hope、차은우 车银优、이민호 李敏镐、김수현 金秀贤、송혜교 宋慧乔、배수지 裴秀智 等)肖像权。
|
||||
* 品牌(Samsung、LG、Hyundai、Kia、Naver、Kakao、Bibigo、Ottogi、Nongshim、Lotte、Tous Les Jours、Paris Baguette、Innisfree、Line Friends、Kakao Friends)logo 与名称禁止。
|
||||
* 版权 IP:Line Friends、Kakao Friends、뽀로로(Pororo)、타요(Tayo the Little Bus)、라바(Larva)、핑크퐁(Pinkfong) Baby Shark、펭수(Pengsoo) 等角色禁止。
|
||||
- 可做"首尔霓虹夜景 / 原创 K-pop 风格角色 / 韩式传统图案(한복、단청、매화)/ 韩国美食 / 韩国街头潮流 / 济州自然"等原创设计。
|
||||
- 文字规则:韩文或英文短句可加可不加,与印花适配即可(如 SEOUL、K-문화、사랑해);任何文字严禁政治/宗教/仇恨/暴力/性/品牌/商标/真实人物姓名等敏感内容。
|
||||
- Return JSON 输出格式必须严格遵循系统提示词中的 schema,不要输出任何额外文字。
|
||||
@@ -0,0 +1,19 @@
|
||||
You are a POD T-shirt design analyst working in CUSTOM-REFERENCE mode. You are given ONE existing bestseller product photo — an on-model shot or a flat-lay shot of a printed garment. Your job:
|
||||
1. Locate the printed artwork on the garment and judge whether that PRINT can inspire a new T-shirt design (ignore the shirt itself, the model, the background, watermarks and photo quality — judge only the printed artwork).
|
||||
2. Write an ORIGINAL design brief that keeps the bestseller's general vibe (theme, style genre, era, mood) but is a clearly different, non-infringing work.
|
||||
|
||||
RULES:
|
||||
0. REFERENCE HANDLING — the attached photo is a product mockup of an existing bestseller, not an artwork file. Use it ONLY to identify the printed artwork and distill its appeal into generic style keywords (retro, y2k, minimal, grunge, boho, kawaii, western, cottagecore, vintage cartoon...). Never reproduce, trace, rearrange, recolor or closely imitate the print, its layout, characters or text.
|
||||
1. SAME SUBJECT FAMILY, NEW EXECUTION — the new design must belong to the same visual family as the bestseller print so a buyer would instantly see they are "same style, different shirt". LOCK these elements to the bestseller's: (a) general subject category (e.g., human/animal figure silhouette, celestial object, floral, vehicle, typography-led...), (b) art technique (e.g., grunge ink silhouette, clean line art, watercolor, distressed collage...), (c) palette (monochrome / muted / neon...). VARY these: the exact subject, the pose, the composition and layout, and any decorative framing. The result must be clearly original — no traced or rearranged reuse of the reference artwork — while staying recognizably in the same genre.
|
||||
2. IP SCREENING — if the bestseller print contains brand logos, trademarks, slogans, mascots, copyrighted characters (including stylized or silhouette versions), real people/celebrities, movie/game/anime/band IP, or lyrics, do NOT imitate them; swap in fully generic equivalents (e.g., an unnamed cartoon animal instead of a recognizable mascot). Also avoid politics, religion, violence, sexual content, alcohol, drugs, gambling, flags, death/occult themes.
|
||||
3. FORM — ONE clear central subject with strong graphic composition; print-ready standalone artwork. ANY colors are fine — rich palettes, gradients and detailed shading are all acceptable. Because the reference is a product photo, explicitly exclude the garment and the photo itself: never describe shirts, models, hangers, scenes or backgrounds. Photographic elements in the print may be re-rendered as detailed full-color illustrations, retro badges or vintage stickers.
|
||||
4. TEXT — short ORIGINAL English wording (1-6 words) allowed; wrap exact words in double quotes and demand exact spelling; integrate into composition. Never reuse, translate or near-duplicate the bestseller print's wording; no brand/band/movie names or famous slogans. When unsure, omit.
|
||||
|
||||
suitable_for_print: judge ONLY the printed artwork extracted from the bestseller photo. DEFAULT TRUE for graphics, illustrations, badges, vector art, typography prints, or prints visible on mockups. FALSE only for: blank garments with no artwork, prints that are indiscernible due to watermark, blur or very low quality, pure subjectless photo scenery, memes/screenshots/collages with no usable motif. Even when FALSE, still fill all fields so downstream never breaks.
|
||||
|
||||
image_prompt = two parts:
|
||||
1) mandatory opener: "First, carefully examine the printed artwork on the garment in the attached photo: zoom in mentally on the print area, identify its subject, technique, palette and layout, and base the new design on THOSE observed traits. Ignore the model, background and photo quality. Then: use the attached bestseller product photo only as loose inspiration for overall mood, theme, era and style genre — do NOT reproduce, trace, rearrange, recolor or closely imitate its printed artwork, characters, layout or text, and do NOT render a shirt, garment, model, hanger, photo scene, product mockup or background of any kind."
|
||||
2) the new design: [same subject family as observed] + [same technique and palette family] + [changed exact subject, pose, composition and framing] + [mood], plus quoted original text if used. NEVER mention shirts, apparel, models, scenes, sizes, backgrounds or watermarks — placement is handled externally. Before output, verify the new design shares the locked elements (subject category, technique, palette) with the observed print; if not, revise it.
|
||||
|
||||
OUTPUT — ONLY valid JSON, no fences:
|
||||
{"designs":[{"suitable_for_print":<bool>,"image_prompt":"<str>"}]}
|
||||
@@ -0,0 +1 @@
|
||||
Analyze the attached bestseller product photo, locate its printed artwork, and produce one ORIGINAL T-shirt print design brief that keeps its general vibe without copying its printed artwork.
|
||||
@@ -42,9 +42,5 @@ image_prompt = two parts:
|
||||
NEVER mention shirts, apparel, models, scenes, sizes, backgrounds or
|
||||
watermarks — placement is handled externally.
|
||||
|
||||
negative_prompt: copy of reference artwork, likenesses, characters, logos,
|
||||
trademarks, watermark, photorealistic shirt/product mockups, busy background;
|
||||
add garbled-lettering terms only if your design includes text.
|
||||
|
||||
OUTPUT — ONLY valid JSON, no fences:
|
||||
{"designs":[{"suitable_for_print":<bool>,"negative_prompt":"<str>","image_prompt":"<str>"}]}
|
||||
{"designs":[{"suitable_for_print":<bool>,"image_prompt":"<str>"}]}
|
||||
Reference in New Issue
Block a user