SetList turns a script or client brief into a shotlist for video teams on set.

How Firebase AI Logic is used: SetList is built on Firebase AI Logic hybrid inference, using one SDK for two engines. Short inputs (up to 600 characters) are attempted on-device first with Gemini Nano through InferenceMode.ONLY_ON_DEVICE, after initializeDeviceModel on the user's tap. If the on-device model is unavailable, the attempt is logged and the cloud answers instead. Long inputs go straight to the cloud with Gemini 3.5 Flash-Lite through InferenceMode.ONLY_IN_CLOUD for the full breakdown and call sheet. Every answer is shown in a routing log with the engine that served it, the SDK-reported inferenceSource, and latency. Saved shotlists persist in Firestore, and Firebase App Check protects the Gemini API (debug provider on localhost, reCAPTCHA v3 on the deployed site).

Features: paste a script or brief, or load a bundled demo input (a short brief for the on-device path, a long four-scene script for the cloud path); shotlist with shot type, description, camera and duration plus a call sheet with scene count, total shots and estimated runtime; routing log with engine and latency; one-tap save to Firestore; an on-device check that runs LanguageModel.availability() live in the visitor's browser; login-free demo, no sign-in required.

Value proposition: video teams on set often have no signal. SetList gives them the shotlist in seconds on-device for the quick brief, and hands the long script to the cloud for the full breakdown, in the same app, with the routing visible so the crew always knows which engine answered.

If on-device stays unavailable: on the test devices available during the build, Chrome reported the on-device model unavailable, so the app attempts on-device first, logs the attempt, and serves the answer from the cloud. The hybrid routing, logging and fallback are demonstrated live; the on-device path runs wherever the model is present.

Built With

  • css
  • firebase-ai-logic
  • firebase-app-check
  • firestore
  • gemini-3.5-flash-lite
  • gemini-nano
  • html
  • javascript
Share this project:

Updates

Submission history