/flux/v1/{model} endpoint allows you to generate images based on prompts and parameters./flux/v1/get_result endpoint to query the generated image or monitor the process status.curl --location --request POST 'https://api.cometapi.com/flux/v1/' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "ein fantastisches bild",
"image_prompt": "",
"width": 1024,
"height": 768,
"prompt_upsampling": false,
"seed": 42,
"safety_tolerance": 2,
"output_format": "jpeg",
"webhook_url": "",
"webhook_secret": ""
}'{
"id": "…",
"polling_url": "…"
}