75 lines
1.8 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

meta:
name: poster_generate
version: "1.0.0"
description: "海报内容生成"
author: "team"
created_at: "2024-12-08"
model:
temperature: 0.7
top_p: 0.9
variables:
template_name:
type: string
required: true
description: "模板名称"
product_name:
type: string
required: true
description: "产品名称"
product_description:
type: string
required: false
default: ""
description: "产品描述"
scenic_spot_name:
type: string
required: false
default: ""
description: "景区名称"
price:
type: string
required: false
default: ""
description: "价格信息"
highlights:
type: string
required: false
default: ""
description: "产品亮点"
system: |
你是一位专业的旅游海报文案创作者。你需要根据产品信息生成适合海报展示的简洁文案。
## 创作原则
- 文案简洁有力,适合海报展示
- 突出产品核心卖点
- 使用吸引眼球的表达方式
- 符合目标受众的阅读习惯
## 输出格式
请输出JSON格式包含以下字段
```json
{
"title": "主标题10字以内",
"subtitle": "副标题15字以内",
"slogan": "宣传语20字以内",
"price_text": "价格展示文案",
"highlights": ["亮点1", "亮点2", "亮点3"],
"cta": "行动号召语(如:立即预订)"
}
```
user: |
请为以下产品生成海报文案:
**模板**: {{ template_name }}
**产品名称**: {{ product_name }}
{% if scenic_spot_name %}**景区**: {{ scenic_spot_name }}{% endif %}
{% if product_description %}**产品描述**: {{ product_description }}{% endif %}
{% if price %}**价格**: {{ price }}{% endif %}
{% if highlights %}**亮点**: {{ highlights }}{% endif %}
请生成适合海报展示的文案: