Agent skill

Generate Media

by zhaihao118 in zhaihao118/Micro-Drama-Skills

短剧媒体生成技能。根据已生成的单部作品目录,调用 Google Gemini API(单一可配置图片模型生成角色图/分镜图),将生成的图片存放到对应各集目录下。支持视觉风格预设配置。关键词:图片生成、Gemini、Google API、分镜图片、角色参考图、media generation、视觉风格。

No licenceAuto-check passedMedia & Creative

Install Generate Media

skills CLI
$ npx skills add zhaihao118/Micro-Drama-Skills --skill generate-media -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zhaihao118/Micro-Drama-Skills generate-media --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zhaihao118/Micro-Drama-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/generate-media .claude/skills/generate-media && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
generate-media
GitHub stars
317
Token cost
~5.4k tokens
SKILL.md length
391 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

短剧媒体生成技能。根据已生成的单部作品目录,调用 Google Gemini API(单一可配置图片模型生成角色图/分镜图),将生成的图片存放到对应各集目录下。支持视觉风格预设配置。关键词:图片生成、Gemini、Google API、分镜图片、角色参考图、media generation、视觉风格。

  • Works in 5 steps: API 配置 → Python 依赖 → 已有作品目录 → …
  • Media & Creative work in your project
  • SKILL.md covers 概述, 前置条件, 执行流程 and 两阶段生成流程详解, plus 4 more sections
  • Calls python3 and pip; reaches generativelanguage.googleapis.com; needs GEMINI_API_KEY

What it does

Generate Media is an agent skill from zhaihao118/Micro-Drama-Skills. 短剧媒体生成技能。根据已生成的单部作品目录,调用 Google Gemini API(单一可配置图片模型生成角色图/分镜图),将生成的图片存放到对应各集目录下。支持视觉风格预设配置。关键词:图片生成、Gemini、Google API、分镜图片、角色参考图、media generation、视觉风格。

Its SKILL.md is about 5.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative. It works with Google Gemini. The repository describes itself as: AI 驱动的短剧全流程自动化制作系统。通过 Claude Skills 实现从剧本编写、角色设计、分镜生成到视频提交的完整工作流。

When your agent uses it

  • Media & Creative work in your project

Example prompts

  • “/generate-media”

Requirements

  • Python 3
  • A credential in GEMINI_API_KEY

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. API 配置
  2. Python 依赖
  3. 已有作品目录
  4. 角色参考图生成(当前标准)
  5. 分镜图片生成(当前标准)

What it can do on your machine

Read from SKILL.md and the folder at commit b3a521f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • generativelanguage.googleapis.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GEMINI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Generate Media loads about 5.4k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 391 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~5.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 391 words (~5,406 tokens).

name
generate-media

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/generate-media of zhaihao118/Micro-Drama-Skills.

Open the folder on GitHubat commit b3a521f

Compare with similar skills

Generate Media next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Generate Media compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Generate Media this skillzhaihao118/Micro-Drama-Skills317—~5.4kAutomated safety check: PassNone
Chatgpt Image Adkrusemediallc/arcads-claude-code1.6k—~2.7kAutomated safety check: NotesMIT
Gemini Ttsiurysza/module-graph420—~968Automated safety check: PassMIT
Transcribecomol/ai_rules_1c481—~960Automated safety check: NotesNone
Gemini Audioeinverne/dotfiles121—~2kAutomated safety check: NotesMIT
Gemini Video Understandingbenchflow-ai/skillsbench1.8k—~2.4kAutomated safety check: PassApache-2.0

