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

# API Introduction

> TensorAI API - Build powerful AI applications

## Welcome to TensorAI API

TensorAI provides powerful APIs for AI-powered image and video generation. Our APIs enable you to integrate cutting-edge AI capabilities into your applications.

## Available APIs

> [card] [Image API](https://docs.tensorslab.com/api-reference/image/introduction.md)
>
> Generate images with text-to-image and image-to-image models including SeeDream V4.0, V4.5, V5.0 and Z-Image.

> [card] [Video API](https://docs.tensorslab.com/api-reference/video/introduction.md)
>
> Create professional videos with SeeDance models supporting text-to-video and image-to-video.

## Authentication

All API endpoints require authentication using Bearer tokens. Include your API key in the request header:

```json theme={null}
"Authorization": "Bearer YOUR_API_KEY"
```

> [!NOTE]
>
> You can generate API keys from the [TensorAI Console](https://tensorai.tensorslab.com/).

## Rate Limits

API usage is based on credits. Each model has different credit consumption rates:

| Model | Type | Points per Generation |
| - | - | - |
| SeeDream V4.0 | Image | 240 points |
| SeeDream V4.5 | Image | 380 points |
| SeeDream V5.0 Lite | Image | 500 points |
| Z-Image | Image | 100 points |
| SeeDance 1.0 Lite | Video (5s) | from 720 points |
| SeeDance 1.5 Pro | Video (5s) | from 540 points |
| SeeDance 2.0 | Video (5s) | from 4000 points |
| SeeDance 2.0 Fast | Video (5s) | from 3200 points |
| *Note: The actual credit consumption displayed during generation shall prevail.* | | |

## Quick Start

1. **Get your API key** from the TensorAI console
2. **Choose a model** based on your requirements
3. **Make API requests** using the endpoints documented below

> [card] [View Image API](https://docs.tensorslab.com/api-reference/image/introduction.md)
>
> Explore Image API endpoints

> [card] [View Video API](https://docs.tensorslab.com/api-reference/video/introduction.md)
>
> Explore Video API endpoints


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