š New Models Available: grok-4 now live!
ā Explore New Features
{
"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": ""
}
curl --location --request POST 'https://api.cometapi.com/flux-pro' \
--header 'Authorization: {{api-key}}' \
--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": "ā¦"
}