Repository navigation
docs(azure-ai): document FLUX.2 Flex image generation and edits - #1549
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit c36d6c0. Configure here.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to BerriAI/litellm#39424, which adds
azure_ai/FLUX.2-flex(it used to route to theflux-2-proendpoint) and keeps FLUX.2 tolerant of the OpenAI-only image fields. Merge this after that PR landsdocs/providers/azure_ai_img.mdgains aFLUX.2-flexrow with its per-megapixel price, a note on the model-specific Black Forest Labs routes and case-insensitive model matching, a FLUX 2 Flex SDK tab withguidanceandsteps, a proxy config entry, and a FLUX 2 parameters section coveringsizetowidth/height,ntonum_images,size: "auto", the 400 on asizethat is notWxH, and the OpenAI-only fields that are accepted and droppeddocs/providers/azure_ai_img_edit.mdgains FLUX 2 Pro and Flex rows with their reference-image limits (8 and 10), a multi-reference SDK example, a proxy config entry, and a parameter note pointing at the generation pagedocs/image_edits.mdlists Azure AI (FLUX) among the providers that support image editsBoth repo checks pass locally (
node scripts/check-writing-style.jsandpython3 scripts/check-docs.py docs)Note
Low Risk
Markdown documentation updates only; no changes to application logic, APIs, or security-sensitive code paths.
Overview
Documentation-only companion to the implementation that adds
azure_ai/FLUX.2-flexrouting and FLUX 2 parameter behavior. No runtime code changes in this PR.The Azure AI image generation guide now documents FLUX 2 Flex (per-megapixel pricing, Black Forest Labs routes under
api_base, case-insensitive model names), adds SDK and proxy examples withguidance/steps, and introduces a FLUX 2 parameters section coveringsize/width/height,n→num_images,size: "auto", invalidsizehandling, OpenAI-only fields that are silently dropped, and the one-image-per-request limit for FLUX 2.The Azure AI image editing guide adds FLUX 2 Pro and Flex (reference-image limits, JSON/base64 multi-reference flow), a multi-reference SDK tab, proxy config for Flex edits, and a cross-link to generation parameters.
docs/image_edits.mdnow lists Azure AI (FLUX) among supported image-edit providers.Reviewed by Cursor Bugbot for commit c36d6c0. Bugbot is set up for automated code reviews on this repo. Configure here.