Communitygithub.com

PrunaAI/pruna-skills

在任何 Pruna 或 Replicate HTTP 调用之前使用——凭证管理、上传/轮询/下载、并行批次以及代理安全。

pruna-skills 是什么?

该技能为 Pruna P-API 和 Replicate(音频工具)的 HTTP 调用提供核心支持,是所有 Pruna 付费 POST 请求的前置依赖。它整合了 API 凭证设置(如 PRUNA_API_KEY 和 REPLICATE_API_TOKEN)、文件上传、任务轮询、结果下载以及并行异步批处理等关键操作。技能文档通过明确的检查清单和参考文件,指导开发者在使用不安全仓库或执行付费调用前进行安全审查。此外,它还包含一个完整的“不使用场景”对照表,帮助开发者根据具体需求选择其他专用技能(如图像生成、视频制作等),避免误用。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/PrunaAI/pruna-skills/tree/HEAD/skills/guides/pruna-api

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Pruna API

HTTP 模式,适用于 Pruna P-API 和 Replicate(音频工具)。在进行来自 Pruna 工具技能的付费 POST 调用前,请先安装此技能。

安装

技能描述安装命令
pruna-api在任何 Pruna 或 Replicate HTTP 调用之前使用——凭证管理、上传/轮询/下载、并行批次以及代理安全。npx skills add PrunaAI/pruna-skills@pruna-api -y
generation-diversity在撰写任何生成式提示时使用——仪式化种子、显式结构、场景轴以及付费 API 调用前的质量门控。npx skills add PrunaAI/pruna-skills@generation-diversity -y

使用时机

  • 设置 PRUNA_API_KEY / Replicate 令牌
  • 上传文件、轮询预测、下载输出
  • 并行异步多场景批处理
  • 在启用不安全仓库中的技能前进行安全审查

代理行为习惯

在首次回复中,用反引号标注 `pruna-api`。在任何付费 POST 调用前,根据需要确认 PRUNA_API_KEY 和/或 REPLICATE_API_TOKEN。如果媒体路径、语音或品牌仍不确定,请先打开 intake → 在上传前进行 generation-diversity 澄清 intake。请勿自行发明模型负载——请使用匹配的工具技能。

何时不使用

请改用其他技能:

技能描述安装命令
p-image-ideogram当照片生成需要更多控制时使用——照片级真实结果、图像内文字,或包含十六进制颜色和边界框的结构化 JSON。更简单的照片生成、编辑和视频请使用套件中的其他技能。npx skills add PrunaAI/pruna-skills@p-image-ideogram -y
p-image当有人明确想要最快、最便宜的照片生成时使用——情绪板、批量面板或快速迭代——不需要受控的照片级真实或图像内文字时。npx skills add PrunaAI/pruna-skills@p-image -y
p-video-2-pro当有人想要从文本或起始/结束帧生成电影级片段时使用——产品广告、纪录片镜头或带生成音频的对话。不适用于 1080p、导入音轨或仅含讲话人的主持人。npx skills add PrunaAI/pruna-skills@p-video-2-pro -y
p-video-2当有人想要从文本、图像或导入音频生成精修短片时使用——1080p B-roll、起始/结束帧动画或混合音轨的运动镜头。不适用于电影级生成音频片段或仅含讲话人的主持人。npx skills add PrunaAI/pruna-skills@p-video-2 -y
p-video当有人想要从文本或图像生成简单的短片段时使用——快速 B-roll、草稿或起始/结束帧动画。当需求需要电影级生成、最高质量、严格唇形同步或以 1080p 导入音频时,请勿使用。npx skills add PrunaAI/pruna-skills@p-video -y
generation-diversity在撰写任何生成式提示时使用——仪式化种子、显式结构、场景轴以及付费 API 调用前的质量门控。npx skills add PrunaAI/pruna-skills@generation-diversity -y
video-editing当使用 ffmpeg 组装或精修已渲染片段时使用——拼接、淡入淡出、烧录字幕、文本/Logo 叠加、前后对比滑条、背景音乐轨道、平台导出——或在使用 Hyperframes 合成多层 HTML 组合视频时使用。不适用于 AI 视频生成、提示词编写或基于模型的视频编辑。npx skills add PrunaAI/pruna-skills@video-editing -y

