{
"model": "gpt-image-2",
"prompt": "A children's book drawing of a veterinarian using a stethoscope to listen to the heartbeat of a baby otter."
}curl --location --request POST 'https://api.allmhub.com/v1/images/generations' \
--header 'Authorization: Bearer {{key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-image-2",
"prompt": "A children'\''s book drawing of a veterinarian using a stethoscope to listen to the heartbeat of a baby otter."
}'{
"created": 1713000000,
"data": [
{
"b64_json": "iVBORw0KGgoAAAANSUhEUgAA..."
}
]
}