StanleyChanH

Agnes Skills — Development skill for Claude Code

Development community

Free & Easy-to-Use Image and Video Generation Skills Powered by AgnesAI 基于AgnesAI,免费好用的大模型生图、生视频skill.

How to install Agnes Skills

This entry records only its repository, not the path inside it, so there is no exact command to give. Open StanleyChanH/Agnes_skills and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agnes Skills does

Free & Easy-to-Use Image and Video Generation Skills Powered by AgnesAI 基于AgnesAI,免费好用的大模型生图、生视频skill.

Alternatives in Development

  • Agent Of Empires — Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile 3.1k ★
  • Claude Prism — An offline-first scientific writing workspace powered by Claude 1.1k ★
  • Rev Requirements — 既存のコードベースから要件定義書を逆生成します 974 ★

README

🎨 Agnes Media Skill

**[English](README_EN.md)** | **中文**

🆓 **完全免费** — Agnes AI 图片生成和视频生成 API 当前 **零费用**!

一个用于调用 [Agnes AI](https://agnes-ai.com) API 生成图片和视频的 Claude Code Skill,支持文生图、图生图、文生视频、图生视频、多图视频和关键帧动画。

✨ 功能特性

🖼️ 图片生成 (agnes-image-2.1-flash)

  • 文生图 — 从文字描述生成高质量图片
  • 图生图 — 基于已有图片进行风格转换、场景变换
  • 多图合成 — 使用多张参考图组合生成新图
  • 支持档位式尺寸(1K/2K/3K/4K)+ 宽高比(16:99:161:1 等 8 种),也兼容精确尺寸(16 的倍数)
  • 支持 URL 或 Base64 输出

🎬 视频生成 (agnes-video-v2.0)

  • 文生视频 — 从文字描述生成电影级视频
  • 图生视频 — 将静态图片动画化
  • 多图视频 — 使用多张参考图引导视频生成
  • 关键帧动画 — 在多个关键帧之间生成平滑过渡动画
  • 支持时长控制(3s ~ 18s)、分辨率、帧率自定义
  • 尺寸自动标准化(480p/720p/1080p 档位),完成后报告实际输出尺寸
  • 异步任务处理,自动轮询进度

💰 定价

服务 原价 当前价格
图片生成 $0.003/张 🆓 $0
视频生成 $0.005/秒 🆓 $0

在 https://agnes-ai.com 注册即可获取免费 API Key。

🚀 快速开始

1. 获取 API Key

前往 https://agnes-ai.com 注册账号并获取 API Key。

2. 设置环境变量

export AGNES_API_KEY="your-api-key-here"

3. 生成图片

# 文生图(推荐:档位 + 宽高比)
python agnes-media/scripts/agnes_media.py image \
  --prompt "一座漂浮在迷雾峡谷上方的发光城市,电影级写实风格" \
  --size 2K --ratio 16:9 \
  --output output.png

# 文生图(兼容精确尺寸,须为 16 的倍数)
python agnes-media/scripts/agnes_media.py image \
  --prompt "一座漂浮在迷雾峡谷上方的发光城市,电影级写实风格" \
  --size 1024x768 \
  --output output.png

# 图生图
python agnes-media/scripts/agnes_media.py image \
  --prompt "将场景转换为赛博朋克夜景,保留原始构图" \
  --size 2K --ratio 16:9 \
  --image-url "https://example.com/input.png" \
  --output transformed.png

4. 生成视频

# 文生视频(~5秒)
python agnes-media/scripts/agnes_media.py video \
  --prompt "一只猫在日落时的海滩上漫步,柔和的海浪,温暖的金色光线" \
  --width 1152 --height 768 \
  --num-frames 121 --frame-rate 24 \
  --output video.mp4

# 图生视频
python agnes-media/scripts/agnes_media.py video \
  --prompt "角色缓缓转身面向镜头,自然表情,电影级运镜" \
  --image-url "https://example.com/character.png" \
  --output animated.mp4

# 关键帧动画
python agnes-media/scripts/agnes_media.py video \
  --prompt "两个场景之间的平滑过渡" \
  --mo