cURL
curl --request POST \ --url https://openapi.monica.im/v1/image/gen/flux \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "flux_dev", "prompt": "black forest gateau cake spelling out the words \"FLUX DEV\", tasty, food photography, dynamic shot", "num_outputs": 1, "size": "1024x1024", "seed": 42, "steps": 25, "guidance": "3", "interval": 2, "safety_tolerance": 2 }'
{ "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