Mosaic provides a suite of bite-sized, copy-pasteable example projects that demonstrate common workflows and integrations. All live in the public GitHub repo:

mosaic-ai-labs/api-examples

Browse on GitHub

What’s inside? (Notable Projects)

FolderStackShows off
vercel-ai-sdk-exampleNext.js, Vercel AI SDKAI-powered React component generation with live preview & Mosaic MCP
create-shorts-post-to-socialsReact, Vite, shadcnDropbox → Mosaic → Short-form video downloader
mosaic-mcpPython, FastMCPLLM-friendly MCP server wrapping Mosaic’s REST API
gdrive-triggerPython, Google APIWatch a Drive folder and process new videos (see detailed page)
dropbox-triggerPython, DropboxEdit videos and get the results right back in your storage

Assumptions – Each project expects the environment variables described in its README.md (MOSAIC_API_KEY, AGENT_ID, etc.). Follow the per-folder instructions.

Running locally

git clone https://github.com/mosaic-ai-labs/api-examples.git
cd api-examples/<folder>
# set env vars …
python main.py   # or npm start / bash run.sh or whichever command is specified in the folder's README

All examples are MIT-licensed – fork, adapt and embed them in your own workflows.