# Diffusion Studio 開源 DAPI：用自然語言剪輯影片與製作動態圖像

> 📖 本站完整內容索引（documentation index）：[llms.txt](/llms.txt)

> 原作者：konstantinpaulus (@konstipaulus) · 策展與摘要：EasyVibeCoding · 平台：X (Twitter) · 熱度：🔥🔥 · 日期：2026-08-12

> 原始來源：https://x.com/konstipaulus/status/2086844224826159372

## 證據與延伸閱讀

- [Diffusion Studio 開源 DAPI：用自然語言剪輯影片與製作動態圖像](https://github.com/diffusionstudio/editor) — 官方 Repository
- [Konstantin Paulus 表示展示影片全片都是透過 prompt 完成](https://x.com/konstipaulus/status/2086844224826159372)
- [展示流程中執行指令並產生 TSX 程式碼](https://video.twimg.com/amplify_video/2086844033456877568/vid/avc1/2560x1440/HsHMn0f2-835ccUc.mp4?tag=29)
- [Edwinfred Kamau 詢問 video model API，Konstantin 回覆](https://x.com/Edwin_Fred_K/status/2087105829451268576)

## 中文摘要

Diffusion Studio 開源 DAPI：用自然語言剪輯影片與製作動態圖像。

DAPI 是一套開源、跨平台的 video editing CLI，核心操作可直接交給 Claude 執行。

**核心訊息** DAPI 的定位是「為 coding agents 打造的影片編輯 CLI」：使用者只要用 prompt 描述需求，就能生成 motion graphics、剪輯數小時的影片，或把素材整理成完整作品。Konstantin Paulus 表示，展示影片全片都是透過 prompt 完成，並邀請開發者參與建置開源專案 [Diffusion Studio editor](https://github.com/diffusionstudio/editor) 。

![](https://pub-75d4fe1e4e80421b9ecb1245a7ae0d1a.r2.dev/curated/53fe605932815a46.gif)
> 紅色背景中央顯示大寫紅色英文單字 DESCRIBE

DAPI 隨 Diffusion Studio Desktop 提供，可從 https://www.diffusion.studio 取得，也能從 skill 開始使用。發文者給出的安裝指令是：

```bash
npx skills add diffusionstudio/skills
```

貼文中的示範 prompt 包含：

```text
/editor Create a ~20-second promo for vercel-labs/native in Vercel's presentation style. Research its official website, GitHub, and brand guidelines; use authentic assets and verified product features, with crisp typography, polished motion, and a strong final CTA.

/editor edit the footage in /path/to/folder

/editor turn this footage into a polished YouTube video. Add readable captions and an attention-grabbing graphic in the opening to give viewers a strong visual hook.
```

**展示流程** 媒體畫面顯示，執行 `npx skills add diffusionstudio/skills` 後，系統找到 3 個 skills，並列出 `editor` 選項；使用者接著以 `@ Launch Footage` 指定素材，Agent 顯示「Watching footage...」，再產生包含 `<rect>`、`<sequence>`、`<audio>`、`<video>`、`<image>` 與 `<html>` 的 TSX 程式碼。畫面也出現 `Studio launch video`、音效在 `00.0` 與 `08.7` 秒播放，以及影片素材的 `start` 和 `sourceIn` 設定。Demo 最後以畫面顯示的「Edited by Fable 5」和 Diffusion Studio 品牌收尾。

<video src="https://pub-75d4fe1e4e80421b9ecb1245a7ae0d1a.r2.dev/curated/1786473012389-wf0upau7.mp4" poster="https://pub-75d4fe1e4e80421b9ecb1245a7ae0d1a.r2.dev/curated/cd66950230382c19.jpg" controls playsinline preload="metadata" style="max-width:100%;height:auto;display:block;margin:1rem 0"></video>
> 透過命令列安裝 diffusionstudio/skills 並以指令式介面建立影片編輯流程的展示畫面

**技術背景** 引用的 GitHub 專案說明，Agent 會以 TSX 撰寫 composition，再由 `dapi` CLI 載入編輯器；掛載後，每個元素仍會保留為可在 UI 中繼續修改的編輯節點。專案將自身比喻為「給 Agent 使用的 FFmpeg」，並整合 generative AI 與 multimodal understanding。它可搭配 Claude Code、Codex、Cursor、Copilot 與 Gemini CLI，讓影片製作從文字需求、素材理解到輸出影片，形成可由 Agent 驅動的流程。

**API 與使用限制** 面對 Edwinfred Kamau 詢問是否需要 video model API，Konstantin Paulus 回覆：「No, dapi includes the APIs not provided by coding agents」。也就是說，DAPI 的設計目標不是要求 coding agents 另外接上 video model API，而是補上 Agent 本身未提供的 API 能力；不過實際使用時仍應依照產品文件確認各項模型、帳號與服務需求。

**可延伸工作** 引用來源展示的 CLI 還能檢查影片 metadata、擷取影格、建立 filmstrip、分析音訊波形、產生逐字時間軸 transcript，以及向 multimodal model 詢問影片內容。這使 DAPI 不只負責剪接，也能協助 Agent「看懂」無法直接觀看的素材，再決定剪輯、字幕、開場圖像與社群短版內容。

## 媒體內容

**透過命令列安裝 diffusionstudio/skills 並以指令式介面建立影片編輯流程的展示畫面**

**影片中的 Prompt 與操作**

Prompt（00:05）：

```
發布畫面
```

原文：Launch Footage

操作步驟：

1. （00:00）執行終端機指令 `npx skills add diffusionstudio/skills`
2. （00:05）在對話框輸入 `@ Launch Footage` 並點擊傳送按鈕

**逐字稿**

- `00:00` 撐住，大家都想要！（Hold it down, everybody want it!）
- `00:01` 金髮、纖腰，想要、想要、想要、想要（Blonde hair, smash waist, wanna, wanna, wanna, wanna）
- `00:04` 當面跟你媽說，想要、想要、想要、想要（Talk to your mom on face, wanna, wanna, wanna, wanna）
- `00:08` 金髮、纖腰，想要、想要、想要、想要（Blonde hair, smash waist, wanna, wanna, wanna, wanna）
- `00:11` 當面跟你媽說，想要、想要、想要、想要（Talk to your mom on face, wanna, wanna, wanna, wanna）
- `00:24` 撐住，大家都想要！（Hold it down, everybody want it!）

## 標籤

AI-native, CLI, 開源專案, Agent, Diffusion Studio, Anthropic
