Post Engineer

v1.54.276
io.github.Ryan-Carloso/post-engineer Checked 2 hours ago Published 9 hours ago

Create AI personas and schedule posts to YouTube, Instagram and more.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

prompts

List the available prompts (slug, title, description, source): your own and other users' public ones. Call this BEFORE writing copy when the user's request describes a topic rather than ready text. Then call prompts (action: get) with the matching slug to load the full workflow for that prompt. Return the full prompt for one slug from prompts (action: list): one of yours or a public community prompt. Load only the prompt the agent will follow, and pass its versionId as promptVersionId on publish_video (action: publish_existing, mode scheduled). Unknown slugs fail with the list of valid slugs â…

ParameterTypeDescription
action *stringWhat to do: list | get | create | update | delete | versions | restore. The description lists the fields each action needs.
beforeintegerList versions older than this one. Pass the nextCursor of the previous page.
descriptionstringWhat the prompt is for.
expectedCurrentVersionintegerThe currentVersion you saw in versions. The restore is refused when the prompt changed since.
limitintegerHow many versions to list (default 20, max 50).
promptstringThe prompt text.
querystringWords to find in slug, title or description.
slugstringPrompt slug: lowercase letters, digits, hyphens.
sourcestringOnly own or community prompts.
titlestringA short title.
versionintegerVersion number: versions reads this version in full, restore makes it the current text. Leave it out to list the versions, newest first, with a short preview each.
visibilitystring"private" (default): only this account. "public": anyone can read it.

personas

