Skip to content

docs(flux-klein): mark img2img init_image as required, clarify 1–4 images#112

Merged
adhikjoshi merged 1 commit into
mainfrom
docs/flux-klein-img2img-init-image
Jul 7, 2026
Merged

docs(flux-klein): mark img2img init_image as required, clarify 1–4 images#112
adhikjoshi merged 1 commit into
mainfrom
docs/flux-klein-img2img-init-image

Conversation

@adhikjoshi

@adhikjoshi adhikjoshi commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What

Clarifies the init_image field on the Enterprise · Flux Klein · Image to Image page:

  • Marks init_image as required (it is — the API rejects requests without it, and the OpenAPI required list already includes it).
  • Documents that it accepts up to 4 image URLs, and that a single image URL string also works.

The OpenAPI schema (enterprise-api/flux-klein/openapi.json) already documents type: array, items: string, maxItems: 4, required — no change needed there.

Why

Companion to the API fix in ModelsLab/modelslab-frontend-v2#2510, which makes the enterprise flux_klein/img2img endpoint actually honor this documented contract (it previously forwarded init_image in a shape the worker couldn't read and returned "please pass accurate init image" for every request).


View with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is enabled.

init_image is required for the flux_klein img2img endpoint and accepts up
to 4 image URLs (a single URL string also works). The OpenAPI schema
already documents the array + maxItems:4; this brings the field reference
in line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant