Skip to content
中文

Limits and errors

LimitValue
Libraries per account100
Assets per library1000000
Maximum image bytes (50 MiB)52428800
Maximum video bytes (20 GiB)21474836480
Maximum raw/document bytes (100 MiB)104857600
Maximum request bytes; use chunks above this100000000
Minimum non-final chunk bytes; equal-sized chunks5242880
Chunk session hours24
Source byte limit for direct frame delivery104857600
Maximum expression results500
Default expression results100
Maximum semantic hits50
Maximum semantic candidates100
Maximum visual query image bytes (10 MiB)10485760
Text vectors per asset (image vectors additional)61
Maximum storyboard tiles12
Concurrent understanding jobs per library4
Understanding timeout milliseconds600000
Maximum understanding retries3
Tags per asset1000
Characters per tag255
Custom context bytes1024
IDs per batch1000
Library recovery days7
Library name characters; duplicates allowed64
Minimum bge-m3 semantic cosine similarity0.55

Importing a large file that is still being assembled

After the last part of an upload larger than 32 MiB arrives, File assembles the parts into the file, and the file stays in the processing state meanwhile. An import from File in that window waits up to 20 seconds on the server for the assembly, so no retry is needed. If it is still not finished, the request returns 409 FILE_NOT_READY (retryable is true) with Retry-After: 30 and error.details set to retry_after_seconds=30; retry at that interval until it succeeds. Assembly time grows with file size, so a multi-GiB file may need a few retries.

Understanding and similarity

Media generates a proxy before understanding for videos of 25 MB or more and audio-only assets of 100 MB or more; duration is limited to 10 minutes. Original storage and access remain available. Similarity cutoffs depend on the model: qwen3-vl-embedding uses 0.35 for image queries, 0.25 for text queries against images and 0.40 against text. bge-m3 text queries use 0.55. Hybrid scores express ranking, not probability or confidence; filter by business metadata and verify returned content.

Error codes and retry rules →