curl --location 'https://api.aboai.ai/v1/images/generations' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-image-1",
"prompt": "A cute baby sea otter",
"n": 1,
"size": "1024x1024"
}'{
"created": 0,
"data": [
{
"b64_json": "",
"revised_prompt": "",
"url": ""
}
],
"usage": {
"input_tokens": 0,
"output_tokens": 0,
"total_tokens": 0,
"input_tokens_details": {
"image_tokens": 0,
"text_tokens": 0
},
"output_tokens_details": {
"image_tokens": 0,
"text_tokens": 0
}
}
}