-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathschema.json
94 lines (94 loc) · 2.8 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
{
"$schema": "http://json-schema.org/draft-04/hyper-schema#",
"type": "object",
"properties": {
"readme": {
"type": "string",
"title": "Bilateral Reference for High-Resolution Dichotomous Image Segmentation",
"author": "Peng Zheng, Dehong Gao, Deng-Ping Fan, Li Liu, Jorma Laaksonen, Wanli Ouyang, Nicu Sebe",
"paper": "https://arxiv.org/abs/2401.03407",
"code": "https://github.com/ZhengPeng7/BiRefNet",
"page": "https://www.birefnet.top/",
"jupyter": "https://github.com/camenduru/text-behind-tost",
"api": "https://github.com/camenduru/tost-api-examples/blob/main/v1/text-behind-image.ipynb",
"tags": [
"Image to Image"
],
"widget": "readme"
},
"upload1": {
"type": "string",
"widget": "upload",
"upload_url": "https://litterbox.catbox.moe/resources/internals/api.php",
"property": "input_image_check"
},
"input_image_check": {
"type": "string",
"description": "Input Image URL",
"widget": "textarea"
},
"text": {
"type": "string",
"description": "Text",
"widget": "textarea"
},
"x": {
"type": "integer",
"description": "x"
},
"y": {
"type": "integer",
"description": "y"
},
"font_size": {
"type": "integer",
"description": "Font Size"
},
"font_family": {
"type": "string",
"description": "Font Family",
"widget": "hidden"
},
"font_color": {
"type": "string",
"description": "Font Color"
},
"font_shadow_x": {
"type": "integer",
"description": "Font Shadow X"
},
"font_shadow_y": {
"type": "integer",
"description": "Font Shadow Y"
},
"shadow_color": {
"type": "string",
"description": "Shadow Color"
},
"upload2": {
"type": "string",
"widget": "upload",
"upload_url": "https://litterbox.catbox.moe/resources/internals/api.php",
"property": "custom_font_path"
},
"custom_font_path": {
"type": "string",
"description": "Custom Font URL",
"widget": "textarea"
},
"example": {
"type": "string",
"image1": "https://fakeimg.pl/1000x360/282828/eae0d0/?text=input#.png",
"image2": "https://files.catbox.moe/flj6kn.png",
"image3": "https://fakeimg.pl/1000x360/282828/eae0d0/?text=output#.png",
"image4": "https://files.catbox.moe/8xoh1d.png",
"widget": "example"
}
},
"buttons": [
{
"id": "enter",
"label": "🥪 Enter"
}
]
}