---
name: vidfarm
skill_version: 0.27.0
description: Run a founder's VidFarm account for them. VidFarm (vidfarm.cc) makes short videos for their product with AI and posts them to TikTok, Instagram and YouTube. Use when the human asks you to check their credits, pick or make videos, remix a trend, update their brand, find a video in their Library, connect a channel, schedule a post, or change Post for me.
---

# VidFarm: run it for your human

You act for ONE VidFarm account, with that person's API key. Every action on this page is a real call that works today. If a task is not on this page, send the human to the app (`BASE/home`). Do not guess other routes.

## 1. Connect

- **BASE** is the origin you read this file from, normally `https://vidfarm.cc`.
- **The key.** The human copies it in the app: left menu → **Use with your AI**, or **Settings → Developer**. It starts with `vf_`. If you do not have it, ask for it. This is the only sign-in an agent needs: do not ask for an email code.
- Send the key on every call as the header `vidfarm-api-key: <key>`. Not `Authorization: Bearer`. Never repeat the whole key in chat, and never write it into a file the human did not ask for.
- Check it once: `GET /api/v1/user/me` gives `customer.email`. Tell the human which account you use.

Every action below shows two ways to run it. Use the one you have:

- **REST** (nothing to install): `curl -s -H "vidfarm-api-key: $VIDFARM_API_KEY" "$BASE/me/credits"`. For a JSON body add `-H "content-type: application/json" -d '{...}'`.
- **CLI** (optional, Node 22 or newer): `npm i -g @vidfarm/cli`, then `vidfarm login --api-key <key>`. Every command takes `--json`.

## 2. When a call says no

| Answer | It means | You do |
|---|---|---|
| 401 | The key is wrong or was removed. | Ask the human for the key again (**Use with your AI**). |
| 402 with `code: "plan_required"` or `type: "upgrade_required"` | This account has no plan. | Stop. Tell the human: "Start a plan at BASE/subscribe ($36/mo) and I can do this." Do not try again. |
| 402 with `code: "insufficient_credits"` | Not enough credits. The answer has `needed` and `available`. | Stop. Tell the human both numbers and send them to `BASE/settings/credits`. Credit packs are only for accounts on a plan. |
| 403 | No key on the call, or a key for another account. | Check the header. |
| 409 with `needs_business: true` | VidFarm does not know the product yet. | Ask the human to finish `BASE/onboarding`. |
| 429 | Too many calls, or a daily limit. | Wait. Do not loop. |
| 503 | A service is busy. Nothing was charged. | Try once more a few minutes later. |

## 3. Rules

1. **Spend only what the human asked for.** Find the price in §4 before a paid call. If the human did not ask for that exact thing, ask first. Never repeat a paid call on your own.
2. **Confirm before anything goes public.** Before you schedule a post, connect a channel or turn on Post for me, say what, where and when, and wait for a yes. Pass the CLI's `--yes` only after that yes.
3. **Report what you did:** each action, the ids and links you got, and the credits spent (balance before and after).
4. **Show, then decide.** Before you keep a video for the human, show them its `output_url`, unless they told you to choose.

## 4. What things cost

