Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

anycap-media-productionAnycap 媒体制作

Agent Skill

anycap-media-production 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

849

周安装

34

GitHub Stars

32

下载量

275
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:anycap-media-production(Anycap 媒体制作)
来源仓库:https://github.com/anycap-ai/anycap
仓库路径:skills/anycap-media-production
安装命令:
npx skills add https://github.com/anycap-ai/anycap --skill anycap-media-production
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/anycap-ai/anycap --skill anycap-media-production

简介

覆盖图像、视频、音乐和音频的全流程制作与迭代优化。

  • 支持从初始生成到交付的完整媒体资产生产链路管理。
  • 可与 human interaction 技能联动实现人机协同 refinement。
  • 需提前安装并认证 AnyCap CLI 方可调用各类媒体生成命令。
  • anycap-media-production 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

AnyCap Media Production

Read this entire file before starting. It covers the full production workflow across image, video, music, and audio -- including iterative refinement with human feedback.

Workflow guide for producing media assets with AnyCap. Covers image, video, music, and audio -- from initial generation through iterative refinement to delivery.

This skill is about how to produce media. For CLI command reference and parameters, read the anycap-cli skill.

Prerequisites

AnyCap CLI must be installed and authenticated. Read the anycap-cli skill if setup is needed.

Quick Reference

MediaGenerateRefineTypical duration
Imageanycap image generateAnnotate + image-to-image5-30s
Videoanycap video generateRe-generate with adjusted params30-120s
Musicanycap music generateRe-generate with adjusted prompt30-90s
AudioComing soon----

All generation commands follow the same pattern:

1. Discover models    anycap {cap} models
2. Check schema       anycap {cap} models <model> schema [--mode <mode>]
3. Generate           anycap {cap} generate --model <model> --prompt "..." -o output.ext

Always use -o with a descriptive filename.

Image Production

Text-to-Image

Generate an image from a text prompt:

anycap image generate \
  --prompt "a cozy home office with a wooden desk, laptop, coffee cup, and plants by the window" \
  --model nano-banana-2 \
  -o workspace-v1.png

Image-to-Image (Edit / Transform)

Use --mode image-to-image with a reference image to edit or transform an existing image:

anycap image generate \
  --prompt "make it a watercolor painting" \
  --model nano-banana-2 \
  --mode image-to-image \
  --param images=./photo.png \
  -o photo-watercolor.png

Reference images can be local paths or URLs. The CLI handles upload automatically.

Multiple Reference Images

Some models accept multiple reference images for style transfer, composition blending, or subject-driven generation. Use JSON array syntax to pass multiple files:

# Combine style from one image with composition from another
anycap image generate \
  --prompt "merge the architectural style of the first image with the color palette of the second" \
  --model nano-banana-2 \
  --mode image-to-image \
  --param images='["./style-ref.png","./color-ref.png"]' \
  -o blended.png

# Mix local files and URLs
anycap image generate \
  --prompt "a portrait in the style of the reference images" \
  --model nano-banana-2 \
  --mode image-to-image \
  --param images='["./local-ref.png","https://example.com/style-ref.jpg"]' \
  -o portrait-styled.png

Tips:

  • Use JSON array syntax '["path1","path2"]' -- repeating --param images= overwrites rather than appends.
  • Local file paths inside the array are auto-uploaded, same as single-file mode.
  • Not all models support multiple references. Check the model schema first. When unsupported, the model typically uses only the first image.

Iterative Refinement with Annotation

When text prompts alone cannot describe the desired edit precisely ("move this", "remove that specific thing", "change the color of this area"), use the annotation workflow. For the full annotation guide -- including URL/video review, headless access, recording analysis, and multi-user collaboration -- read the anycap-human-interaction skill.

graph TD
    A[Start: concept or existing image] --> B{Have an image?}
    B -->|No| C[Generate initial image]
    B -->|Yes| D[Human annotates the image]
    C --> D
    D --> E[Build prompt from annotations]
    E --> F[Generate with image-to-image]
    F --> G[Show result to human]
    G --> H{Satisfied?}
    H -->|Yes| I[Done -- deliver final asset]
    H -->|No| D

Step 1: Generate or Use an Existing Image

anycap image generate \
  --prompt "a landing page hero banner with mountains and sunrise" \
  --model nano-banana-2 \
  -o banner-v1.png

Step 2: Annotate

Open the annotation tool so the human can visually mark regions, describe desired changes, and optionally record a narrated walkthrough. Multiple users can collaborate on the same session in real-time.

For agent workflows (non-blocking, recommended):

anycap annotate banner-v1.png --no-wait -o banner-v1-annotated.png
# Returns: {session, url, poll_command, stop_command}

Show the URL to the human and ask them to annotate. Multiple people can open the same URL to collaborate. Wait for the human to confirm they are done, then:

# Fetch the result (single call, no loop)
anycap annotate poll --session <session_id>

# If recording exists, analyze it for visual understanding
anycap actions video-read --file .anycap/annotate/<session_id>/recording.webm \
  --instruction "Describe what changes the user wants"

# Clean up
anycap annotate stop --session <session_id>

For interactive sessions (human is at the terminal):

anycap annotate banner-v1.png -o banner-v1-annotated.png
# Blocks until Done click, outputs annotation JSON

