Import media into MixerAI
aimixer_media_importImport an accessible public media URL, a real host file object, or inline base64 of actual local image/video/audio bytes. Base64 is appropriate ONLY for tiny files (roughly 150 KiB or less): larger files must use aimixer_media_upload_prepare with the host sandbox/terminal and the returned HTTP command. In Claude with code execution first inspect /mnt/user-data/uploads for the original. Execute the command yourself if permitted to access mixerai.org; then check status by upload_id. If no HTTPS egress or no actual host bytes, open the inline aimixer_media_upload_open widget (MCP Apps hosts); only without MCP Apps provide aimixer_media_upload_session's upload page. Never re-request the chat attachment, reconstruct image pixels, guess a URL, or pass a local path to this remote tool. For Canvas uploads from any input source, pass project_id from Canvas create/read. For an existing library reference, use Canvas apply attach_media to link it to a project. One source only; return managed_id without generation or spending coins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public HTTP(S) download URL only; local OS paths, file:// and sandbox paths cannot be read by this remote service. | |
| file | No | Host-provided uploaded file object. The client first reads the local file with a real file picker/upload bridge, then passes file_id + HTTPS download_url. This is NOT an absolute local file path. A remote MCP server cannot read D:\... or file://. | |
| model | No | Optional model the file is for. With it the import applies the site's own check and fitting for that model (limits, video frame fitting, audio conversion); without it the file is checked when the generation starts. | |
| values | No | Optional settings of that model that change its input limits (for example quality or mode). | |
| file_name | No | Filename with extension for data_base64 (for example picture.png). | |
| mime_type | No | MIME type for data_base64, verified against file extension and content. | |
| project_id | No | Owned Canvas project ID for inline, host-file or URL imports. Sets Canvas retention for newly uploaded bytes; attach returned media to a project node. | |
| data_base64 | No | Only for real file bytes, preferably <=150 KiB; use aimixer_media_upload_prepare + shell HTTP upload for larger files. Server bound by the 8 MiB MCP JSON request. | |
| media_family | Yes | ||
| reference_mode | No | Optional input mode of that model, as in its options. | |
| idempotency_key | Yes |