Can flux-kontext-max only edit images?
No. It supports generate for text-to-image generation and edit for image editing. For generation, describe the image you want; for editing, provide image_url and modification instructions. Both operations should submit action, prompt, and size, and explicitly specify the model as flux-kontext-max.
How can editing instructions be written more effectively?
First describe the object to modify, then the desired result, and add the subject, composition, or style you want to preserve. For example, adjust the background to a studio setting while keeping the product appearance unchanged. Complex tasks can be split into separate candidates for comparison to avoid putting conflicting requirements into a single instruction.
How should I choose the output aspect ratio?
Pass the image aspect ratio through size, for example 1:1 for square images, 16:9 for landscape images, and 9:16 for portrait images. This controls the ratio, not exact pixel dimensions. Even for editing tasks, it is recommended to explicitly submit the ratio to help maintain the required delivery format.
How should I choose between Max and Kontext Pro?
Both are suitable for editing based on an original image and text. For routine modifications, compare Pro first; for complex editing, prioritize evaluating Max. It is best to test with the same input and observe modification accuracy and overall consistency; the name Max does not mean every original image and every instruction will necessarily produce more suitable results.
Can I edit multiple images at once and retrieve them in the background?
count does not apply to editing tasks; multiple editing candidates should be submitted separately. For background processing, use async=true and query the result after obtaining task_id, or receive completion notifications through callback_url. Finally, read image_url from the returned data for preview or download.