
112 X accounts posted 5,450 image posts in 30 days, and AI agents and scripts sent every one of them through OpenTweet's API. That's the count of published API posts with an image attached, from November 4 to December 4, 2026, across 63 OpenTweet users, from the production database. The largest single user is left out so one account doesn't skew the numbers. Images made up a third of everything these users' agents published. This playbook shows how to auto post images to Twitter with AI the same way, with the prompts and the setup.
How do you auto post images to Twitter with AI?
Have an AI agent pair each post with an image it already has, such as a chart, a product photo or an article's cover image, plus a caption of one or two sentences. OpenTweet, an X posting API and MCP server, takes the image as a public URL, uploads it to X and publishes at the scheduled time.
Who it's for: people running bots, news or data accounts, or several X accounts from an AI agent or a script.
What did 112 accounts actually post?
These figures come from published OpenTweet posts created through the API (REST or MCP) with at least one image and no video attached. The window is the 30 days from November 4 to December 4, 2026. Accounts are counted per connected X account, and the largest single user is left out.
| What we measured (as of December 2026) | Result |
|---|---|
| Image posts published | 5,450 |
| X accounts / OpenTweet users | 112 / 63 |
| Share of these users' API posts that had an image | 33% (5,450 of 16,291) |
| Accounts with 100+ image posts in 30 days | 16 (busiest: 551) |
| Accounts with 30+ image posts | 29 |
| Posts with exactly one image | 91% (4,972) |
| Posts with no link in the text | 60% (3,269) |
| Image posts that were threads | 20% (1,107) |
| Images made with OpenTweet's AI image tool | 81 (1.5%) |
Three patterns stand out:
- One image per post. Nine in ten posts carry a single image. These accounts treat the image as the content, a chart or a product shot, not as decoration.
- The image replaces the link. Most posts give the information in the image and the caption, so the reader doesn't need to click. That also keeps them out of X's link price, as the next section explains.
- Agents attach images, they don't paint them. Only 1.5% used AI-generated art. Real images, like a stat table, a product photo or an article's cover image, are what these accounts post at volume.
Step 1: Decide where the images come from
Pick the source before you write a prompt. An agent can post images at volume only when it has a reliable supply. These sources work:
- Charts and stat cards your code renders. Examples are a daily leaderboard, a price chart or a weekly summary table. Save them as PNG to a public URL, such as a storage bucket or your own site.
- Cover images from an RSS feed. Most news and blog feeds carry a featured image per item.
- Product or listing photos. These cover restock alerts, deals and new listings. Use the image URL from the store or your catalog.
- Generated images, for a few posts only. Use them for an illustration where no real image exists.
Check each image against X's limits before you automate. As of December 2026, X's media docs list 5 MB for an image and 15 MB for an animated GIF, in JPG, PNG, GIF or WEBP.
Step 2: Write the caption prompt
The caption has one job: tell the reader what the image shows and why it matters today. Give your agent a fixed format so every post looks the same:
You write captions for image posts on my X account about [topic].
For each item you get: an image URL and the data behind it (title, numbers, date, source).
Write one caption per item:
- 1 or 2 sentences, under 240 characters.
- Lead with the single most interesting number or change shown in the image.
- Name the subject in the first 5 words.
- If the data came from a third party, credit it in parentheses at the end, e.g. "(source: ESPN)".
- No hashtags, no emoji, no "check this out", no link.
- If the image shows nothing new compared to yesterday, return SKIP.
Return JSON: [{"image_url": "...", "caption": "..."}]
The SKIP rule matters. An account that posts the same chart with the same number every day gets no new readers. X's automation rules also prohibit posting duplicate content.
Step 3: Should the post carry a link?
Leave the link out unless the click is the point. The X API charges by request, and a URL in the text raises the price about 13 times:
| X API price per request, as of December 2026 | Cost | 100 posts |
|---|---|---|
| Post: Create | $0.015 | $1.50 |
| Post: Create (with URL) | $0.200 | $20.00 |
Source: X API pricing. The pricing page has no separate line for media uploads.
On OpenTweet you don't pay X yourself: plans include the X costs. Links come out of a smaller allowance. Pro includes 150 posts a month, and links on Pro use link credits. Advanced includes 300 a month, of which 60 can carry links. Agency includes 900, of which 120 can carry links. An image account that skips links can use its whole monthly allowance on posts. The trial also posts text and images, so you can run this whole playbook before you pay.
Step 4: Connect OpenTweet to your agent
Connect your agent in one click at opentweet.io/developer#connect-agent. Claude, ChatGPT, Grok and Cursor are listed. Or add the hosted MCP server from the terminal for Claude Code:
claude mcp add --transport http opentweet https://mcp.opentweet.io/mcp --scope user
The tools this playbook uses:
| Tool | What it does |
|---|---|
opentweet_create_tweet |
Creates a post with text, media_urls, scheduled_date and, for several accounts, x_account_id |
opentweet_generate_image |
Makes an image from a prompt with Grok Imagine and returns a URL for media_urls |
opentweet_upload_media |
Uploads a local JPG, PNG, WebP, GIF, MP4 or MOV file (local MCP only; the hosted server takes URLs) |
opentweet_list_accounts |
Lists your connected X accounts and their IDs |
On the hosted server, pass images as public URLs in media_urls. OpenTweet fetches each image and uploads it to X when the post publishes. Developers calling the REST API can upload a file to POST /api/v1/upload first. The X media upload guide shows what OpenTweet does for you there.
Step 5: Schedule a week of image posts with one prompt
Once the agent is connected, give it this prompt to fill the queue:
Use the OpenTweet tools.
1. Call opentweet_list_accounts and use the account [@handle].
2. Here are this week's images and the data behind each one: [paste URLs + data, or "read them from <folder/feed>"].
3. Write a caption for each with my caption rules (1-2 sentences, under 240 characters, lead with the number, no hashtags, no link, SKIP if nothing new).
4. For each item that isn't SKIP, call opentweet_create_tweet with:
- text: the caption
- media_urls: [the image URL]
- scheduled_date: spread across the next 7 days, 2 posts a day at 13:00 and 17:00 UTC
5. List what you scheduled: time, caption, image URL.
For an account that posts from a feed, skip the agent and use a connector. In OpenTweet, create an RSS connector and leave "Featured image" on. It is on by default and attaches the article's cover image. Turn "Link to the article" off if you want link-free image posts. Connectors can create 10, 50 or 150 posts a day on Pro, Advanced and Agency.
To make the agent run every day instead of weekly, schedule the prompt in your agent's own scheduler, such as a Claude scheduled task or a cron job that calls the API. Have it create only the next day's posts.
What results should you expect?
Expect a steady posting schedule, not a jump in growth. The 16 busiest accounts in the sample posted 100 or more image posts each in 30 days, about 3 a day, with no one posting by hand. The typical account posted far fewer: the median was 7 image posts in the month. Many accounts mix images into a mostly text feed.
The data here measures how much these accounts posted, not how the posts performed, so it can't promise views or followers. What it does show is that an agent can run an image account without a person attaching files. A whole month of image posts can stay inside a plan's post allowance if the links stay out. To see what performs on your account, ask the agent to call opentweet_get_top_posts after two weeks. Keep the image types that win.
For a text-only version of this system, see how news accounts turn articles into tweets with AI.
Run this playbook: 7 days for $0, card required. See plans and limits.
Start Scheduling Your X Posts Today
Join hundreds of creators using OpenTweet to stay consistent, save time, and grow their audience.