Use Case

Generate TikTok & Reels Content with AI — From Your Terminal

Short-form vertical video dominates social media. TikTok, Instagram Reels, and YouTube Shorts all require 9:16 portrait content that grabs attention in the first second. With agent-media CLI, you can generate scroll-stopping short-form videos directly from your terminal — no video editor, no stock footage library, no browser tabs. Pick a model, write a prompt, and publish.

Best Models for This

These models are recommended for generating tiktok & reels content. Each one brings different strengths to this workflow.

ModelWhy
Seedance 1.0 ProBest-in-class human motion and facial expressions — essential for creator-style content that feels authentic on social feeds.
Kling 3.0 ProStrong prompt adherence and consistent motion make it reliable for batch-producing social content at scale.

Step-by-Step Workflow

Follow these steps to start generating tiktok & reels content with agent-media CLI.

1

Install and authenticate

Install the CLI globally and log in with your agent-media account. This takes under 30 seconds and gives you access to all supported models.

terminal
$ npm install -g agent-media-cli && agent-media login
2

Generate a portrait video

Use the --aspect-ratio 9:16 flag to produce vertical video sized for TikTok and Reels. The --sync flag waits for the result and downloads it automatically.

terminal
$ agent-media generate seedance1 -p "Person unboxing a mystery package, excited reaction" --aspect-ratio 9:16 --sync
3

Batch-generate variations

Loop through multiple prompts in your shell to produce several variations at once. Drop the --sync flag to queue jobs in parallel, then check results with agent-media jobs list.

terminal
$ for i in 1 2 3; do agent-media generate seedance1 -p "Prompt variation $i" --aspect-ratio 9:16; done
4

Review and download

List all recent jobs to see their status and download URLs. Pick the best takes and upload directly to TikTok or Instagram from your device.

terminal
$ agent-media jobs list

MCP / Claude Code Integration

Connect agent-media as an MCP server in Claude Code and ask Claude to generate TikTok content for you conversationally. Say something like "Generate 3 vertical video variations of a person reacting to a magic trick" and Claude will handle the model selection, aspect ratio, and prompt crafting — no flags to remember.

.claude/settings.json
{
  "mcpServers": {
    "agent-media": {
      "command": "npx",
      "args": ["-y", "agent-media-cli", "mcp"],
      "env": {
        "AGENT_MEDIA_API_KEY": "your-api-key"
      }
    }
  }
}

Then ask Claude: "Generate tiktok & reels content using agent-media"

How Much Does It Cost

A single 5-second TikTok clip costs 200 credits with Seedance or Kling. On the Creator plan ($69/month for 5,000 credits), you can generate roughly 25 short-form videos per month — or about 12 at 10-second duration. If you need higher volume, the Pro Plus plan ($119/month for 10,000 credits) doubles your output. Pay-as-you-go packs start at $9 for 500 credits if you only need a few clips.

Start generating tiktok & reels content

Install agent-media CLI and create your first video in under 60 seconds.

npm install -g agent-media-cli