文本渲染控制模板和示例提示
Author:Louis Gleeson
2026/01/05 09:12
Description
提供文本渲染控制模板,支持自定义标题、副标题和字体样式的海报生成。
Tags
画像生成フォーマット変換
Content
```json
{
"scene": "极简科技海报,带渐变背景",
"text_elements": [
{
"text": "{argument name=\"headline text\" default=\"AI 革命 2025\"}",
"position": "居中,上方三分之一处",
"font_style": "粗体,未来感无衬线字体,发光效果",
"size": "大标题"
},
{
"text": "{argument name=\"subtitle text\" default=\"未来已来\"}",
"position": "居中,下方三分之一处",
"font_style": "优雅手写体,较小的副标题",
"size": "较小的副标题"
}
]
}
```
---
**Original English:**
{
"scene": "minimalist tech poster with gradient background",
"text_elements": [
{
"text": "{argument name="headline text" default="AI Revolution 2025"}",
"position": "center, upper third",
"font_style": "bold, futuristic sans-serif, glowing effect",
"size": "large headline"
},
{
"text": "{argument name="subtitle text" default="The future is now"}",
"position": "center, lower third",
"font_style": "elegant script, smaller subtitle"
}
]
}