API overview

更新时间:
复制 MD 格式

Welcome to our API reference. Use our APIs to integrate Stable Diffusion WebUI and ComfyUI environments. This lets you quickly build your own image generation service. We provide solutions for interacting with our platform through an interface or by calling the image generation service directly. This guide helps you find the APIs you need to get started.

1. Image generation session management

If you want to provide your users with a Stable Diffusion WebUI or ComfyUI environment that has an interface, you must first integrate your account system with our token-related APIs. After you attach a unique token to each of your users, you can use that token to create an image generation session for them. This generates a Stable Diffusion WebUI or ComfyUI session environment. The related APIs are divided into two parts:

2. Image generation services

We offer two main types of image generation services. You can choose the method that best suits your needs:

3. Model synchronization API

If you have many models that you need to list quickly, you can use this API.