Stable Diffusion 2.1 API

Output
$0.01 / image

How to use Stable Diffusion 2.1 API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to .

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Stable Diffusion 2.1 API Pricing

TypePrice
Input
Output
$0.01 / image tokens

Stable Diffusion 2.1 vs other models

ModelInputOutputContextBest for
$0.01 / image
$0.325 / 1M
$1.95 / 1M
Image generation at scale
$6.5 / 1M
$10.4 / 1M tokens
Image generation at scale
$0 / 1M
$0 / 1M
Image generation at scale
$0.0195 / MP (variable)
Image generation at scale

Start building with Stable Diffusion 2.1

Get API Key
1000+ models, one API.