YouTube Shorts · from OpenCode

Post YouTube Shorts from OpenCode.

YouTube decides a Short from the file itself. OpenCode can check the frame, make an upright copy with ffmpeg and upload it, in one task.

YouTube files a clip as a Short by looking at it: upright or square, three minutes or less. Anything wider or longer becomes a normal video, which is not what a request for a Short meant, so we check the frame and length when we fetch the clip OpenCode uploaded and refuse a landscape one with the reason, before YouTube hears about it. The fix is usually one ffmpeg command away, and OpenCode can run it.

The words matter as much as the frame. The first line of the post becomes the Short’s title and the rest the description, up to 5,000 characters, so OpenCode can write a title that reads well on the shelf and keep the detail below. The channel connects with a Google sign-in in 1Social, on our own app that Google verified for uploads, and that is separate from whichever model provider OpenCode is using, Google’s included.

Asking OpenCode 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.

OpenCode14:48

› 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.

› make recordings/cli-demo.mov into a youtube short, and if it’s landscape make a vertical copy first

local screen recording · landscape

1S

The recording is landscape, so I made a vertical copy before uploading:

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

Uploaded the vertical copy as a Short; the original recording was left alone.

› _

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

OpenCode, on the other networks

YouTube Shorts, from the other agents

Publishing to YouTube Shorts from OpenCode

Wide clips stopped early

A landscape recording is refused before any upload, and OpenCode gets the reason back in the session, instead of you finding an ordinary video on the channel.

An upright copy made locally

With ffmpeg installed, OpenCode can crop or pad a copy to vertical, upload that copy and leave your original recording exactly as it was.

An opening line that works as a title

OpenCode can write the first line knowing it becomes the Short’s title on the shelf, and put the longer explanation underneath as the description.

A daily upload allowance

YouTube limits how many uploads our app makes in a day. Once it is used up, OpenCode is told when it resets, so it does not keep retrying in a loop.

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 OpenCode 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.

The vertical copy is made without asking

Turning a landscape screen recording into something YouTube files as a Short takes a shell command, usually ffmpeg cropping or padding a copy to an upright frame. In OpenCode that command runs without a prompt by default, as do the curl that uploads the result and the call that publishes it, because the base policy allows every tool. That is convenient for a quick demo clip and less so when the crop cuts off the part of the screen that mattered. If you want to see the copy before it goes up, add an ask rule for shell commands or for the publishing tool, and open the file OpenCode made before saying yes.

A rule of YouTube Shorts from OpenCode, not ours and not the network’s. From documentation, checked 2026-11-23.

When this is the wrong tool

Use YouTube Studio instead for anything meant to be watched wide: a full walkthrough, a talk, a recorded demo where the code must stay legible. This route only makes Shorts, a single clip per post, and leaves thumbnails, playlists and comments to Studio.

Questions people actually ask

Can OpenCode make a vertical copy of a screen recording for Shorts?

Yes, if ffmpeg is installed on the machine. OpenCode runs it from its shell to crop or pad a copy, uploads the copy through 1Social and publishes it as a Short. Your original file stays as it was.

Does the model provider I use in OpenCode affect my YouTube channel?

No. Whichever provider OpenCode is pointed at, Google’s Gemini included, it pays for the model and nothing else. The channel is connected separately in 1Social with a Google sign-in, and it can be a different Google account.

Why was my OpenCode upload refused as a Short?

Because the clip is wider than it is tall, so YouTube would have filed it as a regular video instead of a Short. It is refused with the reason before anything reaches the channel, and a vertical copy made with ffmpeg is the usual way round it.

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.