Enovate IT-QMS-PL01-Project Plan-[FlowCast]-V1.0
Tools & Services
Gemini Flash 2.5/Gemini Flash 2.5 Lite/Gemini Flash 2.5 Pro
- Code analysis
- Steps and flow generation
- Video analysis
- Generation of timestamps, subtitles, transcripts
- Generate FFMPEG script to edit the video
Gemini embedding model
- Steps and flow embedding
Gemini Flash 2.5 TTS OR Tortoise TTS
- Voiceover generation
Langchain to build automatic agents that will handle standardized communication with the AI models
Minio docker to store video files, audio files, uploaded code
Postgres database
Postgres plugin pgvector for vector database OR Qdrant vector database OR Weaviate vector database
Paid service required Gemini Developer API Paid Tier
Project Flow
Setup Flow
- Cypress/Playwright repo uploaded by QA/project owner
- AI indexes the code-base and generates the steps being performed by the automation
- AI creates vector embedding for the steps and uses it as the source of truth
- Generate Vector embedding and metadata for the scripts
- Store the vector embedding into the vector database
- Store the metadata about all the steps into the database
- Store the code into storage bucket
Prompting Flow
- User/QA Input Prompts(ex: Generate demo for adding user to org ) / Prompts through API
- Check if the video for the requested flow exists using filenames and metadata
- (YES)Serve the video
- Check if the requested flow exists in the script/repo
- (NO)Inform that the video for such flow cannot be generated in a positive manner
- Runs the automation script in the server
- Use video output flags to generate video for the automation
- Video output along with metadata is saved
- AI Agents
- Analysis for the video by AI
- Generate data for events:
- Timestamps
- Locations
- Type
- Generate transcripts, subtitles and voice-over for the video
- Generate FFMPEG command/script to combine the video overlays, voice-over, subtitles to generate new video
- Generate the edited demo video
- Output the demo video and serve to the user
![]
![][image2]
AI Parts of the Challenge
Code understanding and generating vector embedding and metadata for the flows
Video analysis (events, transitions, etc)
Video metadata generation
Transcripts, subtitle, voiceover generation
FFMPEG script/command generation
Team plans and goals
First 2 weeks goals to achieve:
- Finalise the backend architecture (monolith/microservices, vector db, cache, docs, ai tools)
- Finish the boilerplate of the backend
- Remove unnecessary elements from the UI and finalize the UI
- Have some testing scenarios for the qa ready
First month goals to achieve:
- Have all the public and private apis ready
- Have the code upload -> indexing -> embedding flow ready (at least in some capacity)
- Have all the test scenarios ready and begin testing for the code upload flow
- Start working on the video generation and editing part
Sequence Diagram
![][image3]
ERD
![][image4]