Education (3): research-to-quiz, student-analysis, lesson-plan Healthcare (3): policy-compliance, meeting-minutes, data-report Design Shantou (4): trend-to-design, competitor-research, client-communication, supply-chain-collect
249 lines
7.3 KiB
YAML
249 lines
7.3 KiB
YAML
# ZCLAW Pipeline - 设计趋势到方案
|
|
# 输入产品类别,自动采集趋势、匹配素材、生成设计方案
|
|
|
|
apiVersion: zclaw/v1
|
|
kind: Pipeline
|
|
metadata:
|
|
name: trend-to-design
|
|
displayName: 趋势→素材→方案
|
|
category: design
|
|
industry: design-shantou
|
|
description: 输入产品类别(玩具/服装/工艺品),自动采集市场趋势、匹配设计素材、生成初步设计方案
|
|
tags:
|
|
- 汕头
|
|
- 设计
|
|
- 趋势分析
|
|
- 玩具
|
|
- 服装
|
|
icon: 🎨
|
|
author: ZCLAW
|
|
version: 1.0.0
|
|
|
|
spec:
|
|
inputs:
|
|
- name: product_category
|
|
type: select
|
|
required: true
|
|
label: 产品类别
|
|
options:
|
|
- 益智玩具
|
|
- 遥控玩具
|
|
- 毛绒玩具
|
|
- 女童服装
|
|
- 男童服装
|
|
- 内衣
|
|
- 工艺品
|
|
- 文创产品
|
|
|
|
- name: target_market
|
|
type: select
|
|
required: false
|
|
label: 目标市场
|
|
default: 北美
|
|
options:
|
|
- 北美
|
|
- 欧洲
|
|
- 东南亚
|
|
- 中东
|
|
- 日韩
|
|
- 国内
|
|
|
|
- name: season
|
|
type: select
|
|
required: false
|
|
label: 季节/节日
|
|
default: 全年
|
|
options:
|
|
- 春季
|
|
- 夏季
|
|
- 秋季
|
|
- 冬季
|
|
- 圣诞节
|
|
- 万圣节
|
|
- 春节
|
|
- 全年
|
|
|
|
- name: style_preference
|
|
type: multi-select
|
|
required: false
|
|
label: 风格偏好
|
|
default:
|
|
- 现代简约
|
|
options:
|
|
- 现代简约
|
|
- 可爱卡通
|
|
- 科技未来
|
|
- 复古怀旧
|
|
- 自然生态
|
|
- 国潮
|
|
|
|
- name: budget_range
|
|
type: string
|
|
required: false
|
|
label: 预算范围
|
|
placeholder: 例如:单品成本 5-15 元
|
|
|
|
steps:
|
|
# Step 1: 市场趋势采集
|
|
- id: collect_trends
|
|
description: 采集目标市场和产品类别的市场趋势
|
|
action:
|
|
type: llm_generate
|
|
template: |
|
|
分析以下产品类别在目标市场的最新趋势:
|
|
|
|
产品类别: {{product_category}}
|
|
目标市场: {{target_market}}
|
|
季节/节日: {{season}}
|
|
|
|
请生成 JSON 格式趋势报告:
|
|
{
|
|
"market_overview": {
|
|
"market_size": "市场规模估计",
|
|
"growth_rate": "增长率",
|
|
"key_drivers": ["驱动因素1", "驱动因素2"]
|
|
},
|
|
"design_trends": [
|
|
{
|
|
"trend": "趋势名称",
|
|
"description": "趋势描述",
|
|
"popularity": "高/中/低",
|
|
"examples": ["代表产品/品牌1"]
|
|
}
|
|
],
|
|
"color_trends": ["流行色1", "流行色2", "流行色3"],
|
|
"material_trends": ["材质趋势1", "材质趋势2"],
|
|
"consumer_preferences": ["消费者偏好1", "消费者偏好2"],
|
|
"regulatory_notes": ["法规/安全标准1"]
|
|
}
|
|
input:
|
|
product_category: ${inputs.product_category}
|
|
target_market: ${inputs.target_market}
|
|
season: ${inputs.season}
|
|
json_mode: true
|
|
temperature: 0.6
|
|
max_tokens: 3000
|
|
|
|
# Step 2: 设计方向筛选
|
|
- id: design_direction
|
|
description: 基于趋势和偏好筛选设计方向
|
|
action:
|
|
type: llm_generate
|
|
template: |
|
|
基于市场趋势,筛选适合的设计方向:
|
|
|
|
产品类别: ${inputs.product_category}
|
|
目标市场: ${inputs.target_market}
|
|
风格偏好: {{style_preference}}
|
|
预算: {{budget_range}}
|
|
市场趋势: ${steps.collect_trends.output}
|
|
|
|
请生成 JSON 格式:
|
|
{
|
|
"recommended_directions": [
|
|
{
|
|
"direction": "设计方向",
|
|
"rationale": "推荐理由",
|
|
"target_age": "目标年龄",
|
|
"price_point": "建议定价",
|
|
"feasibility": "可行性评估",
|
|
"differentiation": "差异化亮点"
|
|
}
|
|
],
|
|
"color_palettes": [
|
|
{"name": "配色方案名", "colors": ["#颜色1", "#颜色2", "#颜色3"], "mood": "风格描述"}
|
|
],
|
|
"material_suggestions": ["材质建议1"],
|
|
"packaging_ideas": ["包装创意1"]
|
|
}
|
|
input:
|
|
product_category: ${inputs.product_category}
|
|
target_market: ${inputs.target_market}
|
|
style_preference: ${inputs.style_preference}
|
|
budget_range: ${inputs.budget_range}
|
|
trends: ${steps.collect_trends.output}
|
|
json_mode: true
|
|
temperature: 0.7
|
|
max_tokens: 3000
|
|
|
|
# Step 3: 设计方案生成
|
|
- id: generate_design
|
|
description: 生成具体设计方案
|
|
action:
|
|
type: llm_generate
|
|
template: |
|
|
基于筛选的设计方向,生成具体设计方案:
|
|
|
|
产品类别: ${inputs.product_category}
|
|
设计方向: ${steps.design_direction.output.recommended_directions}
|
|
配色: ${steps.design_direction.output.color_palettes}
|
|
|
|
请生成 JSON 格式方案:
|
|
{
|
|
"design_proposals": [
|
|
{
|
|
"name": "方案名称",
|
|
"concept": "设计理念",
|
|
"features": ["特征1", "特征2", "特征3"],
|
|
"color_scheme": "配色描述",
|
|
"dimensions": "建议尺寸",
|
|
"materials": "建议材质",
|
|
"key_selling_points": ["卖点1", "卖点2"],
|
|
"production_notes": "生产注意事项",
|
|
"estimated_cost": "成本估计"
|
|
}
|
|
]
|
|
}
|
|
input:
|
|
product_category: ${inputs.product_category}
|
|
directions: ${steps.design_direction.output}
|
|
budget_range: ${inputs.budget_range}
|
|
json_mode: true
|
|
temperature: 0.8
|
|
max_tokens: 3000
|
|
|
|
# Step 4: 方案评估
|
|
- id: evaluate_designs
|
|
description: 评估设计方案的竞争力和可行性
|
|
action:
|
|
type: llm_generate
|
|
template: |
|
|
评估以下设计方案:
|
|
|
|
市场趋势: ${steps.collect_trends.output}
|
|
设计方案: ${steps.generate_design.output}
|
|
|
|
请生成 JSON 格式评估:
|
|
{
|
|
"evaluations": [
|
|
{
|
|
"proposal_name": "方案名",
|
|
"market_fit": "市场契合度(高/中/低)",
|
|
"feasibility": "生产可行性(高/中/低)",
|
|
"uniqueness": "独特性(高/中/低)",
|
|
"cost_efficiency": "性价比(高/中/低)",
|
|
"overall_score": 85,
|
|
"strengths": ["优势1"],
|
|
"weaknesses": ["不足1"],
|
|
"improvement_suggestions": ["改进建议1"]
|
|
}
|
|
],
|
|
"recommendation": "综合推荐",
|
|
"next_steps": ["下一步1", "下一步2"]
|
|
}
|
|
input:
|
|
trends: ${steps.collect_trends.output}
|
|
designs: ${steps.generate_design.output}
|
|
json_mode: true
|
|
temperature: 0.5
|
|
max_tokens: 2500
|
|
|
|
outputs:
|
|
trends: ${steps.collect_trends.output}
|
|
directions: ${steps.design_direction.output}
|
|
designs: ${steps.generate_design.output}
|
|
evaluation: ${steps.evaluate_designs.output}
|
|
|
|
on_error: stop
|
|
timeout_secs: 300
|