-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.json
124 lines (124 loc) · 3.37 KB
/
schema.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
{
"$schema": "http://json-schema.org/draft-04/hyper-schema#",
"type": "object",
"properties": {
"readme": {
"type": "string",
"title": "IC-Light is a project to manipulate the illumination of images.",
"author": "Lvmin Zhang (Lyumin Zhang)",
"description": "The name 'IC-Light' stands for 'Imposing Consistent Light' (we will briefly describe this at the end of this page). Currently, we release two types of models: text-conditioned relighting model and background-conditioned model. Both types take foreground images as inputs.",
"code": "https://github.com/lllyasviel/IC-Light",
"jupyter": "https://github.com/camenduru/IC-Light-jupyter",
"post": "https://twitter.com/camenduru/status/1788393502289596557",
"api": "https://github.com/camenduru/tost-api-examples/blob/main/v1/ic-light.ipynb",
"tags": [
"Image to Image"
],
"widget": "readme"
},
"upload": {
"type": "string",
"widget": "upload",
"upload_url": "https://litterbox.catbox.moe/resources/internals/api.php",
"property": "input_fg"
},
"input_fg": {
"type": "string",
"description": "Input Image URL",
"widget": "textarea"
},
"prompt": {
"type": "string",
"description": "Prompt",
"widget": "textarea"
},
"width": {
"type": "integer",
"description": "Width"
},
"height": {
"type": "integer",
"description": "Height"
},
"seed": {
"type": "integer",
"description": "Seed"
},
"steps": {
"type": "integer",
"description": "Steps"
},
"a_prompt": {
"type": "string",
"description": "Added Prompt",
"widget": "textarea"
},
"n_prompt": {
"type": "string",
"description": "Negative prompt",
"widget": "textarea"
},
"cfg": {
"type": "integer",
"description": "CFG"
},
"highres_scale": {
"type": "number",
"description": "Highres Scale"
},
"highres_denoise": {
"type": "number",
"description": "Highres Denoise"
},
"lowres_denoise": {
"type": "number",
"description": "Lowres Denoise"
},
"bg_source": {
"type": "string",
"widget": "select",
"description": "Light Direction",
"oneOf": [
{
"description": "LEFT",
"enum": [
"LEFT"
]
},
{
"description": "RIGHT",
"enum": [
"RIGHT"
]
},
{
"description": "TOP",
"enum": [
"TOP"
]
},
{
"description": "BOTTOM",
"enum": [
"BOTTOM"
]
}
],
"default": "BOTTOM"
},
"example": {
"type": "string",
"image1": "https://fakeimg.pl/768x1152/282828/eae0d0/?text=input#.png",
"image2": "https://hips.hearstapps.com/hmg-prod/images/scarlett-johansson-attends-the-premiere-of-illuminations-news-photo-1639390369.jpg",
"image3": "https://fakeimg.pl/768x1152/282828/eae0d0/?text=output#.png",
"image4": "https://files.catbox.moe/2y2hxb.png",
"widget": "example"
}
},
"buttons": [
{
"id": "enter",
"label": "🥪 Enter"
}
]
}