media-prompting
Skill by mudler
Guides an AI assistant in writing prompts for the image, video, sound and speech generation tools. It covers per-model cards, a generate-and-inspect loop, and what to refuse or redirect. Meant for assistants that produce media with these tools.
Install media-prompting
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mudler/LocalAI /tmp/LocalAI && mkdir -p ~/.claude/skills && cp -r /tmp/LocalAI/core/services/studio/builtinskills/tree/media-prompting ~/.claude/skills/media-promptingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mudler/LocalAI /tmp/LocalAI && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/LocalAI/core/services/studio/builtinskills/tree/media-prompting ~/.gemini/antigravity-cli/skills/media-promptingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The media-prompting skill gives an assistant guidance for writing prompts for the generate_image, generate_video, generate_sound and speak tools. It explains that each model family reads prompts differently, and points to a model card to read before writing a prompt. It also covers prompt structure for images, video, music and speech, and what settings such as steps, guidance, size, seed and duration do.
The skill sets a loop: pick a model with list_models, generate once, inspect the result, then change one thing at a time. Images are checked with describe_image, videos with ffprobe and a frame grab, and audio only for its length, since the assistant cannot hear it. It is written for assistants that make media with these tools, and it includes steps for adding a new model card.
Written from the project's SKILL.md and checked against it.
What it can do
- list_modelsLists available models for a capability such as image, video, sound_generation or tts.
- generate_imageGenerates an image from a prompt, following the image prompt anatomy in the skill.
- generate_videoGenerates a video clip, with optional start_image and end_image frames.
- generate_soundGenerates music from a caption (style) and lyrics with structure tags.
- speakGenerates speech from text, with optional language, instructions and voice settings.
- describe_imageUsed to inspect a generated image after it is made.
- ffprobeUsed to check the length of generated video and audio files.
- Model cardsPer-family cards for qwen-image, minimax-h3, yue2 and qwen3-tts with prompt shapes and settings.
What you need
- ffprobe and ffmpeg for checking and grabbing frames from media
- ImageMagick, via the assemble-media skill, for adding text to images
- Installed models for the requested capability, from the model gallery
Try asking
- Write an image prompt for a city street at dusk, with a title in quotes
- Plan a 5 second video of a dog running on a beach with a slow pan
- Write a short song caption and lyrics with verse and chorus tags
Good to know
- The assistant cannot hear generated audio and says so when checking it
- There is no tool to edit a video, change a song or clone a voice
- Characters are not kept the same across separate generations without reference images
- Real people, living artists' styles and private voices are not to be imitated
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: core/services/studio/builtinskills/tree/media-prompting/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
cards/minimax-h3.md1 KB -
cards/qwen-image.md1 KB -
cards/qwen3-tts.md1 KB -
cards/yue2.md1 KB
Alternatives to media-prompting
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
Compare with intelligence-vocabulary, media-use or media_library
media-prompting: common questions
Which models does the skill have cards for?
The skill lists cards for qwen-image, minimax-h3, yue2 and qwen3-tts. For a model without a card, the source says to use the general anatomy and call the model untested.
Does the skill generate media itself?
No. It guides prompt writing and the check-and-retry loop for the generation tools, and relies on those tools and the installed models to produce the output.
What should the assistant do when text in an image is wrong?
The source says exact text is unreliable in generated images. The assistant should say so and offer to add text afterwards with ImageMagick through assemble-media.
How do I install media-prompting?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is media-prompting free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is media-prompting safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to media-prompting?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