| Action | `action` id | Credits |
|---|---|---|
| Keep a Pick video | `deck_keep` | 3 |
| Remix a trend | `remix` | 3 |
| Remix a slideshow trend | `remix_slideshow` | 3 |
| Remix a trend with your AI influencer | `remix_influencer` | 12 |
| Reaction video (Inspiration: split, picture-in-picture, green screen, or reaction then demo) | `reaction` | 3 |
| Hook + demo video (Inspiration) | `hook_then_demo` | 4 |
| Talking-head video | `talking_head` | 1 per second of video (at least 5) |
| Product-in-hand video | `product_in_hand` | 1.5 per second of video (at least 8) |
| Put your influencer into a trend clip | `genjutsu` | 6 per second of video (at least 6) |
| Create an AI influencer | `influencer_creation` | 30 |
| Add your AI influencer to a video (on top) | `influencer_surcharge` | 9 |
| AI Studio image | `ai_studio_image` | 2 |
| AI Studio video | `ai_studio_video` | 3 per second of video (at least 3) |
| AI picture on VidFarm credits (generate, edit, inpaint or overlay) | `platform_image` | 2 to 5 by model and size (Nano Banana 2 at 2K: 3); no AI key needed |
| AI video clip on VidFarm credits (Seedance 2.5) | `platform_video` | 24 for 5 seconds at 720p (4.8 per second, held; the clip keeps what it cost); no AI key needed |
| Music track | `music_track` | 2 |
| Voiceover | `voiceover` | 1 per started 30 seconds (at least 1) |
| Render in the editor | `editor_render` | 1 per started 10 seconds (at least 1) |
| AI Editor image or video | `ai_editor_generation` | depends on the model and settings (shown on the Generate button) |
| Make a video from a competitor insight | `competitor_ad_video` | 6 |
| Product ad video from a product photo | `product_ad_video` | 3.5 per second of video (at least 20) |
| Video from a first and a last picture | `first_last_frame` | 5.5 per second of video (at least 25) |
| Upscale a video to 1080p | `video_upscale` | 1.25 per second of video (at least 5) |
| Upscale a video to 2k | `video_upscale_2k` | 2.25 per second of video (at least 8) |
| Put your product into a scene, as a video | `product_placement` | 24 |
| Extend a video by 5 seconds | `video_extend` | 32 |
| Image set: 4 pictures from one (photoshoot, camera angles, brand mockups or art styles) | `image_set` | 8 |
| 2 covers or thumbnails with your title | `thumbnail` | 5 |
| Remix an ad picture with your product | `ad_remix` | 4 |
| Reframe a picture to another shape | `image_reframe` | 4 |
| Relight a picture | `relight_image` | 2 |
| 2 professional headshots from a selfie | `pro_headshot` | 8 |
| Virtual try-on: 4 fashion photos | `virtual_try_on` | 16 |
| Character sheet: 2 turnarounds and 2 scenes | `character_sheet` | 16 |
| Viral effect video from a picture (5 seconds) | `viral_effect` | 25 |
| Logo animation (5 seconds) | `logo_animation` | 33 |
| Video through 3 keyframes (10 seconds) | `keyframe_video` | 49 |
| Storyboard to video from an idea | `storyboard_video` | 5.5 per second of video (at least 30) |
| Lip-dub your video with a new script in your voice | `video_lipdub` | 5 |
| Voiceover in your cloned voice on one of your videos | `voice_clone_voiceover` | 3 |
| Reframe a video to 9:16, 1:1 or 4:5 (edges generated) | `video_reframe` | 2 per second of video (at least 10) |
| Talking photo from a portrait and a script (up to 30 seconds) | `talking_photo` | 13 |
| Edit a video: swap in your product, change an outfit, restyle, remove an object, change the background | `video_edit` | 6 per second of video (at least 30) |
| 4 images in your brand's style | `brand_style_images` | 8 |
| AI transition joining two clips | `shot_transition` | 25 |
| Seamless loop of a clip | `seamless_loop` | 21 |
| Music visualizer from a picture (10 seconds) | `audio_reactive_video` | 21 |
| Face swap on a photo (2 versions) | `face_swap` | 8 |
| Clean audio: voice only, or everything but the voice | `clean_audio` | 2 |
| Text match cut from a sentence (2-8 words) | `text_match_cut` | 12 |
| Remove burned-in captions and watermarks | `video_text_remove` | 1 per started 4 seconds (at least 2) |
| Photo slideshow: 3-8 captioned slides plus a video with music | `photo_slideshow` | 12 |

Reading is free. Skipping a video is free. Filling the Pick deck is free: a deck video costs credits only when it is kept. Plans start at $36/mo and add credits every month. To price one action: `POST /me/credits/quote` with `{"action":"talking_head","outputSeconds":20}` gives `credits`.

## 5. Actions

### Credits

- **Balance** (free). CLI `vidfarm credits` · REST `GET /me/credits` gives `balance.total` (`granted` by the plan plus `purchased`), `monthly_credits`, and `prices` (flat prices only; quote the per-second ones). `low: true` means tell the human the balance is low. `enabled: false` with `plan_required: true` means no plan yet.

### Pick videos

VidFarm makes short videos for the product. The human keeps the good ones (they go to the Library) and skips the rest.

