YouTube Shorts · from Gemini CLI

Post YouTube Shorts from Gemini CLI.

Gemini CLI is a Google product and so is YouTube, but the two sign-ins are separate. Connect the channel once, then Shorts go up from the terminal.

A Short is not a setting you pick; YouTube decides from the file. A clip that is vertical or square and runs no more than three minutes lands on the Shorts shelf, and anything else becomes an ordinary upload on the channel. Gemini CLI sends the clip from disk through our upload tool, and we read its frame and length when we fetch it. If it would end up as a regular video, the call is refused with the reason, and YouTube is never asked.

The text half is where Gemini CLI helps most. The first line of the post becomes the title and the rest the description, up to 5,000 characters, so it can write a title that reads well on the shelf and keep the detail below it. The channel connects through a Google sign-in on our app, which Google has verified for uploads, so there is no Cloud project, OAuth client or key to keep anywhere near the repository.

Asking Gemini CLI for a YouTube Shorts post

The YouTube Shorts ceilings in this exchange come from the same table the publisher enforces — the conversation is drawn, the numbers are not.

Gemini CLI14:30

› Set me up — what do you need?

Just the accounts. Connect them in the browser once and I can publish from here after that.

› Done, connected

I will tell you before publishing if a network cannot take what you wrote.

› Good. Drafting the launch note now

Send it over and I will check it before anything goes out.

› turn recordings/setup-walkthrough.mov into a youtube short, title it something about getting set up fast

local screen recording · landscape

1S

This recording is landscape, so it would not land as a Short:

YouTube Shorts caption5,000fits
Image or videorequired — attached
Reply chainsjoined into one post
Attachments allowed1per post

Nothing was uploaded. Record it upright, or ask me to try a centred vertical crop with ffmpeg.

› _

What YouTube Shorts allows

Read from the same table the publisher enforces, so this cannot drift from what actually happens when you press send.

Caption limit
5,000 characters
Post with no image or video
Refused by YouTube Shorts
Reply chains
No — the parts are joined into one post
Images or video per post
1
Image formats
Anything we accept for upload

Gemini CLI, on the other networks

YouTube Shorts, from the other agents

Publishing to YouTube Shorts from Gemini CLI

Landscape stopped at the terminal

A widescreen clip is refused before it uploads, and Gemini CLI reports the reason in the session where you asked, not as a surprise on the channel page.

From the recordings folder

Gemini CLI fills an upload target with the clip on your disk, so a Short never needs a public home of yours before YouTube receives it.

First line written as a title

Gemini CLI can draft the opening line knowing it becomes the Short’s title, and leave the rest of the text for the description below it.

The daily quota, said out loud

YouTube limits how many uploads our app can make in a day. When the allowance is spent, Gemini CLI is told when it resets rather than retrying blindly.

How it works

1

Connect once

~2 min

Link the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.

ChatGPT

Claude

Cursor

2

Ask, in your own words

one sentence

Tell Gemini CLI to publish to YouTube Shorts, now or on a day you name. No dashboard, no tab switch.

3

Read the receipt

per network

One line per network — what landed, what failed and why, and what genuinely could not be determined.

Your Gemini login is not your YouTube channel

Gemini CLI is a Google product, and depending on how you pay for it you may be signed in to it with a Google account or using a Gemini API key. None of that reaches YouTube. A channel is connected separately, in 1Social, through a Google sign-in on our own verified app, and it can be a different Google account from the one Gemini CLI uses. Until a channel is connected, the account list Gemini CLI reads has no YouTube entry and a Short has nowhere to go; the reply carries a link to connect one instead.

A limitation of this product. Ours to fix. From documentation, checked 2026-11-23.

When this is the wrong tool

Long-form video is out of scope: what goes up from here is always a Short, a single clip per post, and thumbnails, playlists and comments stay in YouTube Studio. If the thing you want to share is a widescreen walkthrough, upload it in Studio as a normal video rather than squeezing it into a vertical frame.

Questions people actually ask

Does signing in to Gemini CLI with Google connect my YouTube channel?

No. Gemini CLI’s sign-in or API key pays for the model and nothing else. The channel is connected in 1Social with its own Google sign-in, and it may well be a different Google account from the one you use for Gemini.

Why did Gemini CLI refuse to upload my screen recording as a Short?

Because it is wider than it is tall. YouTube would have filed it as a regular video, so it is stopped with video_not_vertical before any upload. Record upright, or have Gemini CLI make a vertical copy with ffmpeg if you have it installed.

Do I need a Google Cloud project to post Shorts from Gemini CLI?

Not for YouTube. If you use Gemini CLI through a Cloud project, that project stays as it is; uploads go through our verified app, so there is no YouTube Data API to enable and no client secret to create.

Something else? Ask us — a person answers.

Read next

Start where you already work.

Connect an account and post your first update in about two minutes. Every plan starts with a free trial.

Posts go out through each network’s official API — not scraping.