Loading...
Loading...
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.
npx skill4agent add anycap-ai/anycap anycap-media-productionRead this entire file before starting. It covers the full production workflow across image, video, music, and audio -- including iterative refinement with human feedback.
anycap-clianycap-cli| Media | Generate | Refine | Typical duration |
|---|---|---|---|
| Image | | Annotate + image-to-image | 5-30s |
| Video | | Re-generate with adjusted params | 30-120s |
| Music | | Re-generate with adjusted prompt | 30-90s |
| Audio | | Re-generate with adjusted prompt or references | Model-dependent |
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-oanycap 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.png--mode image-to-imageanycap image generate \
--prompt "make it a watercolor painting" \
--model <model-id> \
--mode image-to-image \
--param images=./photo.png \
-o photo-watercolor.png# 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.png'["path1","path2"]'--param images=anycap-human-interactiongraph 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| Danycap image generate \
--prompt "a landing page hero banner with mountains and sunrise" \
--model <model-id> \
-o banner-v1.pnganycap annotate banner-v1.png --no-wait -o banner-v1-annotated.png
# Returns: {session, url, poll_command, stop_command}# 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>anycap annotate banner-v1.png -o banner-v1-annotated.png
# Blocks until Done click, outputs annotation JSONRAPF{
"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"}
]
}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.pngv1v2v3anycap video generate \
--prompt "a cat walking on the beach at sunset, cinematic, slow motion" \
--model <model-id> \
-o cat-beach.mp4anycap 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.mp4graph 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 --> Easpect_ratiodurationanycap video modelsanycap music generate \
--prompt "upbeat electronic track with synth leads and driving bass, 120 BPM" \
--model <model-id> \
-o background-track.mp3anycap music generate --prompt "..." --model <model-id> -o track.mp3 \
| jq -r '.outputs[0].local_path'durationgenretags# 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.mp3# 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# 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.mp3