Upload an image, video or audio
dreamina_upload_assetUpload your own file to one account, for use as a reference: an image (JPEG, PNG, WebP, up to 10 MB) for imageRefs, firstFrameRef / endFrameRef, frames or omniImages; a video (MP4, MOV, WebM, up to 50 MB, 1.8-30.2 s, 300-6000 px) for omniVideos or editVideoRef; audio (MP3, WAV, M4A, AAC, up to 15 MB, 1.8-30.2 s) for omniAudios. Send a public https url or contentBase64 (small files). Returns an assetRef that works on that account only. There is no delete for uploads. POST /assets/{account}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>"
},
"name": "dreamina_upload_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https URL of the file. | |
| account | Yes | The account key as dreamina_list_accounts shows it: region, a colon and the email, e.g. US:user@example.com. | |
| mimeType | No | The file's type. Default: from the url's answer. | |
| contentBase64 | No | The file content, base64-encoded (instead of url). |