Similar skills

  • Chatgpt Image Ad

    krusemediallc/arcads-claude-code

    Generate one or more standalone Meta image-ad creatives via ChatGPT Image 2 (gpt-image-2) through the Arcads external API.

    1.6k GitHub stars~2.7k tokensUpdated 18 days ago
    Media & CreativeAuto-check: notes
  • Gemini Tts

    iurysza/module-graph

    Generates spoken MP3 audio from text or Markdown with Gemini TTS.

    420 GitHub stars~968 tokensUpdated 3 days ago
    Media & CreativeAuto-check passed
  • Transcribe

    comol/ai_rules_1c

    Transcribe video and audio files via Gemini API. An agent skill from comol/ai_rules_1c.

    481 GitHub stars~960 tokensUpdated 3 days ago
    Media & CreativeAuto-check: notes
  • Gemini Audio

    einverne/dotfiles

    Guide for implementing Google Gemini API audio capabilities - analyze audio with transcription, summarization, and understanding (up to 9.5 hours), plus generate speech with controllable TTS.

    121 GitHub stars~2k tokensUpdated 1 mo ago
    Media & CreativeAuto-check: notes
  • Gemini Video Understanding

    benchflow-ai/skillsbench

    Analyze videos with Google Gemini API (summaries, Q&A, transcription with timestamps + visual context, scene/timeline detection, video clipping, FPS control, multi-video comparison, and YouTube URL…

    1.8k GitHub stars~2.4k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed
  • Gemini Yt Video Transcript

    sundial-org/awesome-openclaw-skills

    Create a verbatim transcript for a YouTube URL using Google Gemini (speaker labels, paragraph breaks; no time codes).

    663 GitHub stars~293 tokensUpdated 7 mo ago
    Media & CreativeAuto-check passed

More from zhaihao118/Micro-Drama-Skills

  • Produce Anime

    zhaihao118/Micro-Drama-Skills

    短剧制作技能。用于生成完整短剧作品,包括剧本编写、角色设计、9宫格分镜、故事板配置。每次运行生成1部作品(25集,每集30秒=上下两部分各15秒,每部分9宫格分镜)。关键词:短剧、影视、drama、剧本、分镜、storyboard、角色设计。

    317 GitHub stars~4.8k tokensUpdated 7 mo ago
    Auto-check passed
  • Submit Anime Project

    zhaihao118/Micro-Drama-Skills

    整部作品提交技能。读取全剧 seedanceprojecttasks.json,按 Seedance 任务提交协议批量推送到 /api/tasks/push,并生成提交报告。关键词:提交任务、Seedance、批量推送、整部作品、task submit、api/tasks/push。

    317 GitHub stars~1.2k tokensUpdated 7 mo ago
    Auto-check passed
  • Produce Mv

    zhaihao118/Micro-Drama-Skills

    MV制作技能。根据歌曲歌词或已有MV剧本,结合用户提供的角色/场景参考图片(支持读取指定文件夹),生成完整MV分镜、故事板配置和Seedance视频生成任务。关键词:MV、音乐视频、Music Video、分镜、歌词、storyboard、视频生成。

    317 GitHub stars~6k tokensUpdated 7 mo ago
    Auto-check passed

Works with

Questions about Generate Media

What does Generate Media do?

短剧媒体生成技能。根据已生成的单部作品目录,调用 Google Gemini API(单一可配置图片模型生成角色图/分镜图),将生成的图片存放到对应各集目录下。支持视觉风格预设配置。关键词:图片生成、Gemini、Google API、分镜图片、角色参考图、media generation、视觉风格。. Generate Media is an agent skill from zhaihao118/Micro-Drama-Skills.

When should I use Generate Media?

Generate Media fits situations like: media & Creative work in your project.

How do I install Generate Media in Claude Code?

Run `npx skills add zhaihao118/Micro-Drama-Skills --skill generate-media -a claude-code`. Or copy the skill folder (.claude/skills/generate-media in zhaihao118/Micro-Drama-Skills) into .claude/skills/generate-media in your project. Claude Code loads it when a task matches its description.

How do I install Generate Media in Codex?

Run `npx skills add zhaihao118/Micro-Drama-Skills --skill generate-media -a codex`. Or copy the skill folder (.claude/skills/generate-media in zhaihao118/Micro-Drama-Skills) into .agents/skills/generate-media in your project. Codex loads it when a task matches its description.

Can I use Generate Media in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zhaihao118/Micro-Drama-Skills --skill generate-media -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/generate-media, .gemini/skills/generate-media, .github/skills/generate-media and .opencode/skills/generate-media in your project.

What does Generate Media need to run?

Going by SKILL.md and its folder, Generate Media needs the command-line tools its instructions call (python3 and pip) and credentials named GEMINI_API_KEY. Our summary lists: Python 3; A credential in GEMINI_API_KEY.

Does Generate Media access the network?

SKILL.md names 1 domain. In commands or code: generativelanguage.googleapis.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Generate Media safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Generate Media use?

No licence was found for Generate Media or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Generate Media use?

About 5.4k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Generate Media?

Skills that share tags, products or a category with Generate Media: Chatgpt Image Ad (krusemediallc/arcads-claude-code, 1.6k stars), Gemini Tts (iurysza/module-graph, 420 stars), Transcribe (comol/ai_rules_1c, 481 stars) and Gemini Audio (einverne/dotfiles, 121 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Generate Media?

zhaihao118 (a GitHub user) maintains it in zhaihao118/Micro-Drama-Skills, which has 317 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on February 23, 2026.

Source: zhaihao118/Micro-Drama-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.