BASE_URL=https://api.starcore.cloud
API_KEY='<YOUR_API_KEY>'
curl --fail-with-body --request POST "$BASE_URL/v1/images/generations" \
--header "Authorization: Bearer $API_KEY" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--data-raw '{
"model": "gpt-image-2.5-flare",
"prompt": "A red triangle centered on a clean white background.",
"n": 1,
"size": "1024x1024"
}'