From 32d3fb03ab5a3a42e789dcecb4c295413b26c149 Mon Sep 17 00:00:00 2001 From: Adhik Joshi Date: Tue, 7 Jul 2026 13:36:11 +0530 Subject: [PATCH] docs(flux-klein): img2img uses a single init_image (only first URL used) The flux_klein img2img worker reads a single init_image URL and uses only the first image; it does not process up to 4. Correct the field reference and OpenAPI schema (drop the "Max 4" wording) to match actual behavior. --- enterprise-api/flux-klein/img2img.mdx | 4 ++-- enterprise-api/flux-klein/openapi.json | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/enterprise-api/flux-klein/img2img.mdx b/enterprise-api/flux-klein/img2img.mdx index bdeaf17..5c4b570 100644 --- a/enterprise-api/flux-klein/img2img.mdx +++ b/enterprise-api/flux-klein/img2img.mdx @@ -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. - - Array of up to 4 initial image URLs to use as reference. A single image URL string is also accepted. + + 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. diff --git a/enterprise-api/flux-klein/openapi.json b/enterprise-api/flux-klein/openapi.json index f5bfc3d..374bb86 100644 --- a/enterprise-api/flux-klein/openapi.json +++ b/enterprise-api/flux-klein/openapi.json @@ -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" }