- **See the deck** (free). CLI `vidfarm videos list` · REST `GET /videos/api/deck` gives `cards[]`: `id`, `status` (`building`, `rendering`, `ready`, `failed`), `format_label`, `output_url`. A card is waiting for the human while its `decision` is `null`. If `paused_until` or `last_error` is set, tell the human that making is paused and why.
- **Keep one** (3 credits). CLI `vidfarm videos keep <id>` · REST `POST /videos/api/deck/<id>/keep` gives `ready_post_id`, its id in the Library.
- **Skip one** (free). CLI `vidfarm videos skip <id>` · REST `POST /videos/api/deck/<id>/skip`.
- **Fill the deck** (free). CLI `vidfarm videos fill` · REST `POST /videos/api/deck/fill` gives `started_count`. New videos take a few minutes. VidFarm starts no more videos than the balance can keep. Read the deck again later.

### Remix a trend

- **Trends** (free). CLI `vidfarm trends` · REST `GET /remix/api/recipes` (add `?niche=<name>` to narrow, `&cursor=` for the next page) gives `recipes[]` with `id` and a preview.
- **Make one** (3 credits, 12 with an AI influencer). CLI `vidfarm remix <recipe_id>` · REST `POST /remix/api/jobs` with `{"recipe_id":"<id>"}` gives `job.id`. **Check it** (free): CLI `vidfarm remix status <job_id>` · REST `GET /remix/api/jobs/<job_id>` gives `job.status` and, when ready, `job.output_url` and `job.ready_post_id`. A ready remix is in the Library.

### Inspiration: "Make this for my product"

- **Search** (free). CLI `vidfarm inspiration search "<words>"` · REST `GET /inspiration/api/items?format=json&q=<words>` gives `items[]` with `key`, `title`, `preview_url` and `make`.
- **Make one** (the price of its format in §4). CLI `vidfarm inspiration make <key>` · REST: `make` is the exact request. Send `make.method` to `make.path` with `make.body` as JSON. When `make` is `null`, there is no one-call path: give the human `editor_url`.
- **Check it** (free). A `make` to `/remix/api/jobs` gives `job.id`: check it like a remix. A `make` to `/workflows/<id>/runs` gives `run.id`: REST `GET /workflow-runs/<run_id>` gives `run.status` (`running`, then `succeeded` or `failed` with `run.reason`) and, when it succeeded, `run.result.video_url` and `run.result.post_id`, its id in the Library; a picture workflow (image set, thumbnail, headshot and the like) gives `run.result.image_urls` instead, saved to My Media. A video takes a few minutes; pictures take about a minute. A failed run gives its credits back.

### Workflows

Ready-made AI recipes, also on `BASE/workflows`. Each one takes the inputs below and makes a video (saved to the Library) or pictures (saved to My Media). An image input takes `product:<pm_id>` (a Brand product image) or the https url of a file in the human's VidFarm files; a clip input also takes `post:<post_id>` (a Library video). A tick box (`consent`) must be `true`: ask the human, never tick it for them.

- **List them** (free). CLI `vidfarm workflows [--category <c>]` (id, price, what you give and get), `vidfarm workflow show <id>` (its inputs and price) · REST `GET /workflows` gives `workflows[]` with `id`, `inputs[]` (`key`, `type`, `required`, `options`) and `price` (`label`, `hold_credits`).
- **Run one** (the price below, needs a plan; tell the human the price first). CLI `vidfarm workflow run <id> --input key=value --input key2=value2 [--seconds n] [--wait] --yes` checks the inputs, prints "This uses N credits (balance M)", and refuses without `--yes` when there is no terminal: ask the human first, then pass `--yes`. An image or video input also takes a file path on the human's computer; the CLI uploads it. · REST `POST /workflows/<id>/runs` with `{"inputs":{"<key>":"<value>"}}` gives `run.id`. A per-second price holds the most the run can cost and keeps only the length it made.
- **Check it** (free). CLI `vidfarm workflow status <run_id>` · REST `GET /workflow-runs/<run_id>` gives `run.status`, `run.steps[]` and `run.result`; once it ended, `credits_charged` and `credits_returned`. A failed run gives its credits back.
- **Photo slideshow** (`photo-slideshow`) makes one Library post with both a video (with music) and its captioned slides: `run.result.video_url`, `run.result.post_id` and `run.result.image_urls` (the slides, in order). To post the slides as a swipeable photo post, schedule `run.result.post_id` with `"post_as":"carousel"` and, for TikTok, `"tiktok_music":"auto"` (CLI `--as carousel --tiktok-music auto`).

