图片与图标18k · #10743
media-production
它能做什么
这个技能帮助 AI 智能体为你创建和编辑视觉与音频素材。适合需要制作或修改图片、图形、语音或短视频片段的人。
适用场景
- ✓当你希望根据文字描述生成图片时。
- ✓当你需要根据你的素材制作分层照片编辑或矢量插图时。
- ✓当你需要为项目制作旁白或简短动态图形时。
技能链接
https://github.com/leon-ai/leon/blob/develop/skills/agent/media-production/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/leon-ai/leon/blob/develop/skills/agent/media-production/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add leon-ai/leon --skill media-production
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/leon-ai/leon/develop/skills/agent/media-production/SKILL.md -o SKILL.md
可以这样问 AI
“请帮我制作一组三张方形产品图,并检查它们看起来是否正确。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会为媒体类型选择合适的工具,当有多个提供方可用时,会询问使用哪一个。它会生成文件、检查结果,并在交付前修正问题。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Media Production
- Establish the desired output, duration, aspect ratio and supplied reference material. A single image or speech request usually needs only its generation tool.
- For hosted image generation, use
media_production.image.generatewith the desired prompt and output options; Core resolves tool settings, inheriting the active conversation provider by default. Ifselection_requiredis returned, ask the owner which available provider to use; never silently switch accounts. Useconfigureonly when they request a saved preference. Inspectcapabilities.defaultswhen setup needs diagnosis. ReservegenerateWithModelfor an explicitly owner-requested provider/model; never pick an older model from memory or bypass a default after an error. - Generate image assets with
media_production.image. Use existingmusic_audiospeech tools for narration and owner-supplied audio or video clips for other media assets. - For local production, use
media_production.photocraftfor layered raster edits,vectorcraftfor vector artwork,hyperframesfor motion graphics and animated compositions,filmcraftfor timelines, andlightcraftfor photo development. These tools run headlessly; PhotoCraft desktop control is optional. Discover commands and parameter schemas, inspect the source, and try the supported editing operation before replacing it with a custom shell pipeline. Use shell for unsupported work, not as a substitute for an untried editing tool. Validate one representative asset before applying a shared treatment to the whole set. Use returned object/media IDs, preserve originals and keep referenced media at absolute paths. Select persistent LightCraft libraries only when the owner requests library work. - For motion graphics, choose composition, visual style, pacing and animation techniques from the request and reference material. Combine text, shapes, SVG, images and other suitable assets as needed, keeping content readable at the intended viewing size. Use
hyperframes.createfor a new project and the file tool to author HTML, CSS and scene timelines. Reuse catalog components when they fit, or author custom motion. Adapt the scaffold's example styling, scene count and duration to the work. Preserve supplied source by working in a copy. Tool guidance owns the composition and animation contract. - Batch independent grounding reads and author related files together. Use
hyperframes.inspectto ground scene timing, thenhyperframes.checkwithoptions.mode=lintto catch source errors cheaply. During repairs usemode=targetedwith affectedtimesand preview neighboring frames; verify text fit, safe margins and continuity. On the final source run the default full check and requirescope=full,complete=trueandchecks.ok=true. Targeted/lint success is partial evidence. Independent checks and previews may run together once source is stable; never edit files while they are being inspected. Reuse current-run evidence and successful checks while relevant source/assets are unchanged. Render delivery quality once and review that exact video for motion, pacing and audio; use a separate draft only when useful for unresolved motion. Rerender only after changes or an observed defect. Passing checks or looking at a still frame alone cannot establish that a video is ready to share. - Preview representative composition positions in a batch and compare them with the brief. Use existing FFmpeg and FFprobe tools for conversion and artifact validation; batch independent conversion, metadata and decode checks. Review the exact delivery video in one playback surface, respecting any owner-selected application. Observe advancing time or frames rather than a narrow timestamp window. Record evidence for motion, pacing, audio and other requested properties, then stop inspecting once each is verified. After an edit, repeat only checks whose source or assets changed; contradictory evidence requires reassessment. Wait for background renders to complete before delivery.
- A disconnected browser or failed window capture does not establish a media defect. Reconnect once or use one independent supported playback method. Avoid opening additional players, traversing unrelated windows or restarting servers to reconfirm evidence already obtained. Rerender or repeat source checks only for an observed artifact defect or changed source/assets. If playback review remains unavailable, deliver the available outputs and iden
常见问题
智能体会替我选择图片提供方吗?
不会,除非先询问你。如果有多个提供方可用,它会问你使用哪一个。
它能编辑我现有的照片吗?
可以。它可以根据你提供的素材进行分层的像素编辑和照片调整。
交付前会检查结果吗?
会。它会检查生成的媒体文件,只在需要修正时才重试。
详情
作者的原始描述
Generate and edit images, vector artwork, photos, audio and video; inspect results and deliver finished artifacts.
repo: leon-ai/leon
热度
- GitHub 星标
- 18k
- 排名
- #10743
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …