How googlecloudplatform/gcc-creative-studio works
Creative Studio is a web-based generative multimedia platform. Creators authenticate, work in a workspace, submit prompts or media through the Angular studio, and request image, video, audio, or Gemini-assisted operations; generated media can then be browsed in galleries. The backend is organized by feature, with FastAPI controllers delegating to services and persistence. The README documents Vertex AI, Cloud SQL, and Cloud Storage capabilities; several feature implementations were not sampled, so uncertain frontend-to-backend links are dashed.
Main entry points: main.py FastAPI application · imagen_service.py Imagen generation · gallery_service.py Gallery service · app.module.ts Creative Studio UI
Components 23
Creator experience
- Creative Studio UI
frontend/src/app/app.module.ts - Image studio
frontend/src/app/home/home.component.ts - Video studio
frontend/src/app/video/video.component.ts - Workflow editor
frontend/src/app/workflows/workflow-editor/workflow-editor.component.ts - Media gallery
frontend/src/app/gallery/media-gallery/media-gallery.component.ts
AI creation
- Imagen generation
backend/src/images/imagen_service.py - Veo generation
backend/src/videos/veo_service.py - Audio generation
backend/src/audios/audio_service.py - Gemini tools
backend/src/multimodal/gemini_service.py - Vertex AI
- Workflow execution
backend/src/workflows_executor/workflows_executor_service.py
Media library
- Gallery service
backend/src/galleries/gallery_service.py - Source assets
backend/src/source_assets/source_asset_service.py - Brand guidelines
backend/src/brand_guidelines/brand_guideline_service.py - Media templates
backend/src/media_templates/media_templates_service.py
Workspace and identity
- Identity and access
backend/src/auth/auth_guard.py - Workspace access
backend/src/workspaces/workspace_auth_guard.py - User management
backend/src/users/user_service.py
Backend platform
- Cloud SQL
backend/src/database.py - Cloud Storage
backend/src/common/storage_service.py - FastAPI application
backend/main.py - Firebase Identity
Other components
- Creator
Connections 26
- Creator → Creative Studio UI: uses
- Creative Studio UI → FastAPI application: calls API
- Creative Studio UI → Image studio: hosts
frontend/src/app/app.module.ts - Image studio → Imagen generation: requests images
- Video studio → Veo generation: requests video
- Workflow editor → Workflow execution: runs workflows
- Media gallery → Gallery service: browses media
- FastAPI application → Imagen generation: routes to
backend/main.py - FastAPI application → Veo generation: routes to
backend/main.py - FastAPI application → Audio generation: routes to
backend/main.py - FastAPI application → Gemini tools: routes to
backend/main.py - FastAPI application → Gallery service: routes to
backend/main.py - FastAPI application → Source assets: routes to
backend/main.py - FastAPI application → Brand guidelines: routes to
backend/main.py - FastAPI application → Media templates: routes to
backend/main.py - Imagen generation → Vertex AI: generates with
- Veo generation → Vertex AI: generates with
- Gemini tools → Vertex AI: uses models
- Imagen generation → Gallery service: stores results
- Brand guidelines → Cloud Storage: uses signed uploads
- Source assets → Cloud Storage: stores assets
- Identity and access → Firebase Identity: verifies identity
backend/src/auth/auth_guard.py - Identity and access → User management: provisions user
backend/src/auth/auth_guard.py - Workspace access → Cloud SQL: checks membership
backend/src/workspaces/workspace_auth_guard.py - User management → Cloud SQL: persists users
- Gallery service → Cloud SQL: persists media