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

# API Input Parameters

> Detailed specification for DomoAI API input parameters

## Overview

DomoAI Enterprise API accepts various input types depending on the endpoint. This page provides comprehensive documentation on all supported input formats, size limits, and requirements.

## Image Inputs

Images can be provided via **domoai\_uri** or **Base64-encoded data** (for files uploaded via the [File Upload API](/guides/api-details/file-uploads)).

| Method                    | Size Limit |
| ------------------------- | ---------- |
| File Upload (domoai\_uri) | 10 MB      |
| Base64 String             | 10 MB      |

### Supported Image Formats

| Format   | File Extensions | Content Type |
| -------- | --------------- | ------------ |
| **JPEG** | `.jpg`, `.jpeg` | `image/jpeg` |
| **PNG**  | `.png`          | `image/png`  |
| **WebP** | `.webp`         | `image/webp` |
| **AVIF** | `.avif`         | `image/avif` |

<Note>
  The API validates actual image content, not just file extensions. Ensure your images are in one of the supported formats.
</Note>

### Image Input Format

#### domoai\_uri Method

For larger files, use the [File Upload API](/guides/api-details/file-uploads) to get a `domoai_uri`:

```json theme={null}
{
  "image": {
    "domoai_uri": "domoai://eyJhbGciOiJIUzI1NiIs..."
  }
}
```

#### Base64 Method

```json theme={null}
{
  "image": {
    "bytes_base64_encoded": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJ..."
  }
}
```

## Text Inputs (Prompts)

Prompts describe the desired output and guide the AI generation process.

### Prompt Specifications

| Format | Limit            | Details                       |
| ------ | ---------------- | ----------------------------- |
| Text   | 2,000 characters | Counted as Unicode characters |

## Audio Inputs

Audio can be provided via **domoai\_uri** or **Base64-encoded data** (for files uploaded via the [File Upload API](/guides/api-details/file-uploads)).

| Method                    | Size Limit |
| ------------------------- | ---------- |
| File Upload (domoai\_uri) | 80 MB      |
| Base64 String             | 10 MB      |

### Supported Audio Formats

| Format   | File Extensions | Content Type |
| -------- | --------------- | ------------ |
| **MP3**  | `.mp3`          | `audio/mpeg` |
| **WAV**  | `.wav`          | `audio/wav`  |
| **AAC**  | `.aac`          | `audio/aac`  |
| **FLAC** | `.flac`         | `audio/flac` |

### Audio Input Format

```json theme={null}
{
  "audio": {
    "domoai_uri": "domoai://eyJhbGciOiJIUzI1NiIs...",
    // OR
    "bytes_base64_encoded": "SUQzAgAAAAAPdlRDTQAA..."
  }
}
```

<Tip>
  For audio files, we recommend using the [File Upload API](/guides/api-details/file-uploads) as audio files are typically larger than images.
</Tip>

## Video Inputs

Video can be provided via **domoai\_uri** or **Base64-encoded data** (for files uploaded via the [File Upload API](/guides/api-details/file-uploads)).

| Method                    | Size Limit |
| ------------------------- | ---------- |
| File Upload (domoai\_uri) | 80 MB      |
| Base64 String             | 10 MB      |

### Supported Video Formats

| Format   | File Extensions | Content Type      |
| -------- | --------------- | ----------------- |
| **MP4**  | `.mp4`          | `video/mp4`       |
| **WebM** | `.webm`         | `video/webm`      |
| **MOV**  | `.mov`          | `video/quicktime` |
| **AVI**  | `.avi`          | `video/x-msvideo` |

### Video Input Format

```json theme={null}
{
  "video": {
    "domoai_uri": "domoai://eyJhbGciOiJIUzI1NiIs...",
    // OR
    "bytes_base64_encoded": "AAAAHGZ0eXBtcDQy..."
  }
}
```

<Warning>
  Video files are typically large. We strongly recommend using the [File Upload API](/guides/api-details/file-uploads) for video inputs.
</Warning>

## Next Steps

<CardGroup cols={2}>
  <Card title="File Uploads" icon="upload" href="/guides/api-details/file-uploads">
    Learn how to upload large files using presigned URLs
  </Card>

  <Card title="API Outputs" icon="file-export" href="/guides/api-details/outputs">
    Learn about response formats and video outputs
  </Card>

  <Card title="API Reference" icon="book" href="/api-reference/introduction">
    Browse our complete API documentation
  </Card>

  <Card title="Pricing" icon="dollar-sign" href="/pricing">
    Understand per-second billing rates
  </Card>
</CardGroup>
