Can flux-2-klein generate images and edit images?
Yes. Use generate for text-to-image, and use edit for modifying existing images, providing an image link and modification prompt. Both task types require prompt and size; edit instructions should clearly describe the intended changes and content to preserve separately, making it easier to verify whether the result meets expectations.
Is it FLUX.2-klein-9B?
flux-2-klein is this service's invocation name and should not be directly equated with FLUX.2-klein-9B. klein is a model series; when using it, choose based on generation, editing, and output quality. Do not infer parameter count, inference steps, or deployment hardware requirements from this name alone.
Can I submit multiple reference images at once?
The editing input for this endpoint is the string image_url, which is suitable for providing a link to the image to be edited. The native FLUX.2 [klein] series supports multi-reference-image creation, but this does not mean an image array can be placed in image_url; when combining multiple images, use a workflow that explicitly supports the appropriate input method.
How do I retrieve generated images?
After completion, read image_url from the data list in the JSON result to download or display the image. For background processing, use async or callback_url to organize task receipt and associate the task ID; applications should distinguish between successful submission and generation completion, and should not treat task status as an image result prematurely.
How can I improve the usability of text and details?
Focus prompts on visual requirements such as the subject, composition, and lighting, and avoid making the image carry a large amount of precise text at the same time. After generation, check labels, object relationships, and details that need to be preserved one by one; use post-production layout for titles and descriptions, and finalize important visuals only after comparing multiple candidate rounds.