The annotation tool supports four tools: Rectangle (R), Arrow (A), Point (P), Freehand (F). Each annotation gets a numbered marker and a text label.

Step 3: Build a Prompt from Annotations

The annotation output contains structured data. Translate each label into a coherent prompt:

{
  "annotations": [
    {"id": 1, "type": "rect", "label": "Replace with a standing desk"},
    {"id": 2, "type": "point", "label": "Add a cat sitting here"},
    {"id": 3, "type": "freehand", "label": "This area should be a bookshelf"}
  ]
}

Prompt: "#1: Replace the desk with a standing desk. #2: Add a cat sitting at the marked position. #3: Transform the outlined area into a bookshelf. Keep all other elements unchanged."

Rules:

  • Reference each annotation by its number (#1, #2, etc.)
  • Include the human's exact label text
  • Add "Keep all other elements unchanged" to preserve unmodified areas

Step 4: Apply the Edit

Use the annotated image (with visual markers) as the reference:

anycap image generate \
  --prompt "#1: Replace the desk with a standing desk. #2: Add a cat. Keep all other elements unchanged." \
  --model nano-banana-2 \
  --mode image-to-image \
  --param images=./banner-v1-annotated.png \
  -o banner-v2.png

Step 5: Iterate

If the human wants more changes, use the latest version as input and repeat from Step 2. Version filenames (v1, v2, v3) so the human can compare and revert.

Image Tips

  • Start broad, refine narrow. First generation nails the composition. Annotation iterations handle targeted adjustments.
  • One thing at a time. If multi-region edits produce poor results, try one annotation per pass.
  • Annotated image only. Pass only the annotated image as the reference. Most models understand numbered markers and remove them from the output.

Video Production

Text-to-Video

anycap video generate \
  --prompt "a cat walking on the beach at sunset, cinematic, slow motion" \
  --model veo-3.1 \
  -o cat-beach.mp4

Image-to-Video

Animate a still image:

anycap video generate \
  --prompt "gentle camera pan across the landscape, wind blowing through trees" \
  --model seedance-1.5-pro \
  --mode image-to-video \
  --param images=./landscape.png \
  -o landscape-animated.mp4

This is powerful for combining with image generation: generate a still image first, then animate it.

Video Production Workflow

graph LR
    A[Text prompt] --> B[Generate image]
    B --> C{Animate?}
    C -->|Yes| D[image-to-video]
    C -->|No| E[Done]
    A --> F[text-to-video]
    F --> E
    D --> E

For best results with image-to-video:

  1. Generate a high-quality still image first (iterate with annotation if needed)
  2. Use the final image as the reference for video generation
  3. Keep the video prompt focused on motion and camera movement, not scene description

Video Tips

  • Video generation takes 30-120s. Use async execution when your runtime supports it.
  • Check model schema for supported parameters (aspect_ratio, duration, etc.).
  • Different models excel at different styles. Check available models with anycap video models.

Music Production

Text-to-Music

anycap music generate \
  --prompt "upbeat electronic track with synth leads and driving bass, 120 BPM" \
  --model suno-v5 \
  -o background-track.mp3

Music generation may return multiple clips. Extract the first:

anycap music generate --prompt "..." --model suno-v5 -o track.mp3 \
  | jq -r '.outputs[0].local_path'

Music Tips

  • Be specific about genre, tempo, instruments, and mood in prompts.
  • Music generation takes 30-90s. Use async execution when possible.
  • Check model parameters via schema -- some models support duration, genre, tags.

Audio Production

Audio generation is on the roadmap and not yet available. Audio understanding (analysis) is available via anycap actions audio-read.

Delivery

When the asset is ready, deliver using the appropriate method:

# Share via Drive (generates a shareable link)
anycap drive upload banner-final.png
anycap drive share banner-final.png

# Publish as a web page
anycap page deploy ./site-directory

Multi-Media Production Example

A complete workflow producing a promotional package:

# 1. Generate hero image
anycap image generate \
  --prompt "modern SaaS dashboard with data visualizations, dark mode, purple accents" \
  --model nano-banana-2 -o hero-v1.png

# 2. Refine via annotation (agent asks human to mark changes)
anycap annotate hero-v1.png --no-wait -o hero-v1-annotated.png
# ... human annotates, agent polls result ...
anycap image generate \
  --prompt "#1: Make the chart larger. #2: Change accent color to blue." \
  --model nano-banana-2 --mode image-to-image \
  --param images=./hero-v1-annotated.png -o hero-v2.png

# 3. Create an animated version
anycap video generate \
  --prompt "slow zoom into the dashboard, data points animate in sequentially" \
  --model seedance-1.5-pro --mode image-to-video \
  --param images=./hero-v2.png -o hero-animation.mp4

# 4. Generate background music
anycap music generate \
  --prompt "ambient tech background music, minimal, clean, 90 BPM" \
  --model suno-v5 -o background-music.mp3

# 5. Deliver
anycap drive upload hero-v2.png hero-animation.mp4 background-music.mp3

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.6%
按下载量换算101

Claude

26.14%
按下载量换算72

Cursor

19.79%
按下载量换算54

Gemini CLI

8.82%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/anycap-ai/anycap --skill anycap-media-production 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills