> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Realtime Stable Diffusion API

> Generate images in real-time with optimized Stable Diffusion models. Ultra-fast text-to-image, image-to-image, and inpainting endpoints.

### Endpoints

<CardGroup>
  <Card title="Text to Image" href="/image-generation/realtime-stable-diffusion/text-to-image">
    This endpoint generates and returns an image from a text passed in the request.
  </Card>

  <Card title="Image to Image" href="/image-generation/realtime-stable-diffusion/image-to-image">
    This endpoint generates and returns an image from an image passed with its URL in the request.
  </Card>

  <Card title="Inpainting" href="/image-generation/realtime-stable-diffusion/inpaint">
    This endpoint generates a new image from an image and a mask.
  </Card>

  <Card title="Fetch Image" href="/image-generation/realtime-stable-diffusion/fetchimage">
    URL to fetch the result when processing is completed.
  </Card>
</CardGroup>
