360 Secure SkillHub
360 安全技能中心

pruna-run

pruna-run是快速生成入口,核心功能为根据用户单prompt选择最短生成链路,支持普通/高清图片、图片转视频、头像生成。适用于快速单次生成需求,不适用于多场景编辑、现有图片修改等。输入为生成prompt,输出为对应内容URL,执行时校验密钥、应用多样性规则,头像生成需先获用户批准,还会记录信息保障复现性。

pruna-ai
pruna-ai
热度 18.98
最近更新 2026-07-16 21:34:39
分类:创作依赖:第三方 API / 读写文件 / MCP 服务 / 内部调用大模型应用场景:图像生成 / 视频编辑

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pruna-run
Metadata
name
pruna-run
description
Use when the user wants a quick single-shot generation with minimal intake—one image, video clip, or avatar call from a prompt without a full multi-step plan.
license
MIT
metadata
{"version":"1.0.1"}

pruna-run (fast entrypoint)

Use this when the user wants immediate execution from one incoming prompt — agent routing only (no bundled CLI runner).

Before any API call: generation-diversity.md (random seed ritual / SSoT + axis rotation).

Before paid calls: requesting-generation-feedback.

When NOT to use

  • Multi-scene plans with approval gates → use a workflow skill (avatar-multi-scene, music-video, …)
  • Editing an existing image → p-image-edit
  • Recipe menus or multi-step chains → pruna-generative-pipeline

What it does

Read the user's prompt and pick the shortest chain:

Route When Chain
image Still only, fastest draft p-image
image-hq Still only, high-quality photoreal p-image-ideogram
i2v Motion from a still p-image or p-image-ideogram → p-video
avatar Talking head p-image or p-image-ideogram → p-video-avatar

Agent execution

  1. Confirm PRUNA_API_KEY is set (and REPLICATE_API_TOKEN only if the chosen route needs Replicate).
  2. Apply generation-diversity.md — ritual seed + axis rotation before the first generation.
  3. Route from the table above; follow the linked tool skill for HTTP payloads and async polling.
  4. For avatar: draft natural voice_script + realistic voice_prompt; get user approval before p-video-avatar.
  5. Log prompts, seeds, and output URLs in a short manifest.json beside outputs for reproducibility.

Notes