Skip to main content
The Five API agent skill teaches AI coding agents such as Claude Code, Cursor, Codex, Windsurf and GitHub Copilot how to use Five API: which model to pick, how to create and follow tasks, how to verify webhooks and how to handle errors and credits.

What your agent can do

  • Generate videos from text, an image, reference assets or an existing clip, from a single request in plain language
  • Pick the right model for the job: speed, cost, resolution, duration and audio
  • Follow the task from queued to completed and hand you the video URL
  • Write your integration: API client, retries with idempotency keys, a webhook endpoint with signature verification
  • Manage credits: check your balance before generating and explain what each task was charged

Install

Run this in your project:
The skills CLI installs the skill into the coding agents it finds on your machine. Then make your API key available to the agent:
The agent uses your key to create real tasks, which cost credits. Keep the key in an environment variable, never in your prompts or in committed files.

Try it

Ask your agent, for example:
Generate a 5-second 480p video of a paper boat floating down a rain gutter with Five API.
Animate https://example.com/my-product.png into a slow 360-degree orbit, 1080p, with Wan 3.0 Prime Spark.
Add a Five API webhook endpoint to this Express app that verifies the signature and stores completed videos in S3.
Write a Python worker that creates Five API tasks from our job queue, retries safely and stays within the concurrency limit.
The agent chooses a model, creates the task, waits for the result and gives you the video URL, or writes the code into your project.

Install manually

The skill is a single Markdown file, published at /skill.md. To install it by hand, for example for Claude Code:
The list of skills this site publishes is at /.well-known/agent-skills/index.json.

Prerequisites

  1. A Five API account and an API key from fiveapi.ai (API Keys). See Authentication.
  2. Credits on your balance. See Credits and pricing.
  3. Public HTTPS URLs for any input image, video or audio. Five API has no upload endpoint; see Input files.

Also useful

Docs for AI assistants

Connect these docs to your assistant through MCP, llms.txt or Markdown.

API reference

Every endpoint, with an interactive playground.