Skip to main content

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).
MethodSize Limit
File Upload (domoai_uri)10 MB
Base64 String10 MB

Supported Image Formats

FormatFile ExtensionsContent Type
JPEG.jpg, .jpegimage/jpeg
PNG.pngimage/png
WebP.webpimage/webp
AVIF.avifimage/avif
The API validates actual image content, not just file extensions. Ensure your images are in one of the supported formats.

Image Input Format

domoai_uri Method

For larger files, use the File Upload API to get a domoai_uri:
{
  "image": {
    "domoai_uri": "domoai://eyJhbGciOiJIUzI1NiIs..."
  }
}

Base64 Method

{
  "image": {
    "bytes_base64_encoded": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJ..."
  }
}

Text Inputs (Prompts)

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

Prompt Specifications

FormatLimitDetails
Text2,000 charactersCounted as Unicode characters

Audio Inputs

Audio can be provided via domoai_uri or Base64-encoded data (for files uploaded via the File Upload API).
MethodSize Limit
File Upload (domoai_uri)80 MB
Base64 String10 MB

Supported Audio Formats

FormatFile ExtensionsContent Type
MP3.mp3audio/mpeg
WAV.wavaudio/wav
AAC.aacaudio/aac
FLAC.flacaudio/flac

Audio Input Format

{
  "audio": {
    "domoai_uri": "domoai://eyJhbGciOiJIUzI1NiIs...",
    // OR
    "bytes_base64_encoded": "SUQzAgAAAAAPdlRDTQAA..."
  }
}
For audio files, we recommend using the File Upload API as audio files are typically larger than images.

Video Inputs

Video can be provided via domoai_uri or Base64-encoded data (for files uploaded via the File Upload API).
MethodSize Limit
File Upload (domoai_uri)80 MB
Base64 String10 MB

Supported Video Formats

FormatFile ExtensionsContent Type
MP4.mp4video/mp4
WebM.webmvideo/webm
MOV.movvideo/quicktime
AVI.avivideo/x-msvideo

Video Input Format

{
  "video": {
    "domoai_uri": "domoai://eyJhbGciOiJIUzI1NiIs...",
    // OR
    "bytes_base64_encoded": "AAAAHGZ0eXBtcDQy...",
  }
}
Video files are typically large. We strongly recommend using the File Upload API for video inputs.

Next Steps

File Uploads

Learn how to upload large files using presigned URLs

API Outputs

Learn about response formats and video outputs

API Reference

Browse our complete API documentation

Pricing

Understand per-second billing rates