| Workflow | `id` | Inputs (`*` = required) | Credits |
|---|---|---|---|
| AI transition between two clips | `shot-transition` | `first`* clip, `second`* clip, `direction` text | 25 credits |
| Character sheet | `character-sheet` | `character`* image, `scenes` text, `consent_likeness`* (tick box: `true`, ask first) | 16 credits |
| Clean audio | `clean-audio` | `video`* clip, `keep` (Voice only / Everything but the voice) | 2 credits |
| Edit a video | `video-edit` | `video`* clip, `edit` (Custom edit / Swap in my product / Change the outfit / Restyle / Remove an object / Change the background), `instruction` text, `reference` image | 6 credits/sec, min 30 |
| Extend a video | `video-extend` | `source_clip`* clip, `direction` text | 32 credits |
| Face swap (photo) | `face-swap` | `photo`* image, `face`* image, `consent_likeness`* (tick box: `true`, ask first) | 8 credits |
| First to last frame | `first-last-frame` | `first_frame`* image, `last_frame`* image, `seconds` (4–10), `direction` text | 5.5 credits/sec, min 25 |
| Genjutsu | `genjutsu` | `source_clip`* clip, `identity`* identity, `resolution` (1080p / 2k), `consent_own_likeness`* (tick box: `true`, ask first) | 6 credits/sec, min 6 |
| Hook, then demo | `hook-then-demo` | `demo` demo, `hook_line` text | 4 credits |
| Image set | `image-set` | `picture`* image, `set` (Photoshoot / Camera angles / Brand mockups / Style variations), `shape` (9:16 / 4:5 / 1:1 / 16:9), `style_photo` image, `direction` text | 8 credits |
| Images in your brand's style | `brand-style-images` | `style_1`* image, `style_2` image, `style_3` image, `subject`* text, `shape` (9:16 / 1:1 / 16:9) | 8 credits |
| Keyframe video | `keyframe-video` | `frame_1`* image, `frame_2`* image, `frame_3`* image, `direction` text | 49 credits |
| Lip-dub a video | `video-lipdub` | `video`* clip, `script`* text, `consent_voice`* (tick box: `true`, ask first) | 5 credits |
| Logo animation | `logo-animation` | `logo`* image, `material` text | 33 credits |
| Music visualizer | `audio-reactive-video` | `picture`* image, `mood` (surprised / excited / amused / impressed / curious), `direction` text | 21 credits |
| Photo slideshow | `photo-slideshow` | `productTopic` text, `slides` (3–8) | 12 credits |
| Product ad video | `product-ad-video` | `product_photo`* image, `detail_photo` image, `detail_photo_2` image, `seconds` (5–15), `shots` (2–6), `direction` text | 3.5 credits/sec, min 20 |
| Product in hand | `product-in-hand` | `influencer`* influencer, `topic` text | 1.5 credits/sec, min 8 |
| Product placement | `product-placement` | `product_photo`* image, `scene`* text, `motion` text | 24 credits |
| Professional headshot | `pro-headshot` | `selfie`* image, `outfit` (Business suit / Smart casual / Creative / Keep my outfit), `backdrop` (Studio grey / Modern office / Outdoors / Plain white), `consent_likeness`* (tick box: `true`, ask first) | 8 credits |
| Reaction, then demo | `reaction-then-demo` | `demo` demo, `hook_line` text, `reactor` reactor | 3 credits |
| Reaction: green screen | `reaction-greenscreen` | `demo` demo, `hook_line` text, `reactor` reactor | 3 credits |
| Reaction: picture in picture | `reaction-pip` | `demo` demo, `hook_line` text, `reactor` reactor | 3 credits |
| Reaction: split screen | `reaction-split` | `demo` demo, `hook_line` text, `reactor` reactor | 3 credits |
| Reframe a picture | `image-reframe` | `picture`* image, `shape` (9:16 / 4:5 / 1:1 / 16:9 / 3:4 / 4:3), `fill` text | 4 credits |
| Reframe a video | `video-reframe` | `video`* clip, `shape` (9:16 / 1:1 / 4:5) | 2 credits/sec, min 10 |
| Relight a picture | `relight-image` | `picture`* image, `lighting` (Golden hour / Soft studio / Window light / Neon night / Dramatic spotlight / Overcast daylight), `light_reference` image, `direction` text | 2 credits |
| Remix an ad with your product | `reference-ad-remix` | `reference_ad`* image, `product_photo`* image, `copy` text | 4 credits |
| Remove captions and watermarks | `video-text-remove` | `video`* clip | 0.25 credits/sec, min 2 |
| Seamless loop | `seamless-loop` | `video`* clip, `direction` text | 21 credits |
| Storyboard to video | `storyboard-video` | `idea`* text, `character`* image, `seconds` (8–15) | 5.5 credits/sec, min 30 |
| Talking head | `talking-head` | `influencer`* influencer, `topic` text | 1 credit/sec, min 5 |
| Talking photo | `talking-photo` | `photo`* image, `script`* text, `voice` (Warm female / Bright female / Calm male / Deep male), `consent_likeness`* (tick box: `true`, ask first) | 13 credits |
| Text match cut | `text-match-cut` | `text`* text, `look` (Old newspaper / Magazine cut-out / Neon sign / Street sign), `mood` (surprised / excited / amused / impressed / curious) | 12 credits |
| Thumbnail and cover | `thumbnail` | `picture` image, `video` clip, `title`* text, `shape` (9:16 / 16:9), `style` text | 5 credits |
| Upscale a video | `video-upscale` | `source_clip`* clip, `resolution` (1080p / 2k) | 2.25 credits/sec, min 8 |
| Viral effect | `viral-effect` | `picture`* image, `effect` (Bullet time / Cinemagraph / Exploded view / Transformation), `direction` text | 25 credits |
| Virtual try-on | `virtual-try-on` | `person`* image, `outfit`* image, `outfit_2` image, `setting` text, `shape` (9:16 / 4:5), `consent_likeness`* (tick box: `true`, ask first) | 16 credits |
| Voiceover in your voice | `voice-clone-voiceover` | `voice_sample`* clip, `script`* text, `video`* clip, `consent_voice`* (tick box: `true`, ask first) | 3 credits |

