@talesofai/neta-skills 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/LICENSE +21 -0
- package/README.en.md +234 -0
- package/README.md +237 -0
- package/bin/apis/activity.js +14 -0
- package/bin/apis/artifact.js +64 -0
- package/bin/apis/audio.js +10 -0
- package/bin/apis/collection.js +87 -0
- package/bin/apis/config.js +49 -0
- package/bin/apis/feeds.js +34 -0
- package/bin/apis/gpt.js +10 -0
- package/bin/apis/hashtag.js +23 -0
- package/bin/apis/index.js +62 -0
- package/bin/apis/prompt.js +120 -0
- package/bin/apis/recsys.js +29 -0
- package/bin/apis/space.js +48 -0
- package/bin/apis/task.js +21 -0
- package/bin/apis/tcp.js +16 -0
- package/bin/apis/types.js +76 -0
- package/bin/apis/user.js +45 -0
- package/bin/apis/verse.js +18 -0
- package/bin/cli.js +16 -0
- package/bin/commands/community/create_comment.cmd.en_us.yml +4 -0
- package/bin/commands/community/create_comment.cmd.js +40 -0
- package/bin/commands/community/create_comment.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/favor_collection.cmd.en_us.yml +4 -0
- package/bin/commands/community/favor_collection.cmd.js +29 -0
- package/bin/commands/community/favor_collection.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/get_fan_list.cmd.en_us.yml +4 -0
- package/bin/commands/community/get_fan_list.cmd.js +36 -0
- package/bin/commands/community/get_fan_list.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/get_hashtag_characters.cmd.en_us.yml +4 -0
- package/bin/commands/community/get_hashtag_characters.cmd.js +46 -0
- package/bin/commands/community/get_hashtag_characters.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/get_hashtag_collections.cmd.en_us.yml +6 -0
- package/bin/commands/community/get_hashtag_collections.cmd.js +54 -0
- package/bin/commands/community/get_hashtag_collections.cmd.zh_cn.yml +5 -0
- package/bin/commands/community/get_hashtag_info.cmd.en_us.yml +4 -0
- package/bin/commands/community/get_hashtag_info.cmd.js +42 -0
- package/bin/commands/community/get_hashtag_info.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/get_subscribe_list.cmd.en_us.yml +4 -0
- package/bin/commands/community/get_subscribe_list.cmd.js +36 -0
- package/bin/commands/community/get_subscribe_list.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/like_collection.cmd.en_us.yml +4 -0
- package/bin/commands/community/like_collection.cmd.js +29 -0
- package/bin/commands/community/like_collection.cmd.zh_cn.yml +4 -0
- package/bin/commands/community/list_space_topics.cmd.en_us.yml +7 -0
- package/bin/commands/community/list_space_topics.cmd.js +39 -0
- package/bin/commands/community/list_space_topics.cmd.zh_cn.yml +6 -0
- package/bin/commands/community/list_spaces.cmd.en_us.yml +4 -0
- package/bin/commands/community/list_spaces.cmd.js +19 -0
- package/bin/commands/community/list_spaces.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/read_collection.cmd.en_us.yml +4 -0
- package/bin/commands/community/read_collection.cmd.js +83 -0
- package/bin/commands/community/read_collection.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/request_interactive_feed.cmd.en_us.yml +4 -0
- package/bin/commands/community/request_interactive_feed.cmd.js +54 -0
- package/bin/commands/community/request_interactive_feed.cmd.zh_cn.yml +5 -0
- package/bin/commands/community/subscribe_user.cmd.en_us.yml +4 -0
- package/bin/commands/community/subscribe_user.cmd.js +33 -0
- package/bin/commands/community/subscribe_user.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/suggest_categories.cmd.en_us.yml +4 -0
- package/bin/commands/community/suggest_categories.cmd.js +26 -0
- package/bin/commands/community/suggest_categories.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/suggest_content.cmd.en_us.yml +5 -0
- package/bin/commands/community/suggest_content.cmd.js +59 -0
- package/bin/commands/community/suggest_content.cmd.zh_cn.yml +4 -0
- package/bin/commands/community/suggest_keywords.cmd.en_us.yml +4 -0
- package/bin/commands/community/suggest_keywords.cmd.js +26 -0
- package/bin/commands/community/suggest_keywords.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/suggest_tags.cmd.en_us.yml +4 -0
- package/bin/commands/community/suggest_tags.cmd.js +26 -0
- package/bin/commands/community/suggest_tags.cmd.zh_cn.yml +3 -0
- package/bin/commands/community/validate_tax_path.cmd.en_us.yml +4 -0
- package/bin/commands/community/validate_tax_path.cmd.js +24 -0
- package/bin/commands/community/validate_tax_path.cmd.zh_cn.yml +3 -0
- package/bin/commands/creative/edit_colleciton.cmd.en_us.yml +11 -0
- package/bin/commands/creative/edit_colleciton.cmd.js +140 -0
- package/bin/commands/creative/edit_colleciton.cmd.zh_cn.yml +10 -0
- package/bin/commands/creative/make_image.cmd.en_us.yml +20 -0
- package/bin/commands/creative/make_image.cmd.js +58 -0
- package/bin/commands/creative/make_image.cmd.zh_cn.yml +19 -0
- package/bin/commands/creative/make_song.cmd.en_us.yml +8 -0
- package/bin/commands/creative/make_song.cmd.js +53 -0
- package/bin/commands/creative/make_song.cmd.zh_cn.yml +7 -0
- package/bin/commands/creative/make_video.cmd.en_us.yml +17 -0
- package/bin/commands/creative/make_video.cmd.js +54 -0
- package/bin/commands/creative/make_video.cmd.zh_cn.yml +16 -0
- package/bin/commands/creative/publish_collection.cmd.en_us.yml +10 -0
- package/bin/commands/creative/publish_collection.cmd.js +101 -0
- package/bin/commands/creative/publish_collection.cmd.zh_cn.yml +9 -0
- package/bin/commands/creative/remove_background.cmd.en_us.yml +10 -0
- package/bin/commands/creative/remove_background.cmd.js +74 -0
- package/bin/commands/creative/remove_background.cmd.zh_cn.yml +9 -0
- package/bin/commands/creative/request_character_or_elementum.cmd.en_us.yml +23 -0
- package/bin/commands/creative/request_character_or_elementum.cmd.js +108 -0
- package/bin/commands/creative/request_character_or_elementum.cmd.zh_cn.yml +22 -0
- package/bin/commands/creative/search_tcp.cmd.en_us.yml +16 -0
- package/bin/commands/creative/search_tcp.cmd.js +53 -0
- package/bin/commands/creative/search_tcp.cmd.zh_cn.yml +15 -0
- package/bin/commands/factory.js +15 -0
- package/bin/commands/load.js +157 -0
- package/bin/utils/errors.js +61 -0
- package/bin/utils/json.js +8 -0
- package/bin/utils/lang.js +8 -0
- package/bin/utils/parse_meta.js +16 -0
- package/bin/utils/polling.js +17 -0
- package/bin/utils/prompts.js +186 -0
- package/package.json +77 -0
- package/skills/neta/SKILL.md +119 -0
- package/skills/neta-community/SKILL.md +123 -0
- package/skills/neta-creative/SKILL.md +118 -0
- package/skills/neta-space/SKILL.md +129 -0
- package/skills/neta-suggest/SKILL.md +490 -0
- package/skills/zh_cn/neta/SKILL.md +111 -0
- package/skills/zh_cn/neta/references/character-search.md +234 -0
- package/skills/zh_cn/neta/references/collection-remix.md +40 -0
- package/skills/zh_cn/neta/references/community-exploration.md +636 -0
- package/skills/zh_cn/neta/references/hashtag-research.md +295 -0
- package/skills/zh_cn/neta/references/image-generation.md +121 -0
- package/skills/zh_cn/neta/references/interactive-feed.md +377 -0
- package/skills/zh_cn/neta/references/social-interactive.md +73 -0
- package/skills/zh_cn/neta/references/song-creation.md +247 -0
- package/skills/zh_cn/neta/references/song-mv.md +198 -0
- package/skills/zh_cn/neta/references/space.md +90 -0
- package/skills/zh_cn/neta/references/video-generation.md +221 -0
- package/skills/zh_cn/neta-community/SKILL.md +109 -0
- package/skills/zh_cn/neta-community/references/character-search.md +233 -0
- package/skills/zh_cn/neta-community/references/hashtag-research.md +295 -0
- package/skills/zh_cn/neta-community/references/interactive-feed.md +377 -0
- package/skills/zh_cn/neta-community/references/social-interactive.md +73 -0
- package/skills/zh_cn/neta-creative/SKILL.md +105 -0
- package/skills/zh_cn/neta-creative/references/character-search.md +233 -0
- package/skills/zh_cn/neta-creative/references/collection-remix.md +40 -0
- package/skills/zh_cn/neta-creative/references/image-generation.md +121 -0
- package/skills/zh_cn/neta-creative/references/song-creation.md +247 -0
- package/skills/zh_cn/neta-creative/references/song-mv.md +198 -0
- package/skills/zh_cn/neta-creative/references/video-generation.md +221 -0
- package/skills/zh_cn/neta-space/SKILL.md +126 -0
- package/skills/zh_cn/neta-suggest/SKILL.md +662 -0
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
# 标签调研最佳实践
|
|
2
|
+
|
|
3
|
+
适用于 `get_hashtag_info`、`get_hashtag_characters` 和 `get_hashtag_collections` 命令。
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 工作流程
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
1. 获取标签信息 → 2. 查看热门角色 → 3. 分析精选合集 → 4. 确定创作方向
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 标签信息
|
|
16
|
+
|
|
17
|
+
### 基本信息查询
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
neta-cli get_hashtag_info --hashtag "标签名"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**返回内容:**
|
|
24
|
+
- 标签 lore(世界观设定)
|
|
25
|
+
- 活动详情
|
|
26
|
+
- 热度数据
|
|
27
|
+
- 订阅数量
|
|
28
|
+
|
|
29
|
+
### 标签 lore 使用
|
|
30
|
+
|
|
31
|
+
lore 包含标签的世界观和设定,是创作的重要参考:
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"lore": [
|
|
36
|
+
{
|
|
37
|
+
"name": "设定名称",
|
|
38
|
+
"category": "设定类别",
|
|
39
|
+
"description": "详细描述..."
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**应用:**
|
|
46
|
+
- 基于 lore 创作符合世界观的内容
|
|
47
|
+
- 使用 lore 中的关键词作为提示词
|
|
48
|
+
- 保持创作与官方设定一致
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 角色调研
|
|
53
|
+
|
|
54
|
+
### 获取热门角色
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
neta-cli get_hashtag_characters \
|
|
58
|
+
--hashtag "标签名" \
|
|
59
|
+
--sort_by "hot" \
|
|
60
|
+
--page_size 20
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### 获取最新角色
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
neta-cli get_hashtag_characters \
|
|
67
|
+
--hashtag "标签名" \
|
|
68
|
+
--sort_by "newest" \
|
|
69
|
+
--page_size 20
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### 筛选角色类型
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
# 只看 OC 角色
|
|
76
|
+
neta-cli get_hashtag_characters --hashtag "标签名" --parent_type "oc"
|
|
77
|
+
|
|
78
|
+
# 只看风格元素
|
|
79
|
+
neta-cli get_hashtag_characters --hashtag "标签名" --parent_type "elementum"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### 分析角色特征
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
# 1. 获取角色列表
|
|
86
|
+
neta-cli get_hashtag_characters --hashtag "标签名" > characters.json
|
|
87
|
+
|
|
88
|
+
# 2. 分析热门角色的共同特征
|
|
89
|
+
# - 发型/发色分布
|
|
90
|
+
# - 服装风格
|
|
91
|
+
# - 常见元素
|
|
92
|
+
|
|
93
|
+
# 3. 获取详情
|
|
94
|
+
neta-cli request_character --name "热门角色名"
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## 精选合集分析
|
|
100
|
+
|
|
101
|
+
### 获取精选作品
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
neta-cli get_hashtag_collections --hashtag "标签名"
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**返回内容:**
|
|
108
|
+
- 精选作品列表
|
|
109
|
+
- 封面图
|
|
110
|
+
- 创作者信息
|
|
111
|
+
- 点赞数
|
|
112
|
+
|
|
113
|
+
### 分析热门作品
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
# 1. 获取合集
|
|
117
|
+
neta-cli get_hashtag_collections --hashtag "标签名" > collections.json
|
|
118
|
+
|
|
119
|
+
# 2. 分析高赞作品
|
|
120
|
+
# - 使用的角色
|
|
121
|
+
# - 视觉风格
|
|
122
|
+
# - 构图特点
|
|
123
|
+
# - 色彩搭配
|
|
124
|
+
|
|
125
|
+
# 3. 总结成功要素
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### 学习创作技巧
|
|
129
|
+
|
|
130
|
+
通过精选合集学习:
|
|
131
|
+
- 流行的构图方式
|
|
132
|
+
- 常用的色彩搭配
|
|
133
|
+
- 受欢迎的角色组合
|
|
134
|
+
- 热门的场景设定
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 完整调研流程
|
|
139
|
+
|
|
140
|
+
### 示例:新标签创作调研
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
# 1. 了解标签整体信息
|
|
144
|
+
neta-cli get_hashtag_info --hashtag "魔法少女"
|
|
145
|
+
|
|
146
|
+
# 2. 查看热门角色(前 20 个)
|
|
147
|
+
neta-cli get_hashtag_characters --hashtag "魔法少女" --sort_by "hot" --page_size 20
|
|
148
|
+
|
|
149
|
+
# 3. 查看精选作品
|
|
150
|
+
neta-cli get_hashtag_collections --hashtag "魔法少女"
|
|
151
|
+
|
|
152
|
+
# 4. 获取感兴趣角色的详情
|
|
153
|
+
neta-cli request_character --name "角色名"
|
|
154
|
+
|
|
155
|
+
# 5. 基于调研结果创作
|
|
156
|
+
neta-cli make_image --prompt "符合标签风格的提示词..."
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## 数据记录
|
|
162
|
+
|
|
163
|
+
### 调研笔记模板
|
|
164
|
+
|
|
165
|
+
```markdown
|
|
166
|
+
# 标签调研:标签名
|
|
167
|
+
|
|
168
|
+
## 基本信息
|
|
169
|
+
- 订阅数:xxx
|
|
170
|
+
- 热度:xxx
|
|
171
|
+
- 核心设定:...
|
|
172
|
+
|
|
173
|
+
## 热门角色 Top 5
|
|
174
|
+
1. 角色名 - 特征...
|
|
175
|
+
2. 角色名 - 特征...
|
|
176
|
+
3. ...
|
|
177
|
+
|
|
178
|
+
## 流行元素
|
|
179
|
+
- 发色:...
|
|
180
|
+
- 服装:...
|
|
181
|
+
- 道具:...
|
|
182
|
+
- 背景:...
|
|
183
|
+
|
|
184
|
+
## 创作方向
|
|
185
|
+
基于调研,计划创作...
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### 保存调研结果
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
# 保存完整调研数据
|
|
192
|
+
mkdir research/标签名
|
|
193
|
+
neta-cli get_hashtag_info --hashtag "标签名" > research/标签名/info.json
|
|
194
|
+
neta-cli get_hashtag_characters --hashtag "标签名" > research/标签名/characters.json
|
|
195
|
+
neta-cli get_hashtag_collections --hashtag "标签名" > research/标签名/collections.json
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## 常见用例
|
|
201
|
+
|
|
202
|
+
### 新角色创作调研
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
# 1. 调研现有角色,避免重复
|
|
206
|
+
neta-cli search_character_or_elementum --keywords "角色特征" --parent_type "character"
|
|
207
|
+
|
|
208
|
+
# 2. 调研相关标签的热门元素
|
|
209
|
+
neta-cli get_hashtag_characters --hashtag "相关标签"
|
|
210
|
+
|
|
211
|
+
# 3. 基于调研设计独特角色
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
### 系列活动策划
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
# 1. 调研标签 lore 和设定
|
|
218
|
+
neta-cli get_hashtag_info --hashtag "标签名"
|
|
219
|
+
|
|
220
|
+
# 2. 分析精选作品的主题
|
|
221
|
+
neta-cli get_hashtag_collections --hashtag "标签名"
|
|
222
|
+
|
|
223
|
+
# 3. 策划符合标签调性的系列内容
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### 竞品分析
|
|
227
|
+
|
|
228
|
+
```bash
|
|
229
|
+
# 1. 收集热门标签
|
|
230
|
+
neta-cli get_hashtag_info --hashtag "标签 1"
|
|
231
|
+
neta-cli get_hashtag_info --hashtag "标签 2"
|
|
232
|
+
|
|
233
|
+
# 2. 对比各标签的热门角色
|
|
234
|
+
neta-cli get_hashtag_characters --hashtag "标签 1" --sort_by "hot"
|
|
235
|
+
neta-cli get_hashtag_characters --hashtag "标签 2" --sort_by "hot"
|
|
236
|
+
|
|
237
|
+
# 3. 分析差异和机会点
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## 调研技巧
|
|
243
|
+
|
|
244
|
+
### 发现新兴标签
|
|
245
|
+
|
|
246
|
+
- 关注 `newest` 排序的新角色
|
|
247
|
+
- 查看活跃度上升的标签
|
|
248
|
+
- 注意跨界合作的标签
|
|
249
|
+
|
|
250
|
+
### 识别趋势
|
|
251
|
+
|
|
252
|
+
- 定期调研同一标签
|
|
253
|
+
- 记录热门角色的变化
|
|
254
|
+
- 观察精选作品风格演变
|
|
255
|
+
|
|
256
|
+
### 高效调研
|
|
257
|
+
|
|
258
|
+
- 先广度后深度(先了解整体,再深入细节)
|
|
259
|
+
- 善用分页获取完整数据
|
|
260
|
+
- 保存常用标签的调研结果
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
## 常见问题
|
|
265
|
+
|
|
266
|
+
### Q: 如何找到适合创作的标签?
|
|
267
|
+
|
|
268
|
+
**A:**
|
|
269
|
+
1. 浏览热门标签列表
|
|
270
|
+
2. 查看各标签的订阅数
|
|
271
|
+
3. 选择与创作风格匹配的标签
|
|
272
|
+
4. 考虑竞争程度(热门标签竞争大)
|
|
273
|
+
|
|
274
|
+
### Q: 标签 lore 太长如何快速提取要点?
|
|
275
|
+
|
|
276
|
+
**A:**
|
|
277
|
+
1. 关注核心设定(世界观、背景)
|
|
278
|
+
2. 提取关键词和术语
|
|
279
|
+
3. 记录角色关系
|
|
280
|
+
4. 注意禁忌/限制
|
|
281
|
+
|
|
282
|
+
### Q: 如何判断标签的热度趋势?
|
|
283
|
+
|
|
284
|
+
**A:**
|
|
285
|
+
1. 对比不同时间的调研数据
|
|
286
|
+
2. 观察新角色发布频率
|
|
287
|
+
3. 查看精选合集更新时间
|
|
288
|
+
4. 关注订阅数变化
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
## 相关文档
|
|
293
|
+
|
|
294
|
+
- [角色查询](./character-search.md) - 获取角色详细信息
|
|
295
|
+
- [图片生成](./image-generation.md) - 基于调研结果创作
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# 图片生成最佳实践
|
|
2
|
+
|
|
3
|
+
适用于 `make_image` 和 `remove_background` 命令。
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 提示词结构
|
|
8
|
+
|
|
9
|
+
- 角色: 通过 @character_name 来引用角色,这个引用会包含角色的完整形象信息
|
|
10
|
+
- 画面元素: 通过 /元素名称 格式引用风格元素,如 /漫画风格
|
|
11
|
+
- 参考图: 通过 参考图-artifact_uuid 格式引用已存在的图片作为参考图,如"参考图-1234567890"。最多能有 14 张图片
|
|
12
|
+
- 中文词组: 描述具体画面生成要求,如果没有引用角色,则需要在自然语言词组中描述角色形象
|
|
13
|
+
|
|
14
|
+
**推荐格式:**
|
|
15
|
+
```
|
|
16
|
+
[角色] + [画面元素] + [参考图] + [主体描述] + [外观细节] + [服装/配饰] + [姿势/动作] + [背景/环境] + [光影/氛围] + [艺术风格]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**示例:**
|
|
20
|
+
```
|
|
21
|
+
@奈塔#996, /漫画风格, 参考图-1234567890, 参考图-1234567891, 词组1, 词组2…
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**注意:**
|
|
25
|
+
- 提示词要多提供上下文和意图。详细描述场景,而不仅仅是列出关键字。与一连串不相关的字词相比,叙述性描述段落几乎总是能生成更好、更连贯的图片;
|
|
26
|
+
- 角色引用必须以 @角色名称 形式出现,如 @奈塔#996
|
|
27
|
+
- 元素引用必须以 /元素名称 形式出现,如 /漫画风格
|
|
28
|
+
- 可以通过 search_character_or_elementum 搜索来获取可以使用的角色或元素,使用前通过 request_character_or_elementum 验证角色或者元素可用
|
|
29
|
+
- 参考图必须以 参考图-artifact_uuid 形式出现, 只能使用 `read_collection` 获取到的图片 artifact,或者生成过的图片作为参考图
|
|
30
|
+
- 引用角色或者元素的时候,前后要添加空格或逗号分隔,如:"@奈塔#996, /格, 在校园里散步"
|
|
31
|
+
- 对于修改图片等跟原图参考相关的生成,请一定引用上参考图
|
|
32
|
+
- 示例(引用角色和元素):@奈塔#996, /漫画风格, 参考图-artifact_uuid, 参考图-artifact_uuid, 词组1, 词组2…
|
|
33
|
+
- **存在具体的角色时,通过@角色名来使用角色,而不是重新描述角色的外貌**
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 宽高比选择
|
|
37
|
+
|
|
38
|
+
| 比例 | 分辨率 | 适用场景 |
|
|
39
|
+
|------|--------|----------|
|
|
40
|
+
| `1:1` | 512×512 | 头像、图标、方形展示图 |
|
|
41
|
+
| `3:4` | 576×768 | **默认推荐**,社交媒体竖图、海报 |
|
|
42
|
+
| `4:3` | 768×576 | 横版插图、演示文稿 |
|
|
43
|
+
| `9:16` | 576×1024 | 手机壁纸、短视频封面、Stories |
|
|
44
|
+
| `16:9` | 1024×576 | 视频封面、横幅、桌面壁纸 |
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 常见用例
|
|
49
|
+
|
|
50
|
+
### 角色立绘
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
neta-cli make_image \
|
|
54
|
+
--prompt "一个穿着校服的日本女高中生,黑色长发,红色蝴蝶结,站在教室门口,阳光从窗户洒进来,清新自然" \
|
|
55
|
+
--aspect "3:4"
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### 三视图设定
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# 正面
|
|
62
|
+
neta-cli make_image --prompt "@角色名,正面视图,白色背景,全身像" --aspect "3:4"
|
|
63
|
+
|
|
64
|
+
# 侧面
|
|
65
|
+
neta-cli make_image --prompt "@角色名,侧面视图,白色背景,全身像" --aspect "3:4"
|
|
66
|
+
|
|
67
|
+
# 背面
|
|
68
|
+
neta-cli make_image --prompt "@角色名,背面视图,白色背景,全身像" --aspect "3:4"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### 表情集
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
neta-cli make_image --prompt "@角色名,开心表情,特写,白色背景" --aspect "1:1"
|
|
75
|
+
neta-cli make_image --prompt "@角色名,生气表情,特写,白色背景" --aspect "1:1"
|
|
76
|
+
neta-cli make_image --prompt "@角色名,惊讶表情,特写,白色背景" --aspect "1:1"
|
|
77
|
+
neta-cli make_image --prompt "@角色名,害羞表情,特写,白色背景" --aspect "1:1"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### 去背景(抠图)
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
neta-cli remove_background --input_image "image_uuid"
|
|
84
|
+
```
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 常见问题
|
|
88
|
+
|
|
89
|
+
### Q: 生成结果不符合预期怎么办?
|
|
90
|
+
|
|
91
|
+
**A:** 逐步调整提示词:
|
|
92
|
+
1. 增加具体细节描述
|
|
93
|
+
2. 明确艺术风格
|
|
94
|
+
3. 简化过于复杂的场景
|
|
95
|
+
4. 尝试不同的宽高比
|
|
96
|
+
|
|
97
|
+
### Q: 人物脸部崩坏怎么办?
|
|
98
|
+
|
|
99
|
+
**A:**
|
|
100
|
+
1. 避免过于复杂的表情描述
|
|
101
|
+
2. 不要同时描述多个动作
|
|
102
|
+
3. 尝试添加"精致的面部特征"等描述
|
|
103
|
+
4. 使用特写构图(在提示词中强调"面部特写")
|
|
104
|
+
|
|
105
|
+
### Q: 如何保持角色一致性?
|
|
106
|
+
|
|
107
|
+
**A:**
|
|
108
|
+
1. 使用固定的角色特征描述
|
|
109
|
+
2. 保存成功的提示词模板
|
|
110
|
+
3. 先查询角色详情获取标准描述
|
|
111
|
+
```bash
|
|
112
|
+
neta-cli request_character_or_elementum --name "角色名"
|
|
113
|
+
```
|
|
114
|
+
4. 基于角色描述生成提示词
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## 相关文档
|
|
119
|
+
|
|
120
|
+
- [角色查询](./character-search.md) - 获取角色标准信息
|
|
121
|
+
- [视频生成](./video-generation.md) - 将图片转换为动态视频
|