free-image-and-video-generation

free-image-and-video-generation is a skill for Claude Code, Codex from opencue/cuecards. It costs 149 tokens per session (2,694 once invoked), scanned C, original, MIT.

A toolkit for editing images and videos locally, with optional cloud-based AI generation. Its local tools can enlarge images, improve faces, remove backgrounds, erase objects, swap faces, segment images, and process media.

In plain words
What is it for?
Use it to upscale, restore, cut out, retouch, transform, resize, compress, or convert media, and to generate images or videos through the Atlas Cloud API.
Why use it?
It provides common image and video editing tasks without local API keys or cloud costs, while cloud generation is available when creation of new media is needed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run scripts/upscale.py ./photos/ --scale 4.

Good fit Use it to upscale, restore, cut out, retouch, transform, resize, compress, or convert media, and to generate images or videos through the Atlas Cloud API.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/opencue/cuecards
agentmods
npx agentmods add skills/opencue/cuecards/free-image-and-video-generation

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 free-image-and-video-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/opencue/cuecards/free-image-and-video-generation/github.svg)](https://agentmods.dev/skills/opencue/cuecards/free-image-and-video-generation)
Your own site
<a href="https://agentmods.dev/skills/opencue/cuecards/free-image-and-video-generation"><img src="https://agentmods.dev/badge/skills/opencue/cuecards/free-image-and-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 free-image-and-video-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/opencue/cuecards/free-image-and-video-generation"><img src="https://agentmods.dev/badge/skills/opencue/cuecards/free-image-and-video-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,694 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. 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.00149 $0.02694
Opus 5 $0.00075 $0.01347
Sonnet 5 $0.00030 $0.00539
Haiku 4.5 $0.00015 $0.00269

Measured 11d ago against content hash 08b5bfa194c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

free-image-and-video-generation scanned grade C with 2 findings 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 11d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/ai-generate.py, scripts/bg-remove.py, scripts/erase.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- [uv](https://docs.astral.sh/uv/getting-started/installation/) installed (`curl -LsSf https://astral.sh/uv/install.sh | sh`)

Makes network callslowCapability

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

- [uv](https://docs.astral.sh/uv/getting-started/installation/) installed (`curl -LsSf https://astral.sh/uv/install.sh | sh`)
.agents/skills/free-image-and-video-generation/SKILL.md · 269 lines

How it starts

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

Free Image & Video Processing Toolkit

7 free local AI tools + cloud AI generation (300+ models via Atlas Cloud API).

Local tools run 100% on your machine — no API keys, no cloud costs. Cloud generation tools provide access to state-of-the-art AI models for image and video creation.

Prerequisites

  • Python 3.10+ installed
  • uv installed (curl -LsSf https://astral.sh/uv/install.sh | sh)
  • FFmpeg installed (brew install ffmpeg / apt install ffmpeg / winget install ffmpeg)

Available Tools

Tool Script What It Does
Image Upscale scripts/upscale.py 2x/4x super resolution using Real-ESRGAN
Face Enhance scripts/face-enhance.py Restore and enhance faces using GFPGAN + CodeFormer
Background Remove scripts/bg-remove.py Remove image backgrounds, output transparent PNG
Object Erase scripts/erase.py Erase unwanted objects using LaMa inpainting
Face Swap scripts/face-swap.py Swap faces between images using InsightFace
Smart Segment scripts/segment.py Segment anything in images using FastSAM
Media Process scripts/media-process.py Convert, compress, resize, extract with FFmpeg
AI Generate scripts/ai-generate.py Generate images/videos with 300+ cloud AI models

Usage

All scripts use uv run for zero-setup execution — dependencies are automatically installed on first run.

Image Upscale (Real-ESRGAN)

Upscale low-resolution images by 2x or 4x with AI super resolution.

# 4x upscale (default)
uv run scripts/upscale.py input.jpg

# 2x upscale
uv run scripts/upscale.py input.jpg --scale 2

# Upscale with face enhancement
uv run scripts/upscale.py input.jpg --face-enhance

# Batch upscale a folder
uv run scripts/upscale.py ./photos/ --scale 4

# Custom output path
uv run scripts/upscale.py input.jpg -o upscaled.png

Face Enhance (GFPGAN + CodeFormer)

Read the full file on GitHub · 269 lines

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. 11d ago First seen · 269 lines · 149 tokens per session scan C 08b5bfa194c9

Subscribe to this mod's changes

free-image-and-video-generation is a skill published in the GitHub repository opencue/cuecards (5 stars, last pushed today), licensed MIT. It adds 149 tokens to every session and 2,694 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

desktop-brand-builder

Generate a branded Qwen Code desktop package from the Tauri desktop shell using a minimal brandId and logo. Use when the user wants a custom, white-label, or rebranded desktop client, installer, DMG/EXE/AppImage/deb, or one-click brand build on top of packages/desktop-shell.

QwenLM/qwen-code · 69 tokens

memstack-content-youtube-script

Use this skill when the user says 'YouTube script', 'video script', 'write script for YouTube', 'YouTube video outline', or is creating scripted content for a YouTube video with hooks, chapters, and CTAs. Do NOT use for TikTok/Reels short-form scripts or webinar presentations.

cwinvestments/memstack · 70 tokens

memstack-marketing-facebook-ad

Use this skill when the user says 'facebook ad', 'FB ad', 'Meta ad', 'Instagram ad', or needs social media ad copy with targeting, creative direction, and A/B test plans for Meta Ads Manager. Do NOT use for Google search ads or organic social content.

cwinvestments/memstack · 64 tokens

loongsuite-pilot-insight

A reporting workflow for turning LoongSuite Pilot and AI coding-agent logs into structured reports about events, teams, data quality, development efficiency, and AI use. It defines the meaning of the log fields and the measurements used in dashboards.

alibaba/loongsuite-pilot · 91 tokens

image-gen

Acquire images as files — generate them with an AI image model (14 providers: OpenAI/gpt-image, Gemini, Qwen, Zhipu, Volcengine, Stability, FLUX, Ideogram, MiniMax, and more), search openly-licensed stock (Openverse/Pexels/Pixabay/ Wikimedia), or slice one generated sheet into elements. Drive it one-off with a single…

open-octo/octo-agent · 142 tokens

presentations

Use when building, theming, or exporting a presentation deck — pitch, sales, keynote, board/QBR, leave-behind one-pager — from slide structure to a token-based theme to PDF or editable PPTX (Marp, Slidev, python-pptx). NOT the words (that is marketing), NOT the visual tokens (that is design), NOT the investor story…

ericrisco/rsc-harness · 93 tokens