### One AI picture or clip

VidFarm makes a single AI picture or video clip on its own AI keys and takes the price from the credits (needs a plan). The human needs no AI provider key and no AI account. If the human saved their own AI key, VidFarm uses that key instead and takes no credits. Tell the human the price first (§4: "AI picture" and "AI video clip").

- **Make a picture** (2 to 5 credits). REST `POST /api/v1/primitives/images/generate` with `{"tracer":"<any short id>","payload":{"prompt":"<what to make>","aspect_ratio":"9:16"}}` gives `job_id`. Add `"prompt_attachments":["<https image url>"]` for reference pictures. To change a picture: `POST /api/v1/primitives/images/edit` with `{"tracer":"<id>","payload":{"source_image_url":"<https url>","instruction":"<the change>"}}`.
- **Make a clip** (24 credits for 5 seconds at 720p). REST `POST /api/v1/primitives/videos/generate` with `{"tracer":"<id>","payload":{"prompt":"<what happens>","duration":5,"aspect_ratio":"9:16"}}` gives `job_id`. `duration` is 4 to 30 seconds. Add `"frame_images":[{"image_url":"<https url>","frame_type":"first_frame"}]` to start the clip on a picture.
- **Check it** (free). REST `GET /api/v1/user/me/jobs/<job_id>` gives `status` (`queued`, `running`, then `succeeded` or `failed`) and, when it succeeded, `result.primary_file_url` and `result.credits_used`. The price is held when the job starts; the job keeps only what it cost, and a failed job gives the credits back. A clip takes a few minutes (a long one waits as `waiting_for_media`, then goes on); a picture takes under a minute. An answer without a picture still costs what it cost. A `402` with `code: "insufficient_credits"` says the price (`needed`) and the balance (`available`): ask the human to buy credits or upgrade.

### Brand

