A/B test reels with trial reels
create_ab_testPublishes 2-4 trial reel variants to comparable non-follower audiences, compares chosen metrics after a set period, and reports a winner or inconclusive result.
Instructions
Publishes 2-4 versions of a reel (different hook, cut, caption or cover) as trial reels at the same time. Instagram shows trial reels to non-followers first, so each version gets a comparable audience without spamming followers. After decide_after_hours (default 48, 12-168) the background service compares them on the chosen metric with a significance test and reports a winner or "inconclusive". Meta's API cannot graduate trial reels: you share the winner to followers in the Instagram app; with share_winner: "republish" this server instead republishes the winning version as a normal reel. Versions should differ in one thing. Each version counts toward the publishing limit. Asks the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | views or reach (Poisson test), shares / saves / engagement_rate (per reach, two-proportion test), avg_watch_time (directional only). | views |
| account | No | Which connected account: @username or Instagram user ID. Omit to use the default account. | |
| template | No | Caption template applied to every version. | |
| variants | Yes | ||
| graduation | No | MANUAL: you decide in the app. SS_PERFORMANCE: Instagram may share a well-performing version to followers by itself. | MANUAL |
| hypothesis | No | ||
| publish_at | No | ISO 8601 date-time with timezone to publish all versions, 10 minutes to 75 days ahead (default now). | |
| share_winner | No | republish: post a clear winner again as a normal reel automatically. | in_app |
| stagger_minutes | No | ||
| confirmation_token | No | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. | |
| decide_after_hours | No |