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

# AI API Portal

> AI API Reference Portal - find all API endpoints and try them out here

> [card] [View on GitHub](https://github.com/livepeer/ai-worker)
>
> Source code and OpenAPI specification

> [!NOTE]
>
> This reference supports both deployment models:
>
> * **Livepeer Studio**: managed gateway endpoint
> * **go-livepeer / AI worker**: self-hosted gateway endpoint
>
> Endpoint paths are consistent, but auth, operations, and SLOs depend on your
> selected platform.

## Base URLs

<table>
  <thead>
    <tr>
      Environment

      URL
    </tr>
  </thead>

  <tbody>
    <tr>
      Cloud SPE Community Gateway

      `https://tools.livepeer.cloud`
    </tr>

    <tr>
      Livepeer Studio Gateway

      `https://livepeer.studio/api/beta/generate`
    </tr>
  </tbody>
</table>

> [!NOTE]
>
> As of 02-March-2026, Livepeer Studio AI requests use `https://livepeer.studio/api/beta/generate` with `Authorization: Bearer <LIVEPEER_STUDIO_API_KEY>`. Cloud SPE-managed access is published via `https://tools.livepeer.cloud`; check provider docs there for the current direct API endpoint and auth requirements.

## Endpoints

> [card] [Text To Image](/v2/gateways/resources/reference/technical/api-reference/AI-API/text-to-image.md)
>
> Generate images from text prompts

> [card] [Image To Image](/v2/gateways/resources/reference/technical/api-reference/AI-API/image-to-image.md)
>
> Apply image transformations to a provided image

> [card] [Image To Video](/v2/gateways/resources/reference/technical/api-reference/AI-API/image-to-video.md)
>
> Generate a video from a provided image

> [card] [Upscale](/v2/gateways/resources/reference/technical/api-reference/AI-API/upscale.md)
>
> Upscale an image by increasing its resolution

> [card] [Audio To Text](/v2/gateways/resources/reference/technical/api-reference/AI-API/audio-to-text.md)
>
> Transcribe audio files to text

> [card] [Segment Anything 2](/v2/gateways/resources/reference/technical/api-reference/AI-API/segment-anything-2.md)
>
> Segment objects in an image

> [card] [LLM](/v2/gateways/resources/reference/technical/api-reference/AI-API/llm.md)
>
> Generate text using a language model

> [card] [Image To Text](/v2/gateways/resources/reference/technical/api-reference/AI-API/image-to-text.md)
>
> Transform image files to text

> [card] [Live Video To Video](/v2/gateways/resources/reference/technical/api-reference/AI-API/live-video-to-video.md)
>
> Apply transformations to a live video streamed to the returned endpoints

> [card] [Text To Speech](/v2/gateways/resources/reference/technical/api-reference/AI-API/text-to-speech.md)
>
> Generate a text-to-speech audio file based on the provided text input and
> speaker description

## Other Endpoints

> [card] [Health](/v2/gateways/resources/reference/technical/api-reference/AI-API/health.md)
>
> Health

> [card] [Hardware Info](/v2/gateways/resources/reference/technical/api-reference/AI-API/hardware-info.md)
>
> Hardware Info

> [card] [Hardware Stats](/v2/gateways/resources/reference/technical/api-reference/AI-API/hardware-stats.md)
>
> Hardware Stats


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.