upload
Copy a local image, video, or audio file into a Dinoctor project as media, character, object, background, video, sound, music, or voice.
Instructions
Bring a file from this computer into the project, like the app's upload. Pictures (PNG/JPG/WebP/GIF/SVG): as media, character or object (joins a shot's cast or replaces a member's picture), or background. Videos (MP4/MOV/WebM): as media, video-background or video-front in a shot. Sounds (MP3/WAV/M4A...): as sound (sound Media, and on the timeline at at if given), music, or voice. Default: media for pictures and videos, sound for sounds. The file is copied into Dinoctor; the original isn't changed. One undo step. For pictures made before with Higgsfield, use put_picture.
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": {
"path": "<path>"
},
"name": "upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | How it goes into the project (see the description). | |
| at | No | For as: sound, seconds into the film to place it on a free sound line. | |
| name | No | A short name for it in the project. | |
| path | Yes | Full path of the file on this computer. | |
| shot | No | Shot id (from get_project). Default: the shot on screen. | |
| trim | No | For a character/object picture: cut its empty see-through edges (default true). | |
| replace | No | A cast member id in that shot whose picture this replaces. | |
| sound_kind | No | For as: sound, what it is (guessed from the name and length otherwise). |