Stable Diffusion API
📄️ /api/sd/txt2img
This interface provides a service for generating images from text.
📄️ /api/sd/txt2img/async
This interface provides a service for generating images from text. <br/> Its usage is almost the same as `txt2img`. The difference between this interface and `txt2img` is that this interface will return immediately with task information.<br/> After obtaining the task information, you can use the [`/api/sd/task/status`](./api-sd-task-status.api.mdx) interface to query the task status and get the result.
📄️ /api/sd/img2img
This interface provides a service for generating images from images.
📄️ /api/sd/img2img/async
This interface provides a service for generating images from images. <br/> Its usage is almost the same as `img2img`. The difference between this interface and `img2img` is that this interface will return immediately with task information.<br/> After obtaining the task information, you can use the [`/api/sd/task/status`](./api-sd-task-status.api.mdx) interface to query the task status and get the result.
📄️ /api/sd/interrogate
Interrogate tasks will generate a description for an input image.
📄️ /api/sd/interrogate/async
Interrogate tasks will generate a description for an input image.<br/> Its usage is almost the same as `interrogate`. The difference between this interface and `interrogate` is that this interface will return immediately with task information.<br/> After obtaining the task information, you can use the [`/api/sd/task/status`](./api-sd-task-status.api.mdx) interface to query the task status and get the result.