This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the image generation results.
Request Headers
Enum:
application/json
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
Optional extra parameters for the request.
Response
Use the task_id to request the Task Result API to retrieve the generated outputs.
Example
This is an indispensable tool for improving the quality of images generated by Stable Diffusion. Try it in playground.Request:
Response:
task_id
to retrieve images
HTTP status codes in the 2xx range indicate that the request has been successfully accepted, while status codes in the 5xx range indicate internal server errors.
You can find the image URLs in the imgs
field of the response.
Request:
Response:

