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

# Reference pipelines

> Production BYOC pipelines running on the Livepeer network: StreamDiffusion, ControlNet, IPAdapter, FaceID, Whisper, Gemma, and SuperResolution.

export const CenteredContainer = ({children, maxWidth = "800px", padding = "0", preset = "default", width = "", minWidth = "", marginRight = "", marginBottom = "", textAlign = "", style = {}, className = "", ...rest}) => {
  const presets = {
    default: {},
    fitContent: {
      width: "fit-content",
      minWidth: "fit-content"
    },
    readable70: {
      width: "70%",
      minWidth: "fit-content"
    },
    readable80: {
      width: "80%",
      minWidth: "fit-content"
    },
    readable90: {
      width: "90%"
    },
    wide900: {
      maxWidth: "900px"
    }
  };
  const presetStyle = presets[preset] || presets.default;
  return <div className={className} style={{
    maxWidth: presetStyle.maxWidth || maxWidth,
    margin: "0 auto",
    padding: padding,
    ...presetStyle.width ? {
      width: presetStyle.width
    } : {},
    ...presetStyle.minWidth ? {
      minWidth: presetStyle.minWidth
    } : {},
    ...width ? {
      width
    } : {},
    ...minWidth ? {
      minWidth
    } : {},
    ...marginRight ? {
      marginRight
    } : {},
    ...marginBottom ? {
      marginBottom
    } : {},
    ...textAlign ? {
      textAlign
    } : {},
    ...style
  }} {...rest}>
      {children}
    </div>;
};

export const CustomDivider = ({color = "var(--lp-color-border-default)", middleText = "", spacing = "default", style = {}, className = "", ...rest}) => {
  const spacingPresets = {
    default: {
      margin: "24px 0"
    },
    overlap: {
      margin: "-1rem 0 -1rem 0"
    },
    tight: {
      margin: "0 0 -1rem 0"
    },
    section: {
      margin: "0 0 -2rem 0"
    },
    sectionOverlap: {
      margin: "-1rem 0 -2rem 0"
    },
    deepOverlap: {
      margin: "-1rem 0 -1.5rem 0"
    }
  };
  const spacingStyle = spacingPresets[spacing] || spacingPresets.default;
  return <div role="separator" aria-orientation="horizontal" className={className} style={{
    display: "flex",
    alignItems: "center",
    ...spacingStyle,
    fontSize: style?.fontSize || "16px",
    height: "fit-content",
    ...style
  }} {...rest}>
      <span style={{
    marginRight: "var(--lp-spacing-px-8)",
    opacity: 0.2
  }}>
        <Icon icon="/snippets/assets/logos/Livepeer-Logo-Symbol-Theme.svg" />
      </span>
      <div style={{
    flex: 1,
    height: "1px",
    background: "var(--lp-color-border-default)",
    opacity: 0.4
  }}></div>
      {middleText && <>
          <Icon icon="circle" size={2} />
          <span style={{
    margin: "0 8px",
    fontWeight: "bold",
    color: color,
    opacity: 0.7
  }}>
            {middleText}
          </span>
          <Icon icon="circle" size={2} />
        </>}
      <div style={{
    flex: 1,
    height: "1px",
    background: "var(--lp-color-border-default)",
    opacity: 0.4
  }}></div>
      <span style={{
    marginLeft: "var(--lp-spacing-px-8)",
    opacity: 0.2
  }}>
        <span style={{
    display: "inline-block",
    transform: "scaleX(-1)"
  }}>
          <Icon icon="/snippets/assets/logos/Livepeer-Logo-Symbol-Theme.svg" />
        </span>
      </span>
    </div>;
};

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>;
};

<CenteredContainer preset="readable90">
  <Tip>These pipelines run on the network today via ComfyStream. Each is a ComfyUI workflow packaged as a BYOC container with a pre-built Docker image.</Tip>
</CenteredContainer>

<CustomDivider />

The following real-time AI pipelines are deployed on the Livepeer Network as BYOC containers running through ComfyStream. Each pipeline is a ComfyUI workflow that processes live video frames.