生成前准备

  1. API 凭证 — 密钥缺失时的注册和环境变量设置。
  2. 代理安全 — 在不安全上下文中进行上传或付费调用之前。
  3. pruna-api.md — 创建、轮询、下载、并行批处理。
  4. Replicate 工具 → replicate-api.md。
  5. 模型索引 → pruna-models.md。

相关技能

当任务需要时,安装相关技能:

技能描述安装命令
p-image-ideogram当照片生成需要更多控制时使用——照片级真实结果、图像内文字,或包含十六进制颜色和边界框的结构化 JSON。更简单的照片生成、编辑和视频请使用套件中的其他技能。npx skills add PrunaAI/pruna-skills@p-image-ideogram -y
p-image当有人明确想要最快、最便宜的照片生成时使用——情绪板、批量面板或快速迭代——不需要受控的照片级真实或图像内文字时。npx skills add PrunaAI/pruna-skills@p-image -y
p-video-2-pro当有人想要从文本或起始/结束帧生成电影级片段时使用——产品广告、纪录片镜头或带生成音频的对话。不适用于 1080p、导入音轨或仅含讲话人的主持人。npx skills add PrunaAI/pruna-skills@p-video-2-pro -y
p-video-2当有人想要从文本、图像或导入音频生成精修短片时使用——1080p B-roll、起始/结束帧动画或混合音轨的运动镜头。不适用于电影级生成音频片段或仅含讲话人的主持人。npx skills add PrunaAI/pruna-skills@p-video-2 -y
p-video当有人想要从文本或图像生成简单的短片段时使用——快速 B-roll、草稿或起始/结束帧动画。当需求需要电影级生成、最高质量、严格唇形同步或以 1080p 导入音频时,请勿使用。npx skills add PrunaAI/pruna-skills@p-video -y

或者一次安装完整套件:npx skills add PrunaAI/pruna-skills@pruna -y

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

PrunaAI/pruna-skills

Use when someone needs spoken narration or voiceover — explainer tracks, documentary lines, or voice to pair with generated video.

PrunaAI/pruna-skills

Use when someone wants an original AI song with vocals — sung lyrics, a style prompt track, or source audio for a music video.

PrunaAI/pruna-skills

Use when someone needs word-level timestamps from audio — lyric alignment, cut-safe line boundaries, or caption source timing before burn-in with video-editing.

PrunaAI/pruna-skills

Use when assembling or polishing already-rendered clips with ffmpeg — concat, crossfades, burned captions and subtitles, text/logo overlays, before/after sliders, background music beds, platform export — or when composing a multi-layer HTML combination video with Hyperframes. Not for AI video generation, prompt craft, or model-based video edits.

PrunaAI/pruna-skills

Use when crafting video or motion prompts for any generative model — dramaturgy, camera, physics-safe motion, frame anchors, and clip chaining.

PrunaAI/pruna-skills

Use when someone wants to edit an existing photo — change outfits or backgrounds, compose from reference images, or apply prompt-driven edits.

PrunaAI/pruna-skills

Use when someone explicitly wants the fastest, cheapest photo generation — mood boards, bulk panels, or quick iterations — not when controlled photoreal or in-image text is needed.

PrunaAI/pruna-skills

Use when someone wants virtual try-on — dress a person in clothes from reference photos for fashion or ecommerce.

PrunaAI/pruna-skills

Use when installing the full Pruna generative media suite — all guides, tools, and workflows in one package.

PrunaAI/pruna-skills

Use when someone wants a cinematic clip from text or start/end frames — product ads, documentary shots, or dialogue with generated audio. Not for 1080p, imported audio tracks, or talking-head-only hosts.

PrunaAI/pruna-skills

Use when someone wants a polished short clip from text, images, or imported audio — 1080p B-roll, start/end frame animation, or a motion shot with a mixed track. Not for cinematic generated-audio clips or talking-head-only hosts.

PrunaAI/pruna-skills

Use when someone wants to edit an existing video with a text instruction — recolor, restyle, remove or add objects, change environment or lighting, update on-screen text, or apply optional reference-guided product and accessory edits. Not for a new clip from scratch or ffmpeg assembly.

PrunaAI/pruna-skills

Use when someone wants a simple short clip from text or images — quick B-roll, drafts, or start/end frame animation. Not when the brief needs cinematic generation, highest quality, tight lip-sync, or imported audio at 1080p.

相关技能