Upload local files through a secure MixerAI page
aimixer_media_upload_sessionBrowser upload fallback when the host cannot access file bytes or outbound HTTPS. First try aimixer_media_upload_prepare and run its command for a real local file. If that is unavailable, use aimixer_media_upload_open in MCP Apps or action=create here and show its upload page; the user chooses the file once. Poll action=status with token, or with opaque upload_id from aimixer_media_upload_prepare (no secret needed), for a completed managed_id. Photo maximum 30 MiB; video/audio 100 MiB; format, duration and model-specific limits apply. Never ask for another chat attachment or fabricate its bytes. No generation/debit; Canvas graph nodes must be attached separately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| token | No | Upload-session token returned by action=create. Required for status. | |
| action | Yes | ||
| family | No | Selected model family: the session then takes exactly that model's maximum reference files for media_family. | |
| values | No | ||
| max_files | No | ||
| upload_id | No | Opaque owner-bound ID from prepare; check action=status without the upload key. | |
| project_id | No | ||
| destination | No | library | |
| media_family | No | Optional typed session, strict media family and canonical per-kind size cap. | |
| max_file_bytes | No |