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

# Overview

> Example section for showcasing API endpoints

## Accessing the API

The API is only available for Haiper API users. You can access and manage your account on the [API page](https://haiper.ai/haiper-api).

## Domain

All our APIs are accessed via HTTP(S) calls, with the base URL `https://api.haiper.ai`.

## Authentication

The Haiper API always accepts JSON in request bodies and returns JSON in response bodies. You will need to send the `content-type: application/json` header in requests.

All requests to the Haiper API must include `authentication` your API key. More information on [Authentication](/api-reference/authentication) page.

## ComfyUI Custom Node

We provide a custom node that allows you to use the Haiper AI API in ComfyUI. More information on the [Custom Node page](https://github.com/Haiper-ai/ComfyUI-HaiperAI-API).

## Quick Start

<CardGroup cols={2}>
  <Card title="Text to Video (Haiper 2.x)" icon="video" href="/api-reference/endpoint/2-0-text-to-video">
    Create videos with text prompt
  </Card>

  <Card title="Image to Video" icon="photo-film" href="/api-reference/endpoint/2-0-image-to-video">
    Upload an image, and use Haiper AI model to animate your image
  </Card>

  <Card title="Text to Image" icon="image" href="/api-reference/endpoint/2-0-image-to-video">
    Create images with text prompt
  </Card>

  <Card title="Key Frame Conditioning" icon="slider" href="/api-reference/endpoint/2-0-key-frame-conditioning">
    Place your multiple images as the key frames of the video you want to create
  </Card>
</CardGroup>

## Get the status and detail of your generations

<CardGroup cols={2}>
  <Card title="Get the Status of Your Creation" icon="spinner" href="/api-reference/endpoint/2-0-text-to-video">
    Create images with text prompt
  </Card>

  <Card title="Get the Detail info of Your Creation" icon="circle-info" href="/api-reference/endpoint/2-0-image-to-video">
    Preview your changes before you push to make sure they're perfect
  </Card>
</CardGroup>
