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.
Images can be provided via domoai_uri or Base64-encoded data (for files uploaded via the File Upload API ).
Method Size Limit File Upload (domoai_uri) 10 MB Base64 String 10 MB
Format File Extensions Content Type JPEG .jpg, .jpegimage/jpegPNG .pngimage/pngWebP .webpimage/webpAVIF .avifimage/avif
The API validates actual image content, not just file extensions. Ensure your images are in one of the supported formats.
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
Format Limit Details Text 2,000 characters Counted as Unicode characters
Audio can be provided via domoai_uri or Base64-encoded data (for files uploaded via the File Upload API ).
Method Size Limit File Upload (domoai_uri) 80 MB Base64 String 10 MB
Format File Extensions Content Type MP3 .mp3audio/mpegWAV .wavaudio/wavAAC .aacaudio/aacFLAC .flacaudio/flac
{
"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 can be provided via domoai_uri or Base64-encoded data (for files uploaded via the File Upload API ).
Method Size Limit File Upload (domoai_uri) 80 MB Base64 String 10 MB
Format File Extensions Content Type MP4 .mp4video/mp4WebM .webmvideo/webmMOV .movvideo/quicktimeAVI .avivideo/x-msvideo
{
"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