---
title: "Post to Instagram from Codex"
description: "Run codex mcp add once, then ask Codex for an Instagram Reel of your demo or a carousel of up to 20 screens, and PostQueen posts it at your chosen hour."
canonical_url: "https://postqueen.ai/codex/instagram"
markdown_url: "https://postqueen.ai/codex/instagram.md"
last_updated: "2026-10-20"
llms_txt: "https://postqueen.ai/llms.txt"
---

# Post to Instagram from Codex.

Codex + Instagram

Ask Codex for an Instagram carousel of your app’s screens, a Reel of your demo video or a launch Story, from the terminal or your editor. Codex writes the caption, and PostQueen publishes the post at the hour you pick, on the Business or Creator account you linked.

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-channel-hero) [How it works](https://postqueen.ai/codex/instagram#how)

Every post waits on your calendar first.

How it works

## Three steps, then just ask.

1

### Connect Instagram in PostQueen

Make sure Instagram lists the account as Business or Creator. In Add Channel, Instagram (Standalone) signs in directly; the Facebook Business option links through your Page.

2

### Add PostQueen to Codex

Copy your key from Connections > API key, which only workspace admins see, and run codex mcp add postqueen with the key address in your terminal.

3

### Ask for the carousel

Tell Codex the slides you want and the time. It can create the images with PostQueen, or use photos and videos you share as public links.

[The full Codex setup](https://postqueen.ai/codex#setup) [Everything about Instagram](https://postqueen.ai/channels/instagram)

What you can publish

## Post types on Instagram.

- Supported Feed photo A single image with a caption
- Supported Carousel 2 to 10 photos and videos, mixed
- Supported Reel One MP4. A single video in a feed post also goes out as a Reel
- Supported Story Photo or video. Several items go out as separate stories, in order
- Supported Trial Reel Shown to non-followers first
- Supported Collaborator invite Up to 3 on posts, carousels and Reels
- Supported Follow-up comments Text comments under your own post, each with its own delay
- Not supported Text-only post Instagram needs a photo or video

Limits at a glance

## Instagram limits.

|  |  |  |
| --- | --- | --- |
| Caption length | 2,200 characters | [Official docs](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media) |
| Hashtags and mentions | 30 hashtags and 20 @mentions per caption, checked before scheduling | [Official docs](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media) |
| Carousel items | Up to 10, checked before scheduling; a single item goes out as a normal post | [Official docs](https://developers.facebook.com/docs/instagram-platform/content-publishing) |
| Image format | JPEG, converted for you | [Official docs](https://developers.facebook.com/docs/instagram-platform/content-publishing) |
| Image size and shape | Up to 8 MB, aspect ratio between 4:5 and 1.91:1 | [Official docs](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media) |
| Reel video | One MP4, 3 seconds to 15 minutes, up to 300 MB | [Official docs](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media) |
| Story video | 3 to 60 seconds, up to 100 MB | [Official docs](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media) |
| Posts per day | 100 API-published posts per account in any 24 hours | [Official docs](https://developers.facebook.com/docs/instagram-platform/content-publishing) |

From each network’s documentation and PostQueen’s own checks.

What to ask

## Ask Codex for the post.

- Make a 6-slide Instagram carousel about our app’s offline mode and schedule it for Thursday at 6pm.
- Post the demo video at this link as a trial Reel on Monday at noon, so people who don’t follow us see it first.
- Post the launch screenshot at this link on Friday at 9am, invite our co-founder as a collaborator and comment the App Store link an hour later.

### Good to know

- Codex can read Instagram’s caption rules from PostQueen as it writes, a 2,200-character cap with at most 30 hashtags and 20 @mentions, and they are checked again before scheduling.
- For a Reel, give Codex a link to a single MP4 that runs from 3 seconds to 15 minutes, 300 MB at most; Story clips last 3 to 60 seconds.
- PNG and WebP screenshots are converted to JPEG for Instagram, and an animated GIF goes out as a still frame.
- Up to 3 public accounts can join a post, carousel or Reel as collaborators, handy when you launch alongside a partner.

## Codex and Instagram, answered.

Anything else? Write to [support@postqueen.ai](mailto:support@postqueen.ai) and a person answers.

### Can Codex post Instagram carousels, Reels and Stories?

Yes. Ask for a carousel of 2 to 10 photos and videos, a Reel built on one MP4, or a Story, and say which type you want. Trial Reels for non-followers work too.

### How do my app screenshots get from Codex to Instagram?

Give Codex a public link to each file and PostQueen pulls it into your media library. With the PostQueen CLI installed, Codex can also run postqueen upload on a file in your repo, after you approve the network call.

### Which ChatGPT plans include Codex?

Every ChatGPT plan does, and weekly limits may apply. Plus, Pro, Business, Enterprise and Edu have it, while Free and Go get it in the desktop app as it rolls out. Every PostQueen plan includes the MCP server.

### Do I need a Facebook Page to post to Instagram from Codex?

No. Instagram (Standalone) signs in with Instagram directly. Music on Reels needs the Facebook Page connection, and either way the account must be Business or Creator.

Keep going

## More ways to post.

### Codex on other networks

- [TikTok Post from Codex](https://postqueen.ai/codex/tiktok)
- [LinkedIn Post from Codex](https://postqueen.ai/codex/linkedin)
- [X Post from Codex](https://postqueen.ai/codex/x)
- [Facebook Post from Codex](https://postqueen.ai/codex/facebook)
- [YouTube Post from Codex](https://postqueen.ai/codex/youtube)
- [Threads Post from Codex](https://postqueen.ai/codex/threads)
- [Pinterest Post from Codex](https://postqueen.ai/codex/pinterest)

### Other agents on Instagram

- [ChatGPT Post to Instagram](https://postqueen.ai/chatgpt/instagram)
- [Claude Post to Instagram](https://postqueen.ai/claude/instagram)
- [Claude Code Post to Instagram](https://postqueen.ai/claude-code/instagram)
- [OpenClaw Post to Instagram](https://postqueen.ai/openclaw/instagram)

### Hand your socials to Codex.

Get your time back. Every post still lands on your calendar first.

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-channel-band) $0 due today. Cancel in one click.
