-
Notifications
You must be signed in to change notification settings - Fork 0
/
specs.json
55 lines (55 loc) · 1.18 KB
/
specs.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
{
"information": {
"id": "stable-diffusion-api",
"name": "Stable Diffusion API",
"description": "Generates images based on an input prompt using the Stability AI API. Input: api_key -> your Stability AI API key, prompt -> the input prompt. Output: output_img -> path to the generated image.",
"system_versions": [
"0.1"
],
"block_version": "block version number",
"block_source": "core/blocks/stable-diffusion-api",
"block_type": "compute"
},
"inputs": {
"api_key": {
"type": "Any",
"connections": [],
"relays": []
},
"prompt": {
"type": "Any",
"connections": [],
"relays": []
}
},
"outputs": {
"output_img": {
"type": "file",
"connections": [],
"relays": []
}
},
"action": {
"container": {
"image": "stable-diffusion-api",
"version": "latest",
"command_line": [
"python",
"entrypoint.py"
]
}
},
"views": {
"node": {
"behavior": "modal",
"active": "True or False",
"title_bar": {},
"preview": {},
"html": "",
"pos_x": 0,
"pos_y": 0,
"pos_z": "999"
}
},
"events": {}
}