If you're looking specifically for an API to create images in Flux.1 AI, you might want to check out their developer resources. These services usually work by sending prompt-based requests and getting back generated images. The documentation for setting up automated image generation is available here
https://yesai.su/en/docs/flux_add_order . Pretty neat for bulk creating product visuals!