LocalAI is an inference server that runs language, vision, voice, image, and video models through compatible APIs on local hardware. It is used to operate models privately across different hardware, including CPU-only systems, and supports applications, agents, and multi-user services. The catalogue contains instructions for using LocalAI.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mudler/LocalAI --skill media-promptinggit clone --depth 1 https://github.com/mudler/LocalAIWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mudler/localai/media-prompting)<a href="https://agentmods.dev/skills/mudler/localai/media-prompting"><img src="https://agentmods.dev/badge/skills/mudler/localai/media-prompting/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mudler/localai/media-prompting"><img src="https://agentmods.dev/badge/skills/mudler/localai/media-prompting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.01224 |
| Opus 5.5 | $0.00015 | $0.00490 |
| Sonnet 5.5 | $0.00008 | $0.00245 |
| Haiku 4.5 | $0.00004 | $0.00122 |
Grade A, and why
media-prompting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Prompting the media models
Each model family reads prompts a little differently. Read the card of the model you picked before you write the prompt. The cards are in /workspace/shared-builtin-skills/media-prompting/cards/: read one with read_file.
Loop
list_modelswith the capability (image, video, sound_generation, tts). Pick by capability and name. Never guess a name.- Find the family in the table below and read its card. No card: use the anatomy below and say that the model is untested.
- Generate once. Do not generate a batch before you have looked at the first result.
- Inspect. Image:
describe_image, and look at it. Video:ffprobeand one frame grab (load_skill assemble-media). Audio:ffprobefor the length; you cannot hear it, so say that you did not listen. - Change one thing, then generate again. Keep the
seedwhen you compare two prompts or two settings; change it only to get a different take. - Stop after a few tries. Say what worked and what did not.
Cards
| Model id contains | Card |
|---|---|
qwen-image |
cards/qwen-image.md |
minimax-h3 |
cards/minimax-h3.md |
yue2 |
cards/yue2.md |
qwen3-tts |
cards/qwen3-tts.md |
Prompt anatomy
Image: subject and what it does, style or medium, composition and camera, light, then text to render in double quotes. Say what you want, not what to avoid. One scene per prompt.
Video: shot type, subject and its motion, camera move, setting and light, length. For a clip that continues another, set start_image to the last frame of the first clip (grab it with ffmpeg) and describe only the new action. end_image fixes the last frame. If the model makes sound, say what is heard and put spoken words in quotes.
Music: caption is the style: genre, mood, instruments, voice, tempo, comma separated. lyrics is the text, with a structure tag on its own line before each section ([verse], [chorus], [bridge], [outro]). instrumental for no voice. Say the language when it is not English. Which fields a model reads depends on the model: see its card.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 21d ago First seen · 66 lines · 38 tokens per session scan A d3dc6cbb44d8
media-prompting is a skill published in the GitHub repository mudler/LocalAI (50,650 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 1,224 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-11.
media-prompting compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| media-promptingmudler/LocalAI | Skill | 51k | today | MIT | A | 38 | Claude Code, Codex |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| sglang-diffusion-performancesgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| sglang-diffusion-cache-ditsgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 161 | Claude Code, Codex |
| sglang-diffusion-modelopt-quantsgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 49 | Claude Code, Codex |
| skill-creatorunslothai/unsloth | Skill | 81k | today | Apache-2.0 | A | 26 | Claude Code |
| image-promptingunslothai/unsloth | Skill | 81k | today | Apache-2.0 | A | 23 | Claude Code |