How should I choose between flux-2-flex and flux-2-pro?
flex is better suited for tasks where typography and small details are key acceptance criteria, such as poster headlines, packaging labels, and UI concept designs. pro is more geared toward general production-grade generation and editing. It is recommended to compare results using the same set of representative tasks rather than deciding which is more suitable based solely on the model name.
Can I edit existing images?
Yes. Use model set to flux-2-flex and action set to edit, and provide image_url, an edit prompt, and size in aspect-ratio format. In your description, clearly specify both the areas to modify and the content to preserve. After obtaining the result, check whether the text, outlines, and details meet your goals.
Can I enter 1024x1024 directly?
The size for this model should be specified as an aspect ratio, for example 1:1 for square images, 16:9 for landscape images, and 9:16 for portrait images, rather than a pixel-dimension string. The ratio determines the image shape; if fixed pixel dimensions are needed later, you can resize the result after obtaining it.
How can I improve the usability of text in posters?
Clearly list the text that needs to appear, and specify the placement and visual hierarchy of the main headline and supporting labels. Avoid cramming large amounts of text into overly small areas, and test the key headline first. After generation, still proofread the typeface, spelling, and numbers; important text can be retypeset during the final design stage.
How do I integrate batch asset production?
For generation tasks, you can use count to specify the quantity, submit asynchronous tasks through async, or set callback_url to receive completed results. Once you have the image links, proceed with downloading, review, and archiving. Editing tasks do not use count; submit each image to be processed and its edit instructions separately.