Post to Instagram from Codex.
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.
Every post waits on your calendar first.
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.
Post types on Instagram.
- Feed photoA single image with a caption
- Carousel2 to 10 photos and videos, mixed
- ReelOne MP4. A single video in a feed post also goes out as a Reel
- StoryPhoto or video. Several items go out as separate stories, in order
- Trial ReelShown to non-followers first
- Collaborator inviteUp to 3 on posts, carousels and Reels
- Follow-up commentsText comments under your own post, each with its own delay
- Text-only postInstagram needs a photo or video
Instagram limits.
| Caption length | 2,200 characters | DocsOfficial docs |
|---|---|---|
| Hashtags and mentions | 30 hashtags and 20 @mentions per caption, checked before scheduling | DocsOfficial docs |
| Carousel items | Up to 10, checked before scheduling; a single item goes out as a normal post | DocsOfficial docs |
| Image format | JPEG, converted for you | DocsOfficial docs |
| Image size and shape | Up to 8 MB, aspect ratio between 4:5 and 1.91:1 | DocsOfficial docs |
| Reel video | One MP4, 3 seconds to 15 minutes, up to 300 MB | DocsOfficial docs |
| Story video | 3 to 60 seconds, up to 100 MB | DocsOfficial docs |
| Posts per day | 100 API-published posts per account in any 24 hours | DocsOfficial docs |
From each network’s documentation and PostQueen’s own checks.
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 and a person answers.
More ways to post.
Codex on other networks
Other agents on Instagram
Hand your socials to Codex.
Get your time back. Every post still lands on your calendar first.