Skip to content

🎥 Make videos programmatically with React

Docs: Prompting videos with Claude Code

Jonny Burgerbc78cc85bcd7
diff --git a/packages/docs/docs/ai/claude-code.mdx b/packages/docs/docs/ai/claude-code.mdx
new file mode 100644
index 0000000000..58cfe6e2a4
--- /dev/null
+++ b/packages/docs/docs/ai/claude-code.mdx
@@ -0,0 +1,56 @@
+---
+image: /generated/articles-docs-ai-claude-code.png
+crumb: 'AI'
+title: Prompting videos with Claude Code
+sidebar_label: Claude Code
+---
+
+<YouTube minutes={8} href="https://www.youtube.com/watch?v=Xtd4DjU9AU8" thumb="https://i.ytimg.com/vi/Xtd4DjU9AU8/hqdefault.jpg" title="Creating videos just from prompting" />
+
+You can create videos just from prompting.
+This is an easy way to get started with Remotion!
+
+## Prerequisites
+
+You first need to install [Claude Code](https://claude.com/product/claude-code) and [Node.js](https://nodejs.org/en).
+Claude Code requires a paid subscription.
+
+## Start a new project
+
+Create a new project using the following command:
+
+```bash
+npx create-video@latest
+```
+
+This will create a new project - we recommend the following settings:
+
+- Select the [Empty](/templates/empty) template
+- Say yes to use [TailwindCSS](/templates/tailwind)
+- Say yes to install [Skills](/docs/ai/skills)
+
+## Start the preview
+
+First, go into the directory that was created.
+If you named your project `my-video`, you would run the following command:
+
+```bash
+cd my-video
+```
+
+Start the project using the following command:
+
+```bash
+npm run dev
+```
+
+## Start Claude
+
+Open a separate terminal window and start Claude:
+
+```bash
+cd my-video
+claude code
+```
+
+You can now prompt a video! See our video above for a few ideas on how to start.
diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts
index 8ef97e1c4a..ba4ea0da94 100644
--- a/packages/docs/sidebars.ts
+++ b/packages/docs/sidebars.ts
@@ -1169,6 +1169,7 @@ const sidebars: SidebarsConfig = {
id: 'ai/index',
},
items: [
+ 'ai/claude-code',
'ai/bolt',
'ai/chatbot',
'ai/mcp',
diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.ts
index 481b4bcf02..f08ee9a160 100644
--- a/packages/docs/src/data/articles.ts
+++ b/packages/docs/src/data/articles.ts
@@ -98,6 +98,15 @@ export const articles = [
noAi: false,
slug: 'ai/chatbot',
},
+ {
+ id: 'ai/claude-code',
+ title: 'Prompting videos with Claude Code',
+ relativePath: 'docs/ai/claude-code.mdx',
+ compId: 'articles-docs-ai-claude-code',
+ crumb: 'AI',
+ noAi: false,
+ slug: 'ai/claude-code',
+ },
{
id: 'ai/index',
title: 'Building with Remotion and AI',
diff --git a/packages/docs/static/generated/articles-docs-ai-claude-code.png b/packages/docs/static/generated/articles-docs-ai-claude-code.png
new file mode 100644
index 0000000000..80cb2454e6
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-ai-claude-code.png differ