- **Read it** (free). CLI `vidfarm brand show` · REST `GET /brand/api/profile` gives `business` (company, website, `appLinks` {`ios`, `android`}, offer, audience, tone) and `product_media[]`.
- **Change the website or app store links** (free to save). The website is what VidFarm reads to learn the product; the App Store and Google Play links are where videos send people to install the app. Never put an app store page in the website. CLI `vidfarm brand set --website https://yourproduct.com --app-store https://apps.apple.com/... --play-store https://play.google.com/store/apps/...` · REST `PUT /brand/api/links` with any of `{"website":"...","appStoreUrl":"...","playStoreUrl":"..."}` (`""` clears a store link). When the answer says `"websiteChanged":true`, read the new website with `POST /brand/api/refresh` (needs a plan, 3 a day, up to a minute; it replaces what VidFarm learned, so confirm first). The CLI reads it for you unless you pass `--no-read`.
- **Add a product screenshot or demo video** (free, 40 a day; a clip over 60 seconds is cut to its first 60, and a long phone recording may answer `202` with `processing` and join `items` a few minutes later: read `GET /brand/api/assets` for `pending[]`). CLI `vidfarm brand upload <file>` · REST, two calls: (1) `POST /api/v1/user/me/attachments/upload` as multipart form data with the file in field `file` gives `attachment.id`; (2) `POST /brand/api/assets` with `{"attachmentId":"<id>","kind":"video"}` (or `"image"`).

### Library

- **Videos** (free). CLI `vidfarm library` · REST `GET /library/api/content` gives `items[]`: `post_id`, `title`, `status`, `video_url`, `page_url`. **Posts and schedules** (free): CLI `vidfarm library --posts` · REST `GET /library/api/posts`.

### Socials: connect and schedule (needs a plan)

- **Channels you can post to.** CLI `vidfarm channels` · REST `GET /api/v1/user/me/channels` gives `channels[]` with `destination_type`, `destination_id`, `platform` and `handle`.
- **Connect TikTok, Instagram or YouTube** (confirm first). CLI `vidfarm channels connect tiktok` · REST `POST /calendar/channels/connect` with `{"platform":"tiktok"}` (or `instagram`, `youtube`) gives `url`. Give that link to the human: they sign in there themselves. You cannot sign in for them.
- **Schedule a Library video** (confirm first). CLI `vidfarm schedule <post_id> --channel <destination_id> --at 2026-11-02T15:00:00Z --yes` · REST `POST /api/v1/approved/posts/<post_id>/schedules` with `{"destination_type":"flockposter","destination_id":"<id>","scheduled_at":"<ISO time at least 10 minutes ahead>","timezone":"America/New_York"}`. Use the `destination_type` the channel list gave.
- **Photo carousel with TikTok music** (a post with slide images, role `slide`). Add `"post_as":"carousel"` to the schedule body (CLI `--as carousel`): TikTok and Instagram get the slide pictures in order (2 to 35 on TikTok, 2 to 10 on Instagram); other platforms still get the video. Add `"tiktok_music":"auto"` (CLI `--tiktok-music auto`) and TikTok adds a popular song from its own library to the photo post. With `tiktok_music` set, TikTok always gets the photos, even without `post_as`. A post without 2 to 35 slides is refused with `tiktok_music`. When `tiktok_music` is `auto` or the channel is in TikTok-music mode, slides that are not JPEG or WebP, or are larger than 1920 px, are converted for TikTok; a plain `post_as: "carousel"` takes JPEG slides only. `post_as: "video"` with `tiktok_music: "auto"` is refused.
- **When TikTok mutes an account.** If TikTok mutes the sound on a customer's videos (an account flagged for "unauthorised sounds" mutes even original audio), VidFarm notices after two muted posts and switches that TikTok channel to TikTok music: posts with slides go out as photo posts with TikTok's music, other videos are held for that channel (never posted muted), and the Calendar says why. Explain this to the human if a schedule is refused with "TikTok restricts sound on this account".
- **Per-platform details** (optional, like Buffer). Add `post_options` to the schedule body; each part applies only on its platform:
  - `caption`: the caption for every platform.
  - `instagram`: `caption`, `hashtags` ("#a #b" or a list, up to 30, added to the caption), `collaborators` (up to 3 `@handles`, tagged as collaborators), `first_comment`, `post_type` (`post` for a reel or feed post, `story`; a story takes no caption or comment).
  - `tiktok`: `caption`, `hashtags`, `privacy` (`public`, `followers`, `friends`, `private`), `allow_comments`, `allow_duet`, `allow_stitch` (true or false), `mode` (`direct`, or `inbox` to send it to their TikTok inbox; the inbox ignores privacy and the three switches).
  - `youtube`: `title` (2 to 100 characters), `description`, `tags`.
  CLI flags: `--caption`, `--instagram-caption`, `--instagram-hashtags`, `--instagram-tag @handle` (repeat it), `--instagram-first-comment`, `--instagram-post-type`, `--tiktok-caption`, `--tiktok-hashtags`, `--tiktok-privacy`, `--tiktok-comments on|off`, `--tiktok-duet on|off`, `--tiktok-stitch on|off`, `--tiktok-mode direct|inbox`, `--youtube-title`, `--youtube-description`, `--youtube-tags`.
