anycap-media-production
Skill43 starsChanged 4 months agoMITView on GitHub
Produce media assets using AnyCap: generate images, videos, music, speech, dialogue, and complete audio scenes from text or reference inputs, refine images through interactive visual annotation, and deliver finished assets. Covers the full production workflow from concept to delivery across all media types (image, video, music, audio). Use when creating images, videos, music, voice content, dialogue, complete audio scenes, or any visual/audio content -- including iterative refinement with human feedback. Also use for image-to-image transformation, video generation from images, audio generation from references, and annotation-driven precise edits. Trigger on: media production, asset generation, generate image/video/music/audio, create visual content, produce assets, iterative image editing, annotate and refine, creative workflow, content creation, or any task requiring AI-generated media output.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- anycap-ai-tool-seoSkill
- anycap-blog-productionSkill
- anycap-cliSkill
- anycap-deepresearchSkill
- anycap-gemini-omni-video-editSkill
- anycap-human-interactionSkill
- anycap-social-meme-workflowsSkill
- anycap-worldcup-predictSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 9 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
All generation commands follow the same pattern:
- Very specific: line 40
Always choose model IDs from the live model catalog and inspect the schema for the selected mode before relying on model-specific …
- Very specific: line 59
Use --mode image-to-image with a reference image to edit or transform an existing image:
- Very specific: line 95
Use JSON array syntax '["path1","path2"]' -- repeating --param images= overwrites rather than appends.
- Distinctive: line 97
Not all models support multiple references.
- Distinctive: line 179
Add "Keep all other elements unchanged" to preserve unmodified areas
- Distinctive: line 183
Use the annotated image (with visual markers) as the reference:
- Very specific: line 196
If the human wants more changes, use the latest version as input and repeat from Step 2.
- Distinctive: line 201
One thing at a time: If multi-region edits produce poor results, try one annotation per pass.
- Distinctive: line 245
Use the final image as the reference for video generation
- Distinctive: line 246
Keep the video prompt focused on motion and camera movement, not scene description
- Very specific: line 251
Check model schema for supported parameters (aspect_ratio, duration, etc.).
- Very specific: line 276
Check model parameters via schema -- some models support duration, genre, tags.
- Distinctive: line 310
Use the live schema for reference limits and audio controls.
- Distinctive: line 314
When the asset is ready, deliver using the appropriate method:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
| Media | Generate | Refine | Typical duration |
| Image | anycap image generate | Annotate + image-to-image | 5-30s |
| Video | anycap video generate | Re-generate with adjusted params | 30-120s |
| Music | anycap music generate | Re-generate with adjusted prompt | 30-90s |
| Audio | anycap audio generate | Re-generate with adjusted prompt or references | Model-dependent |
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.extAlways choose model IDs from the live model catalog and inspect the schema for
the selected mode before relying on model-specific parameters. 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 <model-id> \
-o workspace-v1.pngImage-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 <model-id> \
--mode image-to-image \
--param images=./photo.png \
-o photo-watercolor.pngReference 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 <model-id> \
--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 <model-id> \
--mode image-to-image \
--param images='["./local-ref.png","https://example.com/style-ref.jpg"]' \
-o portrait-styled.pngTips:
- 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| DStep 1: Generate or Use an Existing Image
anycap image generate \
--prompt "a landing page hero banner with mountains and sunrise" \
--model <model-id> \
-o banner-v1.pngStep 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 JSONThe 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 <model-id> \
--mode image-to-image \
--param images=./banner-v1-annotated.png \
-o banner-v2.pngStep 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 <model-id> \
-o cat-beach.mp4Image-to-Video
Animate a still image:
anycap video generate \
--prompt "gentle camera pan across the landscape, wind blowing through trees" \
--model <model-id> \
--mode image-to-video \
--param images=./landscape.png \
-o landscape-animated.mp4This 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 --> EFor best results with image-to-video:
- Generate a high-quality still image first (iterate with annotation if needed)
- Use the final image as the reference for video generation
- 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 <model-id> \
-o background-track.mp3Music generation may return multiple clips. Extract the first:
anycap music generate --prompt "..." --model <model-id> -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 covers speech synthesis, dialogue, and complete audio scenes generated from text or reference media. A scene can combine voices, background music, ambience, and sound effects; use the separate music capability when the deliverable is primarily a song or instrumental track.
# Discover live modes and controls first
anycap audio models <model-id> schema --mode text-to-audio
# Generate speech with supporting ambience from text
anycap audio generate \
--prompt 'A calm narrator says: "Welcome to the evening program." Soft room ambience underneath.' \
--model <model-id> \
--mode text-to-audio \
-o evening-introduction.mp3
# Guide a new voice performance with reference audio
anycap audio generate \
--prompt "create a new spoken welcome with the reference delivery style" \
--model <model-id> \
--mode audio-to-audio \
--param audios=./reference.wav \
-o guided-welcome.mp3
# Create a narrated audio scene from an image
anycap audio generate \
--prompt "a guide describes this scene while matching ambience plays underneath" \
--model <model-id> \
--mode image-to-audio \
--param images=./scene.png \
-o narrated-scene.mp3Use the live schema for reference limits and audio controls. Local reference files are uploaded automatically. The JSON output preserves duration, size, subtitle, and usage data when the provider returns them.
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-directoryMulti-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 <image-model-id> -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 <image-model-id> --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 <video-model-id> --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 <music-model-id> -o background-music.mp3
# 5. Deliver
anycap drive upload hero-v2.png hero-animation.mp4 background-music.mp3Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

