Post what you make with the Gemini API CLI
Make an image on your own computer with Google's gemini-api CLI, then upload it to Post Array and schedule it from the same terminal.
Post Array never makes images or video. You make them with the Gemini API CLI on your own account, and Post Array only takes the finished file and posts it for you.
Before you start
Step 1 Install Google's gemini-api CLI and sign in, following its own guide. Google marks it experimental, so check its guide if a flag has changed.
Step 2 Sign in to the Post Array CLI. This opens your browser.
postarray auth login
Step by step
Step 1 Make the image and save it to a file. Look at it before you go on. Nothing has been posted.
gemini-api image "A calm flat lay of a coffee cup and a notebook, soft morning light" --out ./launch.pngStep 2 Upload the file to Post Array and keep the media id it gives back. New files are checked for safety first, which takes a moment.
postarray media upload ./launch.png --project-id <project-id> --idempotency-key launch-image-1 --jsonStep 3 Write the post in a file: the media id, your accounts, and when it goes out, with your time zone. The AI label is on, because the image was made with AI.
{ "version": 1, "projectId": "<project-id>", "body": "Our new notebook is here. Made for slow mornings.", "mediaIds": ["<media-id>"], "targets": [{ "connectionId": "<connection-id>" }], "schedule": { "instant": "2026-11-02T09:00:00.000Z", "ianaTimeZone": "Europe/London" }, "disclosure": { "aiAssisted": true, "commercialContent": false, "brandedContent": false } }Step 4 Check it, then schedule it. Pace warnings never block, but read them first.
postarray posts validate launch.json postarray posts schedule launch.json --idempotency-key launch-post-1Step 5 See how it went. Once it is live, each account shows a View post link.
postarray posts list --status published
Say when it was made with AI
Some platforms ask you to label images and video made with AI. Turn on the AI label in Post Array when you post them, and platforms that ask for one will show it.
Questions
Does Post Array charge for the Gemini API CLI?
No. Post Array never calls the Gemini API CLI for you and never bills for it. Anything you make there is between you and the Gemini API CLI.
Can Post Array make the image for me?
No, and that is on purpose. Post Array posts your own media. It can trim, crop and resize what you upload, but it never makes new images or video.
Found something wrong on this page
Contact channels will be published here before general availability. No legal or support inbox is operating during this preview.