Build a full-stack system architecture for a mobile-first AI video editing application called NEXORA. NEXORA is an AI-assisted distributed video editing system where: - Mobile app handles lightweight editing (timeline, clips, preview UI) - Backend handles video rendering, exports, AI processing - AI system converts user prompts into editing commands --- CORE REQUIREMENTS: 1. FRONTEND (Mobile App) - React Native (Expo) + TypeScript - Expo Router for navigation - Zustand for state management Screens: - Splash Screen - Home Dashboard (recent projects, create project) - Projects List - Studio Editor (main screen) - Settings Studio layout: - Left: Media Library - Center: Video Preview - Bottom: Timeline Editor - Right: AI Assistant Panel Mobile app should NOT perform heavy video rendering. --- 2. STATE MANAGEMENT (ZUSTAND) Create 7 stores: - projectStore (projects, metadata) - timelineStore (clips, tracks, timeline state) - playbackStore (playhead, scrubbing, preview state) - aiStore (AI chat + responses) - analyticsStore (usage + insights) - styleMemoryStore (user editing preferences) - settingsStore (app config) --- 3. BACKEND (NODE.JS + TYPESCRIPT) Create REST API architecture. Responsibilities: - Project CRUD APIs - Media upload handling - AI processing endpoints - Video rendering pipeline - Export system Include services: - AI service (prompt → structured actions) - Render service (FFmpeg-based video processing) - Project service (save/load/sync) --- 4. AI SYSTEM (CORE FEATURE) Use AI that converts natural language into structured editing commands. Example output: { "agent": "CreativeDirector", "actions": [ { "type": "TRIM_CLIP", "clipId": "c1" }, { "type": "APPLY_EFFECT", "effect": "cinematic" }, { "type": "REMOVE_SILENCE" } ] } AI Agents: - Creative Director (main editor brain) - Caption Agent - Thumbnail Agent - Audio Agent - Color Grading Agent - Story Structuring Agent Use Vercel AI SDK style architecture. --- 5. VIDEO PROCESSING PIPELINE Backend uses FFmpeg. Flow: Mobile sends timeline JSON → Backend processes clips → FFmpeg renders final video → Returns export URL Include queue system for rendering jobs. --- 6. DATA STRATEGY - Local cache on mobile using AsyncStorage - Cloud sync via REST API - Last-write-wins conflict resolution --- 7. PROJECT STRUCTURE OUTPUT REQUIRED Generate full folder structure for: Frontend: - Expo app structure - screens, components, stores, services Backend: - routes - controllers - services - workers (FFmpeg, AI, rendering) --- IMPORTANT RULES: - Do NOT overfocus on UI styling - Focus on architecture + scalability - Keep mobile lightweight - Backend handles all heavy processing - AI must return structured JSON commands, not text --- GOAL: Produce a scalable production-ready architecture for NEXORA that can support: - AI video editing - timeline-based editing - cloud rendering - mobile-first experience - future desktop expansion I have uploaded the image how should the app look
Sign in to leave a comment
The SRD will be automatically generated as you discuss your project with the Tech Lead Agent.
No completed page designs yet.
Completed design pages will appear here when they are ready to preview.
No user flows yet.
The User Flow Agent will generate per-persona navigation diagrams after SRD updates.
No completed page designs yet.
Completed design pages will appear here when they are ready to preview.
No user flows yet.
The User Flow Agent will generate per-persona navigation diagrams after SRD updates.
No comments yet. Be the first!