<CustomDivider />

## Available pipelines

<StyledTable variant="bordered">
  <thead>
    <TableRow header>
      <TableCell header>Pipeline</TableCell>
      <TableCell header>Input</TableCell>
      <TableCell header>Output</TableCell>
      <TableCell header>Min VRAM</TableCell>
      <TableCell header>Target FPS</TableCell>
    </TableRow>
  </thead>

  <tbody>
    <TableRow>
      <TableCell>**StreamDiffusion**</TableCell>
      <TableCell>Live video + text prompt</TableCell>
      <TableCell>Style-transferred video</TableCell>
      <TableCell>8 GB</TableCell>
      <TableCell>20-30</TableCell>
    </TableRow>

    <TableRow>
      <TableCell>**StreamDiffusion V2**</TableCell>
      <TableCell>Live video + text prompt</TableCell>
      <TableCell>Higher-quality style transfer</TableCell>
      <TableCell>12 GB</TableCell>
      <TableCell>15-25</TableCell>
    </TableRow>

    <TableRow>
      <TableCell>**ControlNet**</TableCell>
      <TableCell>Live video + control image</TableCell>
      <TableCell>Pose/edge-conditioned generation</TableCell>
      <TableCell>12 GB</TableCell>
      <TableCell>10-15</TableCell>
    </TableRow>

    <TableRow>
      <TableCell>**IPAdapter**</TableCell>
      <TableCell>Live video + reference image</TableCell>
      <TableCell>Style-consistent generation</TableCell>
      <TableCell>12 GB</TableCell>
      <TableCell>10-15</TableCell>
    </TableRow>

    <TableRow>
      <TableCell>**FaceID**</TableCell>
      <TableCell>Live video + face reference</TableCell>
      <TableCell>Face-swapped or avatar video</TableCell>
      <TableCell>12 GB</TableCell>
      <TableCell>15-20</TableCell>
    </TableRow>

    <TableRow>
      <TableCell>**Whisper (audio)**</TableCell>
      <TableCell>Live audio</TableCell>
      <TableCell>Real-time transcription (data channel)</TableCell>
      <TableCell>4 GB</TableCell>
      <TableCell>N/A (text output)</TableCell>
    </TableRow>

    <TableRow>
      <TableCell>**Gemma (vision)**</TableCell>
      <TableCell>Live video</TableCell>
      <TableCell>Scene understanding (data channel)</TableCell>
      <TableCell>8 GB</TableCell>
      <TableCell>1-5 (per analysis)</TableCell>
    </TableRow>

    <TableRow>
      <TableCell>**SuperResolution**</TableCell>
      <TableCell>Low-resolution video</TableCell>
      <TableCell>Upscaled video (2x or 4x)</TableCell>
      <TableCell>8 GB</TableCell>
      <TableCell>15-25</TableCell>
    </TableRow>
  </tbody>
</StyledTable>

All pipelines use the `live-video-to-video` pipeline type and are accessible through any Livepeer Gateway that routes to Orchestrators with the pipeline warm.

<CustomDivider />

## Building a custom pipeline

Fork an existing reference pipeline as your starting point. Each pipeline is a ComfyUI workflow JSON file plus a requirements file for additional Python dependencies.

1. Export your ComfyUI workflow as JSON
2. Test it with [ComfyStream](/v2/developers/build/ai-and-agents/realtime-ai/ComfyStream/overview)
3. Package it as a BYOC container via [ComfyStream as BYOC](/v2/developers/build/ai-and-agents/realtime-ai/ComfyStream/ComfyStream-as-byoc)
4. Register it with your Orchestrator's `aiModels.json`

<CustomDivider />

The [ComfyStream workflow authoring](/v2/developers/build/ai-and-agents/realtime-ai/ComfyStream/workflow-authoring) page covers building custom workflows. The [BYOC quickstart](/v2/developers/build/compute/byoc/byoc-quickstart) covers container packaging and registration.
