---
title: "Developer Docs and API | Viraloop"
description: "Build with the Viraloop API: generate AI videos and schedule posts to TikTok, Instagram and YouTube from code. REST API, CLI, MCP servers and OpenAPI spec."
source: https://viraloop.io/developers
---
Viraloop for developers

# Build with Viraloop

Generate AI short-form videos and schedule them to TikTok, Instagram and YouTube from your own code. One API key, a REST API, a CLI and MCP servers for agents.

[Create an API key](/settings/developers)[Read the guides](/developers/docs/getting-started)

Base URL: https://viraloop.io/api/v1

Your first request

```
curl -s https://viraloop.io/api/v1/me \
  -H "Authorization: Bearer vl_live_..."
```

[

### API reference

Every endpoint, parameter and example in an interactive explorer, generated from the same spec the API runs on.

/developers/reference →

](/developers/reference)

[

### Guides

Eight hand-written guides, from creating a key to publishing, scheduling and handling errors.

Start with getting started →

](/developers/docs/getting-started)

[

### CLI

npm install -g viraloop. The whole API as commands, with --json output and agent-friendly exit codes.

npmjs.com/package/viraloop →

](https://www.npmjs.com/package/viraloop)

[

### MCP

Remote (streamable HTTP) and local (stdio) MCP servers so agent runtimes call Viraloop as tools.

Setup guide →

](/developers/docs/mcp)

[

### Claude Skill

A packaged skill that teaches Claude the CLI workflows: generate, review, publish, monitor.

github.com/Viraloop/viraloop-skill →

](https://github.com/Viraloop/viraloop-skill)

[

### llms.txt

Machine-readable index of the whole API surface. llms-full.txt bundles the reference and every guide in one file.

/llms.txt →

](/llms.txt)

## Guides

[Getting startedFrom an API key to a published post, with curl and the CLI.](/developers/docs/getting-started)[AuthenticationAPI keys, headers, scopes and key management.](/developers/docs/authentication)[GenerationsAI content suggestions: formats, fields and the review flow.](/developers/docs/generations)[Posts and schedulingContent sources, target accounts, timing, polling, cancels.](/developers/docs/posts-and-scheduling)[AutomationsBatch-generate posts and auto-schedule them across a window.](/developers/docs/automations)[Influencers and videosAI personas, talking-head videos and the media library.](/developers/docs/influencers)[Credits and limitsCredit balance and ledger, plus per-key rate limits.](/developers/docs/credits-and-limits)[Errors and rate limitsThe error envelope, every error type and how to react.](/developers/docs/errors-and-rate-limits)[CLIThe viraloop command for humans, scripts and agents.](/developers/docs/cli)[MCPRemote and local MCP servers for agent runtimes.](/developers/docs/mcp)
