Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions enterprise-api/flux-klein/img2img.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Make a `POST` request to below endpoint and pass the required parameters as a re
Items you don't want in the image.
</ParamField>

<ParamField query="init_image" type="array" required placeholder="array of image URL. Max 4">
Array of up to 4 initial image URLs to use as reference. A single image URL string is also accepted.
<ParamField query="init_image" type="array" required placeholder="image URL (array or string)">
Initial image to use as reference. Accepts an array of image URLs or a single image URL string. Only the first image is used for generation.
</ParamField>

<ParamField query="width" type="number" placeholder="Width in px">
Expand Down
3 changes: 1 addition & 2 deletions enterprise-api/flux-klein/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@
"init_image": {
"type": "array",
"items": { "type": "string" },
"maxItems": 4,
"description": "Array of initial image URLs. Max 4."
"description": "Initial image URL(s). Accepts an array of URLs or a single URL string; only the first image is used for generation."
},
"width": { "type": "number", "description": "Width in px" },
"height": { "type": "number", "description": "Height in px" }
Expand Down