All guides

AI agents and automation

Automate RapidCreate from scripts and other apps

RapidCreate can take work from other programs on your computer: a local address and a command line that queue batches of videos and collect the files.

On this page 5 sections

Batches inside the app

You don’t need anything outside RapidCreate to make many videos at once.

  1. Open the Batch tab

    In Generate, open the Batch tab.

  2. Add the hooks

    Paste them into Hooks, one a line, or a CSV, or click Import CSV. A CSV with a hook column can also set the brand (none for no brand), videos, seconds, look, platform, music, end (how the video ends: the ask, search, comment, follow, logo, an app outro that changes each video, or one of card, spotlight, phone, listing, screens, browser, laptop and desktop), language, date and notes for each row. The rows start in the brand chosen under Brand, or in none. Put a hook with a comma in it in quotes.

  3. Queue it

    Name the batch and click Queue 20 videos (or however many). Each video uses a credit.

  4. Review and export

    Under Batches, Review opens a grid to approve the videos. Then Export approved, Export clean videos or Export every ready video.

Turn on the local address

For other programs on your computer (n8n, Make, a script or a scheduled task), RapidCreate answers at a local address while it’s open. Nothing outside your computer can reach it.

  1. Switch it on

    Open Settings › Automation and switch on Local endpoint. It answers at http://127.0.0.1:47615/v1 (change the Port if another program uses it).

  2. Copy the token

    Click Copy beside Token. Every request sends it as Authorization: Bearer and the token. Treat it like a password; Regenerate makes a new one at once.

  3. Try it

    Try it has a line for the terminal with the token in it. This one asks for the app’s status:

Terminal
curl -s http://127.0.0.1:47615/v1/status -H "Authorization: Bearer $RAPIDCREATE_TOKEN"

What it can do

| Request | What it does | |---|---| | GET /v1/status | The app’s version, the credits left and the brands | | GET /v1/brands | The brands with their ids | | POST /v1/batches | Queue a batch, from rows or a CSV, in a brand or in none | | GET /v1/batches/<id> | Its videos, approvals and exported files | | POST /v1/batches/<id>/cancel | Stop what isn’t made yet | | POST /v1/batches/<id>/export | Export it (clean, approved or ready) and get the files |

Anything that starts a batch spends credits, as Generate does.

The command line

RapidCreate comes with a small command, rapidcreate. Settings › Automation › Command line shows its full path on your computer; it isn’t on your PATH, so call it by that path. It reads the token from RAPIDCREATE_TOKEN, or --token.

One hook a line, five videos each, wait and export
rapidcreate generate --brand <brand id> --hooks hooks.txt --videos 5 --wait --export clean --out ./videos
  • --brand <brand id> makes the videos for that brand; left out, they are about the hooks alone, in no brand.
  • rapidcreate status and rapidcreate brands show the app and its brands.
  • rapidcreate generate --csv rows.csv queues the rows of a CSV.
  • rapidcreate batch <id> shows a batch, and rapidcreate cancel <id> stops it.
  • --aspects 9:16,4:5,1:1 exports each size, and --json answers in JSON.

Your AI agent

The same address also serves AI agents, over MCP. Connect your AI agent sets that up in one click.