Example Apps
Dropbox Trigger
Watch a Dropbox folder, edit new videos with Mosaic, and write the results back to Dropbox.
Need an automated assembly line for your Dropbox clips? This example script polls a folder, sends every fresh video to Mosaic, then uploads the processed output back to the same Dropbox folder with -mosaic-output
appended to the file name.
1 · Prerequisites
What | Where |
---|---|
Mosaic API key (mk_… ) | Dashboard → Developer → API Keys |
Mosaic Agent ID | Dashboard → Agents |
Dropbox Access Token | Dropbox App Console – generate token |
Token must have files.content.read/write
& files.metadata.read/write
scopes and full-access.
Install deps:
Create a .env
file:
2 · Run
The edited video(s) will appear alongside the original as video-mosaic-output.mp4
(or _1
, _2
, …).
3 · Copy / Reuse
Just copy dropbox_trigger.py
, README.md
, your .env
and you have an instant Dropbox → Mosaic integration. ✨