Skip to content

Commit 2908f66

Browse files
authored
feat: update size description
feat: update size description
2 parents 6bdcfe5 + d73e558 commit 2908f66

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

packages/openapi/descriptions/image.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ export default {
22
prompt: {
33
desc: `The text prompt describing the content, style, or composition of the image to be generated.`,
44
},
5-
num_images: {
5+
num_images: {
66
default: {
7-
desc: `The number of images to generate.`
7+
desc: `The number of images to generate.`,
88
},
99
flux_kontext: {
1010
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 {
1818
desc: `For both height and width, the value must be a multiple of 32.`,
1919
},
2020
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].`,
2222
},
2323
default: { desc: `The size of the generated image.` },
2424
},
@@ -92,14 +92,14 @@ If transparent, the output format needs to support transparency, so it should be
9292
},
9393
image: {
9494
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.`,
9696
},
9797
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.`,
9999
},
100100
},
101101
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.`,
103103
},
104104
sync_mode: {
105105
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

Comments
 (0)