cURL
curl --request POST \ --url https://openapi.monica.im/v1/image/gen/dalle \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "dall-e-3", "prompt": "A cute baby sea otter", "n": 1, "quality": "standard", "size": "1024x1024", "style": "vivid" }'
{ "data": [ { "url": "<string>" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The response is of type object.
object