POST
request.authorization
field. The body of the request must bemultipart/form-data
. The accept header should be set to one of the following:image/*
to receive the image in the format specified by the output_format
parameter.application/json
to receive the image in the format specified by the output_format
parameter, but encoded to base64 in a JSON response.prompt
field, which should contain the text prompt for the image generation.Note: for the full list of optional parameters, please see the request schema below.