-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsd图像生成API_4c35df6f7513b1ed1926b9b7b1415ab3.json
149 lines (149 loc) · 4.45 KB
/
sd图像生成API_4c35df6f7513b1ed1926b9b7b1415ab3.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[{
"tag": "sd图像生成API",
"role": {
"name": "",
"text": "擅长艺术风格"
},
"combo": 5,
"interfaces": [
"showInChat",
"contextMenus"
],
"isInfinite": false,
"owner": "user",
"prompt": {
"id": "prompt24c35df6f7513b1ed1926b9b7b1415ab3",
"nextId": "prompt34c35df6f7513b1ed1926b9b7b1415ab3",
"nodeInputId": "",
"role": {
"name": "",
"text": "擅长艺术风格"
},
"text": "",
"url": "",
"queryObj": {
"action": "read",
"content": "bindCurrentPage",
"isQuery": false,
"protocol": "https://",
"query": "",
"url": ""
},
"temperature": 0.6,
"model": "ChatGPT",
"input": "nodeInput",
"userInput": "",
"translate": "default",
"output": "default",
"type": "queryRead"
},
"version": "0.1.0",
"app": "brainwave",
"id": "4c35df6f7513b1ed1926b9b7b1415ab3",
"createDate": 1686641022719,
"prompt2": {
"id": "prompt34c35df6f7513b1ed1926b9b7b1415ab3",
"nextId": "prompt44c35df6f7513b1ed1926b9b7b1415ab3",
"nodeInputId": "prompt24c35df6f7513b1ed1926b9b7b1415ab3",
"role": {
"name": "",
"text": "擅长艺术风格"
},
"text": "提取text里的主题关键词,添加镜头语言,并生成5句英文prompt,配上中英文解释。",
"url": "",
"temperature": 0.3,
"model": "ChatGPT",
"input": "nodeInput",
"userInput": "",
"translate": "translate-en",
"output": "default",
"type": "prompt"
},
"prompt3": {
"id": "prompt44c35df6f7513b1ed1926b9b7b1415ab3",
"nextId": "prompt54c35df6f7513b1ed1926b9b7b1415ab3",
"nodeInputId": "prompt34c35df6f7513b1ed1926b9b7b1415ab3",
"role": {
"name": "",
"text": "擅长艺术风格"
},
"text": "挑选出1句最有画面感的英文prompt,并按照格式:\na photo of {human} ,{action} ,{sky},{light},{style} 改写句子,输出结果",
"url": "",
"temperature": 0.6,
"model": "ChatGPT",
"input": "nodeInput",
"userInput": "",
"translate": "translate-en",
"output": "default",
"type": "prompt"
},
"prompt4": {
"id": "prompt54c35df6f7513b1ed1926b9b7b1415ab3",
"nextId": "prompt64c35df6f7513b1ed1926b9b7b1415ab3",
"nodeInputId": "prompt44c35df6f7513b1ed1926b9b7b1415ab3",
"role": {
"name": "",
"text": "擅长艺术风格"
},
"text": "只保留英文,提取改写后的结果",
"url": "",
"temperature": 0.6,
"model": "ChatGPT",
"input": "nodeInput",
"userInput": "",
"translate": "translate-en",
"output": "default",
"type": "prompt"
},
"prompt5": {
"id": "prompt64c35df6f7513b1ed1926b9b7b1415ab3",
"nextId": "",
"nodeInputId": "prompt54c35df6f7513b1ed1926b9b7b1415ab3",
"role": {
"name": "",
"text": "擅长艺术风格"
},
"text": "",
"url": "127.0.0.1:7860/sdapi/v1/txt2img",
"api": {
"body": {
"batchCount": 3,
"prompt": "${context}",
"steps": 22
},
"init": {
"body": {
"batch_size": 3,
"prompt": "${context}",
"steps": 22
},
"cache": "default",
"extract": {
"key": "images",
"type": "images"
},
"headers": {
"Content-Type": "application/json"
},
"method": "POST",
"mode": "cors",
"responseExtract": {
"key": "images",
"type": "images"
},
"responseType": "json"
},
"isApi": true,
"protocol": "http://",
"responseType": "json",
"url": "127.0.0.1:7860/sdapi/v1/txt2img"
},
"temperature": 0.6,
"model": "ChatGPT",
"input": "nodeInput",
"userInput": "",
"translate": "default",
"output": "default",
"type": "api"
}
}]