Generate an image with FLUX 3.1
Generate or edit images with FLUX 3.1 and retrieve the asynchronous result.
Body
FLUX 3.1 Image: text-to-image, or editing with up to 10 images.
Mask for a local edit. Image 1 (the first of images) is the target image of the local edit: white may change, black is kept. URL or base64, at image 1's aspect ratio. With mask, images takes at most 9 images: the mask counts as image 10. A black-and-white mask can also be sent as one of images.
Output size. 1MP to 16MP: megapixels. 1k / 2k / 4k: the pixels of a 1024 / 2048 / 4096 square. hd / fhd / qhd / uhd: 1280x720 / 1920x1080 / 2560x1440 / 3840x2160, which also sets the aspect ratio. match_first_image: the first image's pixel count. auto: chosen from the prompt. Ignored when width and height are set.
1MP, 2MP, 4MP, 8MP, 12MP, 16MP, 1k, 2k, 4k, hd, fhd, qhd, uhd, match_first_image, auto 
