跳到正文
Skillpedia
图片与图标101k · #1068

od-media-generation

它能做什么

这个工具可以帮你创建图片、视频或音频。它会根据你的指令生成内容,你还可以查看结果、提出修改意见,直到你满意为止。

适用场景

  • ✓为博客文章创建配图。
  • ✓为社交媒体生成一段短视频。
  • ✓为播客制作音频。

技能链接

https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-media-generation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-media-generation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“生成一张火星上的猫咪宇航员图片,宽高比为 16:9。”

每周 5 个新技能,1 分钟读完。

工作原理

你描述想要的内容(图片、视频或音频),工具会根据这段描述生成内容。之后,你可以给出评分和反馈,让它重新生成,从而改进结果。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

od-media-generation (scenario)

This scenario plugin is the bundled default for projects whose metadata.kind is image, video, or audio. The web client and the daemon both look up defaultScenarioPluginIdForKind(kind) from @open-design/contracts and, when no other plugin is applied, bind this scenario at project / run creation time.

Default pipeline

{
  "stages": [
    { "id": "discovery", "atoms": ["discovery-question-form"] },
    { "id": "plan",      "atoms": ["todo-write"] },
    { "id": "generate",  "atoms": ["media-image", "media-video", "media-audio", "live-artifact"] },
    {
      "id": "critique", "atoms": ["critique-theater"],
      "repeat": true,
      "until": "critique.score>=4 || iterations>=3"
    }
  ]
}

The generate stage lists all three media atoms even though a single run only calls one of them. Picking the right atom is the agent's job:

  • metadata.kind === 'image' → media-image
  • metadata.kind === 'video' → media-video
  • metadata.kind === 'audio' → media-audio

If the user picks this plugin manually without a media-typed project, prefer media-image and explain the assumption in the first reply.

Atom call shape

Every media atom takes the same kernel of inputs and returns a media artifact reference that live-artifact can wrap:

  • prompt — the rendered useCase.query after input substitution.
  • aspect — one of 1:1 / 16:9 / 9:16 / 4:3 / 3:4. Default 16:9. The contracts MediaAspect union enumerates the legal values.
  • provider — left blank by default so the daemon picks the user's configured provider for this media kind (see Settings → Media providers). Only set this when the user names a provider explicitly.

After the media atom returns:

  1. Save the binary into <cwd>/media/<timestamp>.<ext>.
  2. Call live-artifact to register a preview surface pointing at the saved file. The preview is what the user sees in the right pane.

Critique loop

critique-theater reads the artifact, scores it across the standard five dimensions, and emits a critique.score signal. The until clause stops the loop at score ≥ 4 or three iterations, whichever comes first. Use the critique notes to drive the next media call's prompt, not to re-pick the media atom.

Replace, do not extend

Enterprise editions that need a different default for media work should ship a sibling scenario plugin and add the right mapping in @open-design/contracts/scenario-defaults, not patch this manifest.

常见问题

AI 怎么知道该生成图片、视频还是音频?

它通常会根据你正在做的项目类型来判断。如果不确定,它可能会先询问你,或者默认生成图片。

什么是“critique-theater”?

这是 AI 评价自己作品的一个步骤。你也可以提出自己的看法,让它改进结果。

我可以选择画质或风格吗?

你可以通过描述(提示词)影响风格。画质会被评估,AI 会根据你的评分尝试改进。

详情

作者的原始描述

Default reference pipeline for image, video, and audio projects — routes through media-image / media-video / media-audio atoms based on the project kind, wraps the output in a live artifact, and devloops on critique-theater until the score converges.

repo: nexu-io/open-design

热度

GitHub 星标
101k
排名
#1068
许可证
Apache-2.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能