You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "A text description of the image you want to generate"
34
+
},
35
+
"negative_prompt": {
36
+
"type": "string",
37
+
"description": "Text describing elements to avoid in the generated image"
38
+
},
39
+
"height": {
40
+
"type": "integer",
41
+
"minimum": 256,
42
+
"maximum": 2048,
43
+
"description": "The height of the generated image in pixels"
44
+
},
45
+
"width": {
46
+
"type": "integer",
47
+
"minimum": 256,
48
+
"maximum": 2048,
49
+
"description": "The width of the generated image in pixels"
50
+
},
51
+
"image": {
52
+
"type": "array",
53
+
"description": "For use with img2img tasks. An array of integers that represent the image data constrained to 8-bit unsigned integer values",
54
+
"items": {
55
+
"type": "number",
56
+
"description": "A value between 0 and 255"
57
+
}
58
+
},
59
+
"image_b64": {
60
+
"type": "string",
61
+
"description": "For use with img2img tasks. A base64-encoded string of the input image"
62
+
},
63
+
"mask": {
64
+
"type": "array",
65
+
"description": "An array representing An array of integers that represent mask image data for inpainting constrained to 8-bit unsigned integer values",
66
+
"items": {
67
+
"type": "number",
68
+
"description": "A value between 0 and 255"
69
+
}
70
+
},
71
+
"num_steps": {
72
+
"type": "integer",
73
+
"default": 20,
74
+
"maximum": 20,
75
+
"description": "The number of diffusion steps; higher values can improve quality but take longer"
76
+
},
77
+
"strength": {
78
+
"type": "number",
79
+
"default": 1,
80
+
"description": "A value between 0 and 1 indicating how strongly to apply the transformation during img2img tasks; lower values make the output closer to the input image"
81
+
},
82
+
"guidance": {
83
+
"type": "number",
84
+
"default": 7.5,
85
+
"description": "Controls how closely the generated image should adhere to the prompt; higher values make the image more aligned with the prompt"
86
+
},
87
+
"seed": {
88
+
"type": "integer",
89
+
"description": "Random seed for reproducibility of the image generation"
90
+
}
91
+
},
92
+
"required": [
93
+
"prompt"
94
+
]
95
+
},
96
+
"output": {
97
+
"type": "string",
98
+
"contentType": "image/png",
99
+
"format": "binary",
100
+
"description": "The generated image in PNG format"
0 commit comments