How jaisurya2823/vidcraft-ai works
VidCraft AI turns a product photo and brand details into promotional media, with a browser UI backed by an Express API and Cloudinary transformations. The main workflow is upload, prepare a product cutout and generated background, compose branded motion media, then return delivery URLs and format variants. The UI also supports generation history; the API exposes health and asset-analysis endpoints. The README documents frontend behavior not visible in the sampled HTML, so those connections are cited to the README.
Main entry points: server.js Generate endpoint · index.html Upload and results UI
Components 13
User experience
- Upload and results UI
public/index.html
Application API
- Generate endpoint
server/server.js - History endpoint
server/server.js - Asset analysis endpoint
server/server.js - Health endpoint
server/server.js
Media generation
- Photo upload and metadata
server/server.js - Background removal
server/server.js - Generated background
server/server.js - Brand composition
server/server.js - Motion output
server/server.js - Social formats
server/server.js
Cloudinary services
- Cloudinary media platform
Other components
- Business user
Connections 18
- Business user → Upload and results UI: provides details
README.md - Upload and results UI → Generate endpoint: submits photo
README.md - Generate endpoint → Photo upload and metadata: accepts photo
server/server.js - Photo upload and metadata → Cloudinary media platform: uploads and tags
server/server.js - Generate endpoint → Background removal: builds cutout URL
server/server.js - Generate endpoint → Generated background: builds scene URL
server/server.js - Generate endpoint → Brand composition: builds composite URL
server/server.js - Generate endpoint → Motion output: builds motion URL
server/server.js - Generate endpoint → Social formats: builds format URLs
server/server.js - Background removal → Cloudinary media platform: transforms asset
server/server.js - Generated background → Cloudinary media platform: generates background
server/server.js - Brand composition → Cloudinary media platform: composites layers
server/server.js - Motion output → Cloudinary media platform: applies zoompan
server/server.js - Social formats → Cloudinary media platform: creates variants
server/server.js - Generate endpoint → Upload and results UI: returns media URLs
README.md - Upload and results UI → History endpoint: loads history
README.md - History endpoint → Cloudinary media platform: searches tagged assets
server/server.js - Asset analysis endpoint → Cloudinary media platform: reads asset details
server/server.js