Manage your personas (a named group of publishing accounts with an optional photo and identity card). list: names and ids. get: one persona with its bound publishing accounts. create: at least one publishing account (accounts) is REQUIRED; an optional avatarPath (a local photo shown on the persona card, uploaded directly). update: only the given fields change (identityCard sets or, with null, removes the identity card; see persona_media get_card and render_prompt). delete: preview first, then confirm with the token. To rebind the accounts a persona publishes to, use accounts (action: set_perso…

ParameterTypeDescription
action *stringWhat to do: list | get | create | update | delete. The description lists the fields each action needs.
accountsobjectPublishing accounts this persona is bound to, per provider, e.g. { youtube: ["UC..."], bluesky: ["did:plc:..."] }. At least one account is required. Account IDs come from accounts (action: list) (chan…
aiLabelbooleanMark this persona's videos as AI-generated when publishing (YouTube, Instagram, Threads, Facebook, Pinterest).
avatarPathstringLocal file path to the persona photo shown on the persona card (JPG/JPEG, PNG, or WebP, max 10MB), uploaded directly. Optional.
confirmTokenstringOmit it first: the call only previews what would be removed and returns a token. Send that token to delete.
identityCardThe identity card to store. null stores none (the same as leaving it out).
namestringName of the persona
personastringThe persona, by name or id (personas list shows both).

persona_media

A persona's identity card. get_card: the persona's identity card (set with personas update identityCard), or null. render_prompt: renders a deterministic image-edit prompt from the card plus a scene (style, outfit, pose, setting, lighting, framing) and returns { prompt, suggestedDescription }; it is advice for YOUR image tool, nothing is generated or stored. The card describes a real person's physical traits: nude or sexualised clothing is rejected, and the server cannot police what your image tool makes. A persona's photo is set with personas (action: create or update); its identity card live…

ParameterTypeDescription
action *stringWhat to do: get_card | render_prompt. The description lists the fields each action needs.
personastringThe persona, by name or id (personas list shows both).
sceneobjectOnly what changes per photo: style, outfit slots, pose, setting, lighting, framing, aspect. Send style alone to change the clothing and name outfit slots only for a garment the user asked for; never w…

accounts

Connected social accounts. list: every account with the ids and names to publish with. connect: an OAuth link to open, or a direct connect with the credential fields below. disconnect: removes an account. get_persona_publishing / set_persona_publishing: the accounts a persona publishes to by default (set replaces them all). list_boards: the boards of a Pinterest account. Actions and their required fields: list (no required fields); connect (provider); disconnect (account); get_persona_publishing (persona); set_persona_publishing (persona, accounts); list_boards (account).

ParameterTypeDescription
action *stringWhat to do: list | connect | disconnect | get_persona_publishing | set_persona_publishing | list_boards. The description lists the fields each action needs.
accessTokenstringrumble only: the upload access token (from bd@rumble.com). Never logged.
accountstringThe account to disconnect, by name or id (accounts list shows both).
accountsobjectPublishing accounts the persona is bound to, per provider, e.g. { youtube: ["UC..."], bluesky: ["did:plc:..."] }. Replaces the whole set: providers mapped to [] (or omitted) keep no binding for that p…
appPasswordstringbluesky only: an app password (Settings > App passwords). Never logged.
botTokenstringtelegram only: the @BotFather bot token. Never logged.
channelIdstringrumble only: the channel ID.
chatIdstringtelegram only: @username or numeric chat ID.
chatTypestringtelegram only: channel or group.
handlestringbluesky only: the handle (e.g. user.bsky.social).
personastringThe persona, by name or id (personas list shows both).
postingKeystring3speak only: the Hive posting key (never the owner/active/master key). Never logged.
providerstringOnly the accounts of this network.
usernamestring3speak only: the Hive username.

tool_config

Saved research and stock tool configuration. get: which search tool (Tavily/Exa/own) and licensed stock sources (Pexels/Pixabay/Coverr) are saved for this account, each key as present + last 4 characters only — keys are never returned in full. save: replaces the whole saved configuration (search tool, stock sources, API keys); a key left out is forgotten, so send every key the user still has for the selected search tool and stock sources. Ask once at setup, save here, and check get before asking again. Actions and their required fields: get (no required fields); save (searchTool, stockSource…

ParameterTypeDescription
action *stringWhat to do: get | save. The description lists the fields each action needs.
keysobjectAPI keys for the configured tools, one per configured tool or source. Replaces the whole saved set: a key left out here is forgotten, so send every key the user still has for the selected search tool…
searchToolThe configured search tool, or null when none is configured.
stockSourcesarrayThe licensed stock sources the user has keys for, in preference order.

schedules

Your scheduled posts (future slots). list: the schedules. get_slot / update_slot_title / delete_slot: one slot of a schedule. retry_slot: publishes a failed or partly failed post again to the accounts that failed (its media is kept 7 days). cancel: cancels a whole schedule: unpublished slots are removed; a post already publishing or published is not recalled. To read a post's status, links or publish results, use posts; to cancel, retitle or delete a slot, use schedules. Actions and their required fields: list (no required fields); cancel (scheduleId); get_slot (slotId); update_slot_title (slo…

ParameterTypeDescription
action *stringWhat to do: list | cancel | get_slot | update_slot_title | delete_slot | retry_slot. The description lists the fields each action needs.
firstCommentstringThe new first comment of a ready slot, posted on the post right after it publishes. An empty string removes it. Pass title, firstComment or both.
scheduleIdstringThe ID of the schedule to cancel. Unpublished slots (ready) are removed. A post already publishing or published is not recalled.
slotIdstringThe slot ID (the slotId field from posts (action: list) or publish_video (action: publish_existing)).
titlestringThe new title text for the slot. Only a slot that is still ready (not yet publishing) can be edited; published or mid-flight slots are rejected.

posts

Your published and scheduled posts. list: the recent posts with their status and links. get: one post by slot id, with its publish results. To read a post's status, links or publish results, use posts; to cancel, retitle or delete a slot, use schedules. Actions and their required fields: list (no required fields); get (id).

ParameterTypeDescription
action *stringWhat to do: list | get. The description lists the fields each action needs.
fromstringRange mode (with to): start of the window, inclusive. Returns every post of any status with slot_at in [from, to) as a single slots list, plus truncated=true when the cap was hit. At most 62 days.
idstringThe slot id of the post (slotId from posts (action: list), or a slot id from publish_video (action: publish_existing)).
limitintegerMax number of upcoming and past posts to return (each list). Default 20, max 500. Ignored when from/to are given.
tostringRange mode (with from): end of the window, exclusive.

insights

How your posts performed. post_metrics: per-network metrics of published posts (views, likes, comments, average view duration, published date), filterable by persona, network, account and window. last_day: the views and engagement each video gained in the last 24 hours (the difference between two daily readings, not a lifetime total), with totals, filterable by persona, network and account; a video published less than 24 hours ago counts everything since publishing, a video with no reading from about a day earlier lands in skipped.noBaseline, and a counter that went backwards counts as 0 (coun…

ParameterTypeDescription
action *stringWhat to do: post_metrics | last_day | retention_curve. The description lists the fields each action needs.
accountstringOptional publishing account id filter (the account ids from accounts (action: list)).
personastringOptional persona id filter (uuid from personas (action: list)), or ^@none for posts with no persona.
providerstringOptional network filter.
videostringThe YouTube video id: externalId from a youtube insights (action: post_metrics) row.
windowstringSnapshot window: 24h (first day after publishing), 7d (first week) or 28d (four weeks; YouTube Analytics values are final).

scripts

Video scripts: a prompt writes a script, the user approves it, an agent turns an approved script into a video. Writer: create saves a draft for one persona with its title, hook, body, scene (the outfit and setting) and sources; the server opens every source and refuses the script when an excerpt is not on its page, so never invent a fact or a source. Reviewer: list and get show scripts with their sources; review rejects one with a note, and approves only with an API key in yolo mode (otherwise the user approves on the site). Video maker: next takes the oldest approved script (optionally of one…

ParameterTypeDescription
action *stringWhat to do: create | list | get | review | next | release. The description lists the fields each action needs.
bodystringThe whole script: scenes, narration and on-screen text, at most 20000 characters.
decisionstringapprove: the script can be produced (only an API key in yolo mode may approve; otherwise the user approves on the site). reject: it goes back to the writer with the note.
hookstringThe opening line that stops the scroll, at most 300 characters.
idstringThe script id (from scripts list, create or next).
notestringOptional reason, at most 1000 characters.
personastringThe persona, by name or id (personas list shows both).
promptVersionIdstringThe versionId of the prompt you followed to write this script (prompts get returns it). Lets the user compare prompts.
sceneobjectHow the persona appears in the video: outfit slots (top, bottom, one_piece, outerwear, footwear, accessories), style, pose, setting, lighting, framing. Same shape as persona_media render_prompt. Never…
sourcesarray1-10 sources the script is built on. Every fact, number or quote in the script comes from one of them; never invent one. The user checks them before approving.
statusstringOnly scripts in this status.
titlestringShort name of the video, at most 120 characters.

experiments

Experiments compare prompts. Every post scheduled with a promptVersionId (the versionId that prompts (action: get) returns) records that prompt version. results: per publishing account (never across accounts), each prompt version with its post count, median views, lift (views divided by the median of the account's other posts; above 1 beats the account) and a sign-test label: insufficient (fewer than 5 posts), no_signal, indicative or clear. Posts made without a prompt form the "no prompt" group. The clear and indicative thresholds are corrected for the number of prompts compared: they are div…

ParameterTypeDescription
action *stringWhat to do: results. The description lists the fields each action needs.
windowstringMetrics window to compare: 24h, 7d (default) or 28d.

publish_video

Publish media you made elsewhere. from_file: a local video (.mp4 or .mov) is published now. create_upload → complete_upload → publish_upload: a signed upload, video or JPEG/PNG (PUT straight to storage, never via this server; expires in 15 min), published now; publishing consumes it. publish_existing: a completed upload (uploadId) or a local image (imagePath), to every network of its accounts in one call (images: instagram/bluesky/linkedin/threads/facebook/pinterest/telegram only; YouTube and the other networks take video), with mode asap (now) or scheduled (once, at publishAt; scheduled p…

ParameterTypeDescription
action *stringWhat to do: from_file | create_upload | complete_upload | publish_upload | publish_existing. The description lists the fields each action needs.
accountIdsarrayTarget accounts: the IDs from accounts (action: list) (channel IDs for YouTube, IG user IDs for Instagram, DIDs for Bluesky, member IDs or org URNs for LinkedIn, user IDs for Threads, Page IDs for Fac…
accountsarrayAccounts to publish to, each an account name or id from accounts (action: list); the network is read from the account, so one call can reach several networks. Omit to use the persona's bound publishin…
boardIdstringPinterest only: the board to publish the pin to (the id from accounts (action: list_boards)). Required for pinterest.
captionstringInstagram/Bluesky/LinkedIn/Threads/Facebook/3Speak: required caption. Pinterest: used as the pin description when description is omitted.
contentTypestringThe real type: video/mp4 (.mp4), video/quicktime (.mov), image/jpeg or image/png. The server verifies the bytes at completion.
descriptionstringYouTube/Rumble/Fanvue: required video description. Pinterest: pin description (optional; caption is used when omitted).
firstCommentstringOptional: a comment the publisher posts on the new post right after it goes live, up to 1000 characters. Posted on youtube, instagram, bluesky, linkedin, threads, facebook, telegram; the other network…
idempotencyKeystringIdempotency key: if the call times out or fails ambiguously, retry with the SAME key — the server returns the original publish result instead of posting the video again. Omitted: a key is generated…
imagePathstringmediaKind image: local path of the JPEG or PNG (max 8 MB).
mediaKindstringupload = a completed signed upload, video or image (uploadId); image = a local JPEG/PNG (imagePath).
modestringRequired. 'asap' publishes now; 'scheduled' publishes once at publishAt.
personastringThe persona, by name or id (personas list shows both).
privacyStatusstringYouTube only: required privacy status.
promptVersionIdstringmode scheduled only: the versionId of the prompt the post was written from (prompts (action: get)), so experiments (action: results) can compare prompts.
providerstringThe social platform to publish the video to.
publishAtstringmode scheduled: when to publish, 3h-30d ahead. Wall-clock in timezone (e.g. "2026-12-01T20:00:00"), or with an offset.
sizeBytesintegerExact size in bytes (max 2GB video, 8 MB image).
tagsarrayYouTube only: required list of tags.
timezonestringIANA timezone for a publishAt without an offset. Defaults to UTC.
titlestringYouTube/Rumble/Fanvue: required video title. Pinterest: pin title (optional).
uploadIdstringThe uploadId returned by publish_video (action: create_upload), after the bytes were PUT to its signedUrl.
videoPathstringLocal path to the video file (.mp4 or .mov, max 2GB). The video is published as-is: no generation, no schedule.