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
Copy file name to clipboardExpand all lines: packages/openapi/descriptions/image.js
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@ export default {
2
2
prompt: {
3
3
desc: `The text prompt describing the content, style, or composition of the image to be generated.`,
4
4
},
5
-
num_images: {
5
+
num_images: {
6
6
default: {
7
-
desc: `The number of images to generate.`
7
+
desc: `The number of images to generate.`,
8
8
},
9
9
flux_kontext: {
10
10
desc: `Number of image variations to generate. Each image is a different attempt to combine the reference images (from the image_url parameter) according to the prompt.`,
@@ -18,7 +18,7 @@ export default {
18
18
desc: `For both height and width, the value must be a multiple of 32.`,
19
19
},
20
20
bytedance: {
21
-
desc: `The total image area (height x width) must be between 262,144 and 4,194,304 pixels.`,
21
+
desc: `Specifies the dimensions (width x height in pixels) of the generated image. Must be between [512x512, 2048x2048].`,
22
22
},
23
23
default: {desc: `The size of the generated image.`},
24
24
},
@@ -92,14 +92,14 @@ If transparent, the output format needs to support transparency, so it should be
92
92
},
93
93
image: {
94
94
default: {
95
-
desc: `The image(s) to edit. Must be a supported image file or an array of images. Each image should be a png, webp, or jpg file less than 50MB. You can provide up to 16 images.`
95
+
desc: `The image(s) to edit. Must be a supported image file or an array of images. Each image should be a png, webp, or jpg file less than 50MB. You can provide up to 16 images.`,
96
96
},
97
97
seededit: {
98
-
desc: `The image to be edited. Enter the Base64 encoding of the picture or an accessible URL. Image URL: Make sure that the image URL is accessible. Base64-encoded content: The format must be in lowercase.`
98
+
desc: `The image to be edited. Enter the Base64 encoding of the picture or an accessible URL. Image URL: Make sure that the image URL is accessible. Base64-encoded content: The format must be in lowercase.`,
99
99
},
100
100
},
101
101
mask: {
102
-
desc: `An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where image should be edited. If there are multiple images provided, the mask will be applied on the first image. Must be a valid PNG file, less than 4MB, and have the same dimensions as image.`
102
+
desc: `An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where image should be edited. If there are multiple images provided, the mask will be applied on the first image. Must be a valid PNG file, less than 4MB, and have the same dimensions as image.`,
103
103
},
104
104
sync_mode: {
105
105
desc: `If set to true, the function will wait for the image to be generated and uploaded before returning the response. This will increase the latency of the function but it allows you to get the image directly in the response without going through the CDN.`,
0 commit comments