Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 91
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-prompting

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install media-prompting in Claude Code

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

A

No 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 →

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.

media-prompting Install

Add to stack

Loading.