Building an API to generate images with stable diffusion
app.py
.
image.save()
method below. You defined a file path called output.png
in app.py
, and that’s where your images will be saved.
/task
API to retrieve the status of a job, passing in the Task ID.
outputs
dictionary, as a pre-signed URL.