Build a Faceless AI Video Channel · 30 min · YouTube Data API v3 · Python
Auto Upload + Full Pipeline Run
Six working nodes tested individually still aren't a pipeline until they run back to back, unattended, and produce a video you didn't have to babysit.
Hiring signal: A complete, unattended topic-to-published-video pipeline is the actual product -- not any single node in isolation -- and building the orchestrator that chains them reliably is the real capstone skill.
What you will learn
- Upload a finished video to YouTube with AI-generated metadata
- Handle YouTube OAuth token refresh for unattended operation
- Run the complete pipeline 3 times end to end, producing 3 real videos
The Capstone Project
Every node works in isolation. Today they run as one chain, unattended, from a raw topic to a video sitting on YouTube (or in a local folder if you're not ready to publish) — 3 times, producing 3 real videos.
Uploading with real metadata, not placeholder text
from googleapiclient.discovery import build
from googleapiclient.http import MediaFileUpload
def upload_to_youtube(video_path: str, title: str, description: str, tags: list[str]) -> str:
youtube = build("youtube", "v3", credentials=get_refreshed_credentials())
request = youtube.videos().insert(
part="snippet,status",
body={
"snippet": {"title": title, "description": description, "tags": tags, "categoryId": "22"},
"status": {"privacyStatus": "private"}, # start private, publish manually after review
},
media_body=MediaFileUpload(video_path),
)
response = request.execute()
return response["id"]
privacyStatus: "private" is deliberate for a course context — every uploaded video starts private so you review it before anyone else can see it, rather than trusting the pipeline to have produced something publish-ready on the first automated run. Title/description/tags should be generated by Claude from the script content (a small additional prompt), not hardcoded placeholders.
Unlock the full lesson
You've read the first 2 sections. The rest of this lesson covers OAuth token refresh: the part everyone finds annoying, The orchestrator: the actual product, Ship it — plus a hands-on lab, quiz, and project artifact.
Create a free account to unlock Phase 0 and Phase 1 of every course — no credit card.
Browse all courses · View pricing · DeVenture Academy