Upload footage
upload_mediaOpens Cardboard's upload card in the chat, where the person picks video, audio or photo files (JPEG, PNG, HEIC, WebP or GIF) on their device and uploads them into a project; the card says when each has uploaded, and photos join the project as images. It is how footage and photos on the person's device reach Cardboard; video, audio and photos already attached to the chat go in with add_media instead. Documents such as a brief, script or shot list are not uploaded: the card takes none, and one attached to the chat is read there. On a phone, Photos hands over a copy of a video, which is fine for previews: before export_video, ask whether to replace those clips with their originals, and if so call this with replace for each.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | What the person asked to make, as a short phrase the card shows after 'Ready to make', addressed to them and in their language: 'your 1-minute travel montage', 'her birthday video'. Leave it out when they haven't said. | |
| project | Yes | Project id or exact name | |
| replace | No | Media id of a clip uploaded from a phone, to replace with its original before an export |