video-generation

video-generation is a skill for Claude Code, Codex from letta-ai/letta-code. It costs 60 tokens per session (2,701 once invoked), scanned A, original, Apache-2.0.

A tool for creating a short video from a text description, with optional reference or starting-frame images. Video creation runs as an asynchronous job, so it submits the request, checks its status, and downloads the result later.

In plain words
What is it for?
Use it to make a video or animation from a prompt, animate an existing image, or turn a reference frame into a video clip.
Why use it?
It handles the waiting required by video generation instead of expecting one request to return the finished file immediately. It also uses the runtime's configured service address and credentials.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to make a video or animation from a prompt, animate an existing image, or turn a reference frame into a video clip.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/letta-ai/letta-code/video-generation
About the project

letta-ai/letta-code is an agent harness for building assistants that retain memory, identity, and experience across interactions instead of treating each task as isolated. Developers use it through local, desktop, browser, or messaging interfaces for interactive or continuously running agents, and its catalogue entries configure the agents' skills, instructions, rules, and behavior.

letta-ai/letta-code · 3,935 stars · on GitHub · letta.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add letta-ai/letta-code --skill video-generation
Clone the repo
git clone --depth 1 https://github.com/letta-ai/letta-code

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for video-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/letta-ai/letta-code/video-generation/github.svg)](https://agentmods.dev/skills/letta-ai/letta-code/video-generation)
Your own site
<a href="https://agentmods.dev/skills/letta-ai/letta-code/video-generation"><img src="https://agentmods.dev/badge/skills/letta-ai/letta-code/video-generation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for video-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/letta-ai/letta-code/video-generation"><img src="https://agentmods.dev/badge/skills/letta-ai/letta-code/video-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,701 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.02701
Opus 5.5 $0.00024 $0.01080
Sonnet 5.5 $0.00012 $0.00540
Haiku 4.5 $0.00006 $0.00270

Measured 17d ago against content hash 4288b8027191, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

video-generation scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Generate videos via Letta's async `POST /v1/videos` using `curl` + `jq`. Requires `LETTA_BASE_URL` and `LETTA_API_KEY`, which the runtime provides. If either is unset, stop and ask the user to authenticate with Letta Clo
src/skills/builtin/video-generation/SKILL.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Video Generation

Generate videos via Letta's async POST /v1/videos using curl + jq. Requires LETTA_BASE_URL and LETTA_API_KEY, which the runtime provides. If either is unset, stop and ask the user to authenticate with Letta Cloud; do not ask for a video provider key.

This skill is adapted from OpenRouter's openrouter-video skill (OpenRouterTeam/skills). Letta's endpoint forwards the request with Letta's key and charges the organization's Letta credits for the cost of each completed video.

Build every URL relative to ${LETTA_BASE_URL%/} and send Authorization: Bearer $LETTA_API_KEY. Do not hardcode https://api.letta.com: Desktop and remote runtimes may provide a proxy base URL, and the credential may only be valid through that URL.

The three steps

Video generation is async: submit → poll → download. A single request can't return the video because generation takes 30s–a few minutes. Tell the user the job was submitted so they know the delay is expected.

  1. POST /v1/videos → { id, polling_url, status: "pending" } (polling_url is the absolute URL of step 2)
  2. GET /v1/videos/{id} every ~30s until status is completed (terminal failures: failed, cancelled, expired — surface the error field verbatim)
  3. GET /v1/videos/{id}/content?index=0 with the auth header → MP4 bytes

A completed job also has urls: signed downloads that need no API key until expires_at (Unix seconds); anyone holding one can download the video, so prefer step 3.

Pick parameters from the models endpoint, don't guess

resolution, aspect_ratio, duration, and frame_images[].frame_type are per-model. Before the first submit for a new model (or whenever the user asks for something specific), fetch the model's capabilities and only send values from the returned sets:

curl -sS "${LETTA_BASE_URL%/}/v1/videos/models" \
  -H "Authorization: Bearer $LETTA_API_KEY" \
  | jq '.data[] | select(.id == "MODEL_ID")'

Read the full file on GitHub · 172 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · +1 lines 4288b8027191
  2. 1mo ago Changed · +18 lines 7e060565c67a
  3. 1mo ago First seen · 153 lines · 60 tokens per session scan A dab94653cebe

Subscribe to this mod's changes

video-generation is a skill published in the GitHub repository letta-ai/letta-code (3,935 stars, last pushed today), licensed Apache-2.0. It adds 60 tokens to every session and 2,701 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.

Related

video-generation compared with skills from other repositories

video-generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
video-generationletta-ai/letta-codeSkill3.9ktodayApache-2.0A60Claude Code, Codex
agent-code-analyzerruvnet/rufloSkill83ktodayMITA19Claude Code
worker-integrationruvnet/rufloSkill83ktodayMITA14Claude Code
eval-dataset-designbojieli/ai-agent-bookSkill60kyesterdayApache-2.0A138Claude Code, Codex
memory-systembojieli/ai-agent-bookSkill60kyesterdayApache-2.0A95Claude Code, Codex
writingbojieli/ai-agent-bookSkill60kyesterdayApache-2.0A27Claude Code, Codex
memory-recallzilliztech/memsearchSkill3.0k3d agoMITA152Claude Code