# Post and schedule from your AI

Connect 10xvid to your AI once, then ask it in plain words to post on your X account or YouTube channel, now or later, and to change or cancel what is scheduled.

Your AI can post on your own X account and YouTube channel through 10xvid, now or at a time you choose: on X words alone, or words with one of your image ads or a video; on YouTube a video with its title. Any AI app or agent that can add an MCP server can do it, such as Claude, ChatGPT, Cursor or Claude Code. You set it up once.

## Before you start

1. **Connect your accounts.** In [the app](/app/agent/posts), open **Posts**, then **Accounts**, and press **Connect X** or **Connect YouTube**. Each asks you to sign in and allow 10xvid.
2. **Make an API key.** On the [API keys](/app/api-keys) page, press **Create key** and copy the key. It is shown once, and your email address must be confirmed first. The key needs **Posts: Write**, which every key has unless you restrict it.

## Add 10xvid to your AI

Your AI reaches 10xvid through its MCP server, at this address, with your key in place of `YOUR_API_KEY`:

```
https://10xvid.com/mcp?key=YOUR_API_KEY
```

The address holds your key, so keep it as private as the key. Where your AI lets you set a header, you can give it `https://10xvid.com/mcp` and send the key as `Authorization: Bearer YOUR_API_KEY` instead.

Where to add it:

- **Claude**, on the web or in the desktop app: **Settings**, then **Connectors**, then **Add custom connector**. Paste the address as its URL.
- **ChatGPT**: **Settings**, then **Apps** (once called Connectors). Create an app with the address and no authentication. Some versions ask you to turn on **Developer mode**, under **Advanced**, first.
- **Cursor, VS Code, Windsurf or OpenCode**: with the [10xvid CLI](/docs/cli) signed in, run `10xvid setup cursor` (or `vscode`, `windsurf`, `opencode`).
- **Any other AI**: `10xvid setup mcp` prints the address and the header to give it.
- **Claude Code**: run this line in a terminal.

```bash
claude mcp add --transport http 10xvid https://10xvid.com/mcp --header "Authorization: Bearer YOUR_API_KEY"
```

Apps rename their menus: if yours differs, look in its settings for connectors, apps, tools or MCP servers. Then check that 10xvid is turned on in your AI's tools before you ask. If the address leaks, delete the key on the API keys page and add 10xvid again with a new one.

## Ask your AI

Say what to post, where and when, in your own words:

> Post "Doors open at 9 on Saturday." on my X now.

> Schedule this on my X for tomorrow at 9:00: "Winter colour slots are open this week. Book on our website."

> Post my newest image ad on X on Friday at 18:00 with the words "Our winter menu is here."

> Post my newest video on my YouTube channel on Friday at 18:00, titled "Our winter menu". It is not made for kids.

> What is scheduled on my X this week?

> Move tomorrow's post to 10:30.

> Cancel the post about the winter menu.

Your AI finds the account, posts or schedules, and tells you where each post stands, with its link once it is out. When it writes the words itself, 10xvid asks it to show them to you before posting. Times are on your own clock: when your AI does not know your time zone, it asks.

## What a video is about

Every finished 10xvid video comes with one sentence on what it shows and a few tags: in the API and the MCP server's answers (`about`, `tags`), and inside the MP4 itself when you download it, as its title, description and keywords. Ask your AI to write the caption from them: it does not have to watch the video, and the words travel with the file to any other tool.

## What X takes

- Words alone, or one picture or one video, with words or without.
- At most 280 characters. A link counts as 23 characters however long it is, an address like 10xvid.com too. An account with an X subscription can post up to 25,000.
- One X account for each post: X does not allow the same post on two accounts, and refuses a post that repeats one just made.
- A video of up to 20 minutes.
- Any time up to 180 days ahead.

## What YouTube takes

- One video: a finished 10xvid video or one of your own. YouTube takes no pictures and no words alone.
- A title of up to 100 characters, and whether the video is made for kids. YouTube asks every uploader both, so your AI asks you rather than choosing.
- The words you send become the video's description, up to 5,000 bytes, with no `<` or `>`.
- Who can see it: public (the default), unlisted or private.
- A vertical or square video of up to 3 minutes goes up as a Short, a wide one as a video.
- Any time up to 180 days ahead.

## Your own videos and pictures

An AI that can run commands on your computer, such as Claude Code, Cursor or Codex, posts your own files through the [10xvid CLI](/docs/cli): it uploads each one and schedules it in one step. Put them in folders as you like and say, for example:

> Post the videos in my December folder on my YouTube channel, one a day at 18:00, each titled after what it shows. None is made for kids.

It runs `10xvid posts schedule ./December/01.mp4 --to youtube --at 2026-12-01T18:00 --title "..." --kids no` for each file, and `--to x --text "..."` for X. Videos are MP4, MOV or M4V; pictures JPG or PNG of up to 5 MB. An AI app in the browser, such as Claude or ChatGPT on the web, cannot reach files on your computer: upload those in the app, on **Posts**.

## From a terminal

With the [10xvid CLI](/docs/cli) installed and signed in:

```bash
10xvid posts accounts
10xvid posts schedule --to x --at 2026-12-01T09:00 --text "Doors open at 9 on Saturday."
10xvid posts schedule IMAGE_ID --to x --at now --text "Our winter menu is here."
10xvid posts schedule ./December/01.mp4 --to x --at 2026-12-01T18:00 --text "Our December menu."
10xvid posts schedule VIDEO_ID --to youtube --at 2026-12-01T18:00 --title "Our December menu" --kids no
10xvid posts list
10xvid posts change POST_ID --text "Doors open at 10 on Saturday."
10xvid posts cancel POST_ID
```

A time with no offset is read on your computer's clock.

## From your own code

```bash
curl https://10xvid.com/api/v1/posts \
  -H "Authorization: Bearer $TENX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"accounts": ["pa_3b7e91c04d2a6f58"], "at": "2026-12-01T09:00:00+02:00", "text": "Doors open at 9 on Saturday."}'
```

`GET /api/v1/posts/accounts` gives your accounts' ids. Add `image_id` to post an image ad with the words, or `video_id` for a video. On YouTube, send a video with `"options": {"youtube": {"title": "Our December menu", "kids": false}}`. See the [Posts API](/docs/api/reference/posts).

## What it costs

Posting uses credits, from your plan first and then your top up balance, as it does in the app. A post that fails is not charged. Starter posts up to 30 times a month on X and 30 on YouTube, Free 10 of each; Solo and up have no number.
