Authorization: Bearer ********************curl --location '/images/variations' \
--header 'Authorization: Bearer <token>' \
--form 'image=@""' \
--form 'model="dall-e-2"' \
--form 'n="1"' \
--form 'response_format="url"' \
--form 'size="1024x1024"' \
--form 'user="user-1234"'{
"created": 0,
"data": [
{
"b64_json": "string",
"url": "http://example.com",
"revised_prompt": "string"
}
],
"background": "transparent",
"output_format": "png",
"size": "1024x1024",
"quality": "low",
"usage": {
"input_tokens": 0,
"total_tokens": 0,
"output_tokens": 0,
"output_tokens_details": {
"image_tokens": 0,
"text_tokens": 0
},
"input_tokens_details": {
"text_tokens": 0,
"image_tokens": 0
}
}
}