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 desired image; for editing, provide image_url and modification instructions. Both operations should submit action, prompt, and size, and explicitly set model to flux-kontext-max.
How can editing instructions be written more effectively?
First describe the object to modify, then the desired effect, and add the subject, composition, or style you want to preserve. For example, change the background to a studio setting while keeping the product appearance. Complex tasks can be split into different candidates for comparison to avoid putting conflicting requirements into a single instruction.
How do I choose the output aspect ratio?
Pass the image ratio through size, such as 1:1 for square images, 16:9 for landscape images, and 9:16 for portrait images. This controls the ratio rather than the exact pixel dimensions. Even for editing tasks, it is recommended to explicitly submit the ratio to help maintain the required output aspect ratio.
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 Max name 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, query the result after obtaining task_id, or receive completion notifications through callback_url. Finally, read image_url from the returned data for previewing or downloading.