-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplayload.py
34 lines (30 loc) · 882 Bytes
/
playload.py
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
def setplayload():
#select height
height=int(input("select height"))
prompt=input("input your imagination")
width=int(input("input weight"))
alchemy=str(input("input true or false")).lower()
controlNet=""
controlNetType=""
unzoom="tiling"
sd_version= "v2",
scheduler= str(input("input true or false")).lower()
public= "true"
promptMagic= "true"
tiling=""
payload = {
"height": height,
"modelId": "6bef9f1b-29cb-40c7-b9df-32b51c1f67d3",
"prompt": prompt,
"width": width,
"alchemy": alchemy,
"controlNet": controlNet,
"controlNetType": controlNetType,
"unzoom": unzoom,
"tiling": tiling,
"sd_version": sd_version,
"scheduler": scheduler,
"public": public,
"promptMagic": promptMagic,
}
setplayload()