- **See or cancel schedules.** REST `GET /api/v1/approved/posts/<post_id>/schedules`; `DELETE /api/v1/approved/posts/<post_id>/schedules/<schedule_id>`.

### Post for me (auto-posting)

- **Read it** (free). CLI `vidfarm autopost show` · REST `GET /videos/settings/autopost/api` gives `available`, `plan` (`enabled`, `postsPerDay`, `timesOfDay`, `timezone`, `tiktokMode`, `hashtags` per platform) and the next posts. `available: false` means this account cannot use it yet (no plan, or no connected channel).
- **Turn it on or off, or change it** (confirm first). CLI `vidfarm autopost on`, `vidfarm autopost off`, `vidfarm autopost set --posts-per-day <channel_id>=2 --times 09:00,18:00 --timezone Europe/London --instagram-hashtags "#a #b"` · REST `PUT /videos/settings/autopost/api` with any of `{"enabled":true,"postsPerDay":{"<channel_id>":2},"timesOfDay":["09:00","18:00"],"timezone":"Europe/London","tiktokMode":"draft","hashtags":{"instagram":"#a #b","tiktok":"#a","youtube":"a, b"}}`. Turning it on needs a plan; turning it off never does, and removes the posts that have not gone out. **Do not post one video** (free): CLI `vidfarm autopost skip <post_id>` · REST `POST /autopost/api/skip` with `{"postId":"<post_id>"}`.

### Run their growth

- **1. Read the numbers** (free). CLI `vidfarm growth report [--days 28] --json` · REST `GET /growth/api/report?days=28` (1 to 90; `limit` up to 200 and `cursor` = `postsPage.nextCursor` for more posts) gives `report`: `channels[]` (`platform`, `handle`, `metrics.<name>`: `kind` `total` with `change`, `period` with `sum`, or `level`, and the daily `series`), `posts[]` (`publishedAt`, `title`, `attributes`: `source`, `format`, `workflowId`, `hook`, `influencerId`, `scheduledBy`; `statsStatus` `ok`/`pending`/`unavailable`; `stats`; `statsByStage` `24h`/`72h`/`168h`; `comparison` with `vsChannelMedian`), `medians`, `top`, `bottom`, `notes`. Posts are compared at the same age (the 24 h read) with their own channel's median only, never by absolute numbers; `comparison.status` `low_confidence` means the channel has fewer than 5 such posts: say so instead of comparing. Tell the human what did better and what it was. Never promise growth or revenue.
- **2. Draft next week's plan** (needs a plan, else a `402`; each draft counts against 40 a month, a `429` when they are used, and a failed draft does not count). CLI `vidfarm growth plan propose` · REST `POST /growth/api/campaign/propose` with `{"days":28}` gives `draft` (`status`, `goal`, `weekOf`, `channels[]` with `postsPerDay` and `confidence`, `mix`, `angles`, `hooks`, `experiment` {`variable`, `arms`, `hypothesis`}, `budget` {`videosPerWeek`, `creditsPerWeek`}, `rationale`), `review` (last week's `decisions`: `keep`, `drop`, `keep_testing`), `issues`, `warnings` and `basedOnVersion` (the plan version it was drafted from). It is not saved or applied. The method: ONE variable under test a week, keep winners, drop losers; a channel whose `confidence` is `exploratory` has too few rated posts, so say nothing is concluded yet. You may also write the plan yourself from the report, `GET /competitors/api` and the trends.
- **3. Show the human, then save** (confirm first). Say the cadence, the mix, the one test and why, and the budget in plain words. On their yes: CLI `vidfarm growth plan set --status active` · REST `PUT /growth/api/campaign` with `{"campaign":<draft>,"review":<review>,"expectedVersion":<basedOnVersion, or null for the first>}` (CLI `--file` needs `--expected-version <n|none>` unless the file has it). `GET /growth/api/campaign` reads it (`campaign`, `issues`, `limits`); a `409` means read it again and save on top. An `error` in `issues` stops apply.
- **4. Apply** (confirm first). CLI `vidfarm growth plan apply --dry-run`, then `vidfarm growth plan apply --yes` · REST `POST /growth/api/campaign/apply` with `{"dryRun":true}` gives `changes[]` (the deck's mix and angles, Post for me's channels, posts a day and times); `{}` applies them; `warnings` means the settings were saved but a follow-up did not finish: apply again. Limits are checked, not reserved: credits are charged per video when it is made. Post for me stays off unless the human says yes to it: then add `"turnOnPostForMe":true` (CLI `--turn-on-post-for-me`). Next week, read the numbers and draft again. **5. Or let VidFarm run it** ("Run my growth", confirm first; needs a plan). CLI `vidfarm growth auto on [--consent-post-for-me] --yes` · REST `PUT /growth/api/auto` with `{"enabled":true,"consentPostForMe":<true only if the human said VidFarm may turn Post for me on>,"expectedVersion":<version from GET, or null>}`. Every Monday VidFarm drafts the week (a week starts Monday to Wednesday in their time zone; turned on later, the first plan comes next Monday: say `nextPlanText`), makes the videos within the week's budget and Post for me posts them; the first week waits for the human: show it with `vidfarm growth auto status` (REST `GET /growth/api/auto`: `auto`, `pending.content`, `weeks[].summary` grew/changed/why) and on their yes `vidfarm growth auto approve --yes` (REST `POST /growth/api/auto/approve` with `{"expectedVersion":<pending.version>}`); they also get it by email. Off: `vidfarm growth auto off --yes` (`{"enabled":false,...}`) stops the loop; Post for me stays as it is.

### Competitors

VidFarm finds the human's direct competitors from their brand and reads the ads they keep paying for. The first scan starts on its own when the human first opens Competitors or saves their brand. Insights are what competitors keep paying for: call them "worth studying", never "proven". The video uses the human's own product and words, never a competitor's footage, logo, name or script.

- **Read** (free). CLI `vidfarm competitors` and `vidfarm insights` · REST `GET /competitors/api` gives `competitors[]` (`id`, `name`, `domain`), `scan` (`status`: `never`, `running`, `done`, `failed`; `canRescanAt`) and `report` (`insights[]` with `id`, `headline`, `whyItWorks`, `recommendation`, `evidence.libraryUrls`; `topAds[]`).
- **Add or remove a competitor** (free). CLI `vidfarm competitors add "<name>" --domain example.com`, `vidfarm competitors remove <id>` · REST `POST /competitors/api/competitors` with `{"name":"...","domain":"example.com"}`; `DELETE /competitors/api/competitors/<id>`.
- **Scan** (free; about once a day, and it refreshes weekly on its own). CLI `vidfarm competitors scan` · REST `POST /competitors/api/scan` answers `202`; `409` while one runs; `429` with `retry_at` when it is too soon. A scan takes a few minutes: read `GET /competitors/api` again.
- **Make one for the product** (6 credits, needs a plan). CLI `vidfarm insights make <insight_id>` · REST `POST /competitors/api/insights/<insight_id>/make` gives `job.id`; check it like a remix: `GET /remix/api/jobs/<job_id>`. A ready video is in the Library.

## 6. Do these in the app

AI Studio, Influencers, buying credits, plan changes and account settings have no agent calls here. Send the human to `BASE/home`.

---

Building videos by hand with templates, the editor and the developer CLI? Read `BASE/skill/director`.
