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.
image/*
to get the image bytes directly. Otherwise specify application/json
to receive the image as base64 encoded JSON.(word:weight)
,word
is the word you'd like to control the weight of and weight
The sky was a crisp (blue:0.3) and (green:0.8)
0
to use a random seed.)content-type
of the generated image.