YouTube Shorts Factory, Building a Faceless AI Pipeline in Python with Claude and Composio

Video: I Built a Faceless YouTube Shorts Factory With AI | Python + Claude + Composio
· based on the channel Agentic AI Hub
Key takeaways
- The pipeline runs in a single Google Colab notebook and turns a trending topic into a finished vertical Short in seven steps.
- Only two Colab Secrets are mandatory: ANTHROPIC_API_KEY and COMPOSIO_API_KEY; Pixabay, ElevenLabs and Creatomate keys are optional with free fallbacks.
- DRY_RUN is True by default, and every upload goes out as private so the creator can review before publishing.
- Creatomate's free plan caps the long side at 480px, so a 1080x1920 render becomes a 270x480 preview until you pay.
- The notebook's default niche is personal finance tips, and the script model is claude-sonnet-5-5.
A YouTube Shorts factory is an automated pipeline that takes a trending topic and outputs a finished vertical video — script, voiceover, stock footage, captions, thumbnail and upload — with no human on camera and minimal manual editing. The build shown by Agentic AI Hub does exactly that inside a single Google Colab notebook that you can open and run yourself, using Python, Anthropic's Claude, Composio for search and YouTube access, plus optional ElevenLabs, Pixabay and Creatomate accounts. It is not a no-code tool: you run cells, read logs, and decide when to flip the switch from a dry run to a real upload.
What the faceless YouTube Shorts factory actually automates
The notebook chains seven stages, each handled by a different service, so the output of one becomes the input of the next. In order, the factory does this:
- Trend research — Composio Search calls `COMPOSIO_SEARCH_TRENDS` for Google Trends related queries and `COMPOSIO_SEARCH_NEWS` for recent news, so the topic has both search interest and fresh context.
- Script and metadata — Claude (model `claude-sonnet-5-5`) writes the spoken script, breaks it into scenes, and produces the title, description and tags.
- Voiceover — ElevenLabs with `eleven_v3` and then `eleven_multilingual_v2` (voices Brian or Adam), or the free `edge-tts` fallback with Guy, Jenny or Aria (default `en-US-GuyNeural`).
- Visuals — Pixabay stock clips matched to each scene, with a color or gradient background generated as a fallback if no Pixabay key is set.
- Render — a 9:16 video with word-by-word captions and 0.4-second fades, via Creatomate cloud editing or a moviepy + Pillow fallback that runs inside Colab.
- Thumbnail — Pillow composes a 1280x720 `thumbnail.jpg`.
- Upload — Composio's `YOUTUBE_UPLOAD_VIDEO` action pushes the file to YouTube with `privacyStatus=private`, but only when `DRY_RUN=False`.
The default niche sitting in the notebook is "personal finance tips," which is a sensible starting point because it is evergreen, text-friendly and easy to illustrate with generic stock footage.
Setup: two required keys, three optional ones
Running the factory requires only two Colab Secrets: `ANTHROPIC_API_KEY` for Claude and `COMPOSIO_API_KEY` for search and the YouTube connection. Everything else degrades gracefully:
- `PIXABAY_API_KEY` — without it, scenes get generated color or gradient backgrounds instead of stock clips.
- `ELEVENLABS_API_KEY` — without it, the notebook switches to `edge-tts`, which is free and needs no account.
- `CREATOMATE_API_KEY` — without it, rendering falls back to moviepy and Pillow inside the Colab runtime, which is slower but costs nothing.
The YouTube side is handled by Composio-managed OAuth, so you authorize the channel once through Composio rather than juggling Google Cloud credentials and a local OAuth client. Search needs no extra Composio connection at all, which is why a fresh account can run steps one and two immediately.
How the script, scenes and metadata are generated
Claude does more than write paragraphs: it returns a structured object the rest of the pipeline can consume. The script is split into scenes, and each scene carries the narration plus a visual query that the Pixabay step uses to fetch footage. The same call also returns the Short's title, its description and a tag list, which is why the upload step needs no manual copywriting.
Two practical details matter here. First, the scene count and per-scene word count effectively control the video length, since Shorts are capped at three minutes and most faceless channels target 30–60 seconds. Second, because the model is given trend and news context, the script can reference what is actually being searched right now rather than generic advice — the difference between a Short that feels current and one that reads like a template.
Voiceover, stock footage and rendering options
Voice is the most audible quality signal on a faceless channel, and the notebook gives you two tiers. ElevenLabs' `eleven_v3` is tried first, with `eleven_multilingual_v2` as the follow-up model, using the Brian or Adam voices; the free `edge-tts` route uses Microsoft's neural voices (Guy, Jenny, Aria) and sounds noticeably more synthetic but costs nothing and never rate-limits you mid-run.
On the visual side, Pixabay clips are pulled per scene. If you skip the key, the fallback gradients still produce a watchable video, but stock footage is what makes a Short look produced rather than assembled.
Rendering is where the free tier bites. Creatomate handles the cloud edit — word-by-word captions synced to the narration and 0.4-second fades between scenes — but its free plan caps the long side at 480 pixels. A 1080x1920 vertical render therefore comes back as a 270x480 preview, which is fine for checking timing and captions but not for publishing. Full 1080p requires a paid Creatomate plan, or you accept the moviepy + Pillow fallback and its slower in-Colab render.
Dry run, private uploads and the review step
The notebook ships with `DRY_RUN=True`, which means a full run produces the video, thumbnail and metadata locally without touching your channel. That default is deliberate: it lets you inspect the script quality, the voice, the caption timing and the clip selection before anything goes live.
When you set `DRY_RUN=False`, the upload still uses `privacyStatus=private`. The Short lands in YouTube Studio as a private draft, where you can watch it end to end, fix the title or tags, and only then schedule or publish it. Two compliance points belong in that review: disclose synthetic voice where required (YouTube's altered-content labeling applies to realistic AI voice), and check that each Pixabay clip's license covers your use. Neither is automated by the pipeline.
Limits, costs and what still needs a human
The factory removes production labor, not editorial judgment. A realistic accounting of what remains:
- API costs — Claude tokens per run plus ElevenLabs characters if you use the paid voice; `edge-tts` and the moviepy fallback keep marginal cost near zero.
- Render quality — free Creatomate output is a 270x480 preview, so publishable 1080x1920 needs a paid plan.
- Factual risk — trend and news context improves relevance but does not guarantee accuracy; a human should read the script before upload.
- Platform rules — repetitive, low-effort uploads risk YouTube's inauthentic-content policies, so vary topics and formats rather than firing the same template daily.
- Licensing — stock clip terms and AI-voice disclosure are your responsibility, not the notebook's.
Links from the video
- Colab notebook: https://colab.research.google.com/drive/1kAigcSoE3XJ1GJ-xFE28LyJETu0CdL6d
- Free book, A-Z of Agentic AI (Gumroad): https://535214083743.gumroad.com/l/qnjoqo
Summary
The faceless YouTube Shorts factory from Agentic AI Hub is a seven-stage Python pipeline in Colab: Composio Search for trends and news, Claude for script and metadata, ElevenLabs or edge-tts for voice, Pixabay for clips, Creatomate or moviepy for the 9:16 render, Pillow for the thumbnail, and Composio's YouTube action for a private upload. Its best design choice is the conservative default — `DRY_RUN=True` and private uploads — which makes it safe to experiment with before committing to a channel workflow. The main upgrade path is a paid Creatomate plan for true 1080p output. Start by opening the Colab notebook and running a dry run on your own niche, and watch the full walkthrough on the Agentic AI Hub channel, which produced this breakdown.
Source: I Built a Faceless YouTube Shorts Factory With AI | Python + Claude + Composio · Markdown version
Questions & answers
Do I need paid API keys to run the faceless Shorts factory?
No. Only ANTHROPIC_API_KEY and COMPOSIO_API_KEY are required. Pixabay, ElevenLabs and Creatomate each have a free fallback: gradient backgrounds, edge-tts voice, and a moviepy + Pillow render inside Colab. Paid keys mainly improve visual quality and render resolution.
Why is the rendered video only 270x480 instead of 1080x1920?
Creatomate's free plan caps the long side of any render at 480 pixels. A 1080x1920 vertical project is therefore downscaled to 270x480. To get full-resolution output you need a paid Creatomate plan or the moviepy fallback.
Will the pipeline upload to my YouTube channel automatically?
Only if you set DRY_RUN=False. Even then, the upload uses privacyStatus=private, so the Short appears in YouTube Studio as a private draft for review. Nothing is published publicly without your action.
Is it safe to publish AI-voiced Shorts made this way?
YouTube requires disclosure of realistic altered or synthetic content, so label AI voice where it applies. Also verify that each Pixabay clip's license covers your use, and avoid mass-producing near-identical videos, which can fall foul of inauthentic-content policies.