> ## Documentation Index
> Fetch the complete documentation index at: https://na-36-changelog-go-livepeer-2026-05-18.mintlify.site/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

export const TableCell = ({children, align = "left", header = false, style = {}, className = "", ...rest}) => {
  const Component = header ? "th" : "td";
  return <Component className={className} style={{
    padding: "0.75rem 1rem",
    textAlign: align,
    border: header ? "none" : "1px solid var(--lp-color-border-default)",
    ...style
  }} {...rest}>
      {children}
    </Component>;
};

export const TableRow = ({children, header = false, hover = false, style = {}, className = "", ...rest}) => {
  const rowId = `table-row-${Math.random().toString(36).substr(2, 9)}`;
  return <>
      {hover && <style>{`
          #${rowId}:hover {
            background-color: var(--lp-color-bg-card);
          }
        `}</style>}
      <tr id={rowId} className={className} style={{
    ...header && ({
      backgroundColor: "var(--lp-color-accent-strong)",
      color: "var(--lp-color-on-accent)",
      fontWeight: "bold"
    }),
    ...style
  }} {...rest}>
        {children}
      </tr>
    </>;
};

export const StyledTable = ({children, variant = "default", style = {}, className = "", ...rest}) => {
  const wrapperVariants = {
    default: {
      border: "1px solid var(--lp-color-border-default)",
      backgroundColor: "var(--lp-color-bg-card)",
      overflow: "hidden"
    },
    bordered: {
      border: "2px solid var(--lp-color-accent)",
      backgroundColor: "var(--lp-color-bg-page)",
      overflow: "hidden"
    },
    minimal: {
      border: "none",
      backgroundColor: "transparent",
      overflow: "visible"
    }
  };
  return <div data-docs-styled-table-shell className={className} style={{
    width: "100%",
    padding: 0,
    margin: 0,
    ...wrapperVariants[variant],
    ...style
  }} {...rest}>
      <table data-docs-styled-table style={{
    width: "100%",
    borderCollapse: "collapse",
    borderSpacing: 0,
    margin: 0,
    backgroundColor: "transparent"
  }}>
        {children}
      </table>
    </div>;
};

<Card title="View on GitHub" icon="github" href="https://github.com/livepeer/ai-worker" horizontal arrow>
  Source code and OpenAPI specification
</Card>

<Info>
  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.
</Info>

## Base URLs

<StyledTable variant="bordered">
  <thead>
    <TableRow header>
      <TableCell header>Environment</TableCell>
      <TableCell header>URL</TableCell>
    </TableRow>
  </thead>

  <tbody>
    <TableRow hover>
      <TableCell>Cloud SPE Community Gateway</TableCell>

      <TableCell>
        <code>[https://tools.livepeer.cloud](https://tools.livepeer.cloud)</code>
      </TableCell>
    </TableRow>

    <TableRow hover>
      <TableCell>Livepeer Studio Gateway</TableCell>

      <TableCell>
        <code>[https://livepeer.studio/api/beta/generate](https://livepeer.studio/api/beta/generate)</code>
      </TableCell>
    </TableRow>
  </tbody>
</StyledTable>

<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.
</Note>

<CustomDivider />

## Endpoints

<CardGroup cols={2}>
  <Card title="Text To Image" icon="image" href="text-to-image" horizontal arrow>
    Generate images from text prompts
  </Card>

  <Card title="Image To Image" icon="wand-magic-sparkles" href="image-to-image" horizontal arrow>
    Apply image transformations to a provided image
  </Card>

  <Card title="Image To Video" icon="video" href="image-to-video" horizontal arrow>
    Generate a video from a provided image
  </Card>

  <Card title="Upscale" icon="up-right-and-down-left-from-center" href="upscale" horizontal arrow>
    Upscale an image by increasing its resolution
  </Card>

  <Card title="Audio To Text" icon="microphone" href="audio-to-text" horizontal arrow>
    Transcribe audio files to text
  </Card>

  <Card title="Segment Anything 2" icon="object-group" href="segment-anything-2" horizontal arrow>
    Segment objects in an image
  </Card>

  <Card title="LLM" icon="brain" href="llm" horizontal arrow>
    Generate text using a language model
  </Card>

  <Card title="Image To Text" icon="message-image" href="image-to-text" horizontal arrow>
    Transform image files to text
  </Card>

  <Card title="Live Video To Video" icon="film" href="live-video-to-video" horizontal arrow>
    Apply transformations to a live video streamed to the returned endpoints
  </Card>

  <Card title="Text To Speech" icon="volume-high" href="text-to-speech" horizontal arrow>
    Generate a text-to-speech audio file based on the provided text input and
    speaker description
  </Card>
</CardGroup>

## Other Endpoints

<CardGroup cols={2}>
  <Card title="Health" icon="heart-pulse" href="health" horizontal arrow>
    Health
  </Card>

  <Card title="Hardware Info" icon="microchip" href="hardware-info" horizontal arrow>
    Hardware Info
  </Card>

  <Card title="Hardware Stats" icon="microchip" href="hardware-stats" horizontal arrow>
    Hardware Stats
  </Card>
</CardGroup>
