Skip to Content
Solution PlaysPlay 43: Play 43 β€” AI Video Generation

Play 43 β€” AI Video Generation

AI-powered video generation and editing β€” text-to-video, image-to-video, async batch processing with priority queues, C2PA watermarking, prompt and frame content safety, and cost-controlled preview-first workflow.

Architecture

ComponentAzure ServicePurpose
Generation ModelAzure OpenAI (video endpoint)Text-to-video and image-to-video generation
Prompt EnhancementAzure OpenAI (GPT-4o-mini)Enhance prompts with cinematic details
Content SafetyAzure Content SafetyPrompt moderation + frame-by-frame video check
Job QueueAzure Service BusBatch processing with priority queues
Video StorageAzure Blob Storage (Cool tier)Generated video output with 30-day retention
OrchestratorAzure Container AppsAsync generation, polling, watermarking
SecretsAzure Key VaultAPI keys, connection strings

πŸ“ Full architecture details

AspectPlay 36 (Multimodal Agent)Play 43 (Video Generation)Play 49 (Creative AI)
InputImages + text for analysisText/image prompts for generationMulti-modal content brief
OutputStructured analysisGenerated video files (.mp4)Creative assets (images, copy)
ProcessingReal-time inferenceAsync (30-120s per video)Near real-time
SafetyImage content safetyFrame-by-frame video safety + C2PABrand safety + content policy
QueuingN/AService Bus with priorityN/A
Cost~$0.01/request$0.06-1.50/video~$0.05/asset

DevKit Structure

43-ai-video-generation/ β”œβ”€β”€ agent.md # Root orchestrator with handoffs β”œβ”€β”€ .github/ β”‚ β”œβ”€β”€ copilot-instructions.md # Domain knowledge (<150 lines) β”‚ β”œβ”€β”€ agents/ β”‚ β”‚ β”œβ”€β”€ builder.agent.md # Pipeline + batch queue + watermark β”‚ β”‚ β”œβ”€β”€ reviewer.agent.md # Content safety + copyright + C2PA β”‚ β”‚ └── tuner.agent.md # Quality/cost + resolution + queue β”‚ β”œβ”€β”€ prompts/ β”‚ β”‚ β”œβ”€β”€ deploy.prompt.md # Deploy pipeline + queue + safety β”‚ β”‚ β”œβ”€β”€ test.prompt.md # Generate test videos β”‚ β”‚ β”œβ”€β”€ review.prompt.md # Audit safety + copyright β”‚ β”‚ └── evaluate.prompt.md # Measure quality + cost β”‚ β”œβ”€β”€ skills/ β”‚ β”‚ β”œβ”€β”€ deploy-ai-video-generation/ # Full deploy with Service Bus + safety β”‚ β”‚ β”œβ”€β”€ evaluate-ai-video-generation/ # Quality, safety, performance, cost β”‚ β”‚ └── tune-ai-video-generation/ # Presets, prompts, queue, cost tuning β”‚ └── instructions/ β”‚ └── ai-video-generation-patterns.instructions.md β”œβ”€β”€ config/ # TuneKit β”‚ β”œβ”€β”€ openai.json # Resolution presets, prompt enhancement β”‚ β”œβ”€β”€ guardrails.json # Content safety, cost controls, C2PA β”‚ └── agents.json # Queue config, rate limits, storage β”œβ”€β”€ infra/ # Bicep IaC β”‚ β”œβ”€β”€ main.bicep β”‚ └── parameters.json └── spec/ # SpecKit └── fai-manifest.json

Quick Start

# 1. Deploy video generation pipeline /deploy # 2. Generate test videos /test # 3. Audit content safety and copyright /review # 4. Measure video quality and cost /evaluate

Key Metrics

MetricTargetDescription
Prompt Adherence> 4.0/5.0Video matches prompt description
Content Safety> 99%Frames pass Content Safety check
C2PA Watermark100%AI-generated metadata embedded
Generation Latency (5s)< 60sTime from request to video ready
Cost per 5s/1080p< $0.50API + safety + storage
Queue Throughput> 20/hrVideos generated per hour

Estimated Cost

ServiceDev/moProd/moEnterprise/mo
Azure OpenAI$50$350$1,200
Azure Container Apps (GPU)$60$500$1,800
Blob Storage$5$60$200
Azure AI Content Safety$0$80$250
Service Bus$0$10$80
Azure CDN$5$40$150
Key Vault$1$5$15
Application Insights$0$25$80
Total$121$1,070$3,775

Estimates based on Azure retail pricing. Actual costs vary by region, usage, and enterprise agreements.

πŸ’° Full cost breakdown

WAF Alignment

PillarImplementation
Responsible AIC2PA watermarking, frame-by-frame safety, copyright filtering
SecurityContent Safety on prompts and output, Key Vault for secrets
Cost OptimizationPreview-first workflow, resolution presets, Cool storage tier
ReliabilityService Bus with retry, dead letter queue, 3-attempt retry
Performance EfficiencyAsync generation, priority queues, concurrent processing
Operational ExcellenceJob tracking, cost estimation, rate limiting, daily budget caps

FAI Manifest

FieldValue
Play43-ai-video-generation
Version1.0.0
KnowledgeF1-GenAI-Foundations, F2-LLM-Selection, T2-Responsible-AI, T3-Production-Patterns, R1-Prompt-Patterns
WAF Pillarscost-optimization, responsible-ai, performance-efficiency, reliability
Groundednessβ‰₯ 85%
Safety0 violations max
Last updated on