はじめに
「Web記事をAIで台本化して、さらに動画まで自動で作りたい!」
そんな方のために、ChatGPTとMulmocastを活用した超効率的な方法を、初心者にも分かりやすく解説します。
今回は、農林水産省の「和食文化」公式ページを例に、
・台本(Mulmoscript)自動生成
・AI動画自動生成
🎬 完成イメージ(YouTube)
ステップ1:WebページのURLを用意しよう
まずは、動画化したいWeb記事のURLを準備しましょう。
今回は下記の農林水産省公式ページ(和食文化)を例に進めます。
使うURL
https://www.maff.go.jp/j/keikaku/syokubunka/ich/
ステップ2:ChatGPTでMulmocast用スクリプト(Mulmoscript)を作る
2-1. ChatGPTを開く
・ChatGPTのページを開きます。
・新しいチャットを開始してください。
2-2. 記事を読ませる
ChatGPTの入力欄に、下記の1行だけを貼り付けて送信します。
「Read this article: [URL]」とだけ入力します。
(例:"Read this article: https://www.maff.go.jp/j/keikaku/syokubunka/ich/")
Read this article: https://www.maff.go.jp/j/keikaku/syokubunka/ich/
※英語で「このページを読んで」と指示します。日本語ページでも大丈夫です。
2-3. Mulmocast用テンプレートプロンプトを貼り付け
そのまま、下記のプロンプトをまるごとChatGPTの入力欄にコピー&ペーストして送信します。
Generate a script for a presentation of the given topic. Another AI will generate comic strips for each beat based on the text description of that beat. Mention the reference in one of beats, if it exists. Use the JSON below as a template.
{
"$mulmocast": {"version":"1.0","credit":"closing"},
"title":"[TITLE: Brief, engaging title for the topic]",
"lang":"en",
"references":[
{"url":"[SOURCE_URL: URL of the source material]",
"title":"[SOURCE_TITLE: Title of the referenced article, or paper]",
"type":"[SOURCE_TYPE: article, paper]"
}
],
"beats":[
{"text":"[OPENING_BEAT: Introduce the topic with a hook. Reference the source material and set up why this topic matters. Usually 2-3 sentences that grab attention and provide context.]"},
{"text":"[MAIN_CONCEPT: Define or explain the core concept/idea. This should be the central focus of your narrative. Keep it clear and accessible.]"},
{"text":"[SUPPORTING_DETAIL_1: Additional context, examples, or elaboration that helps illustrate the main concept. This could include how it works, why it's important, or real-world applications.]"},
{"text":"[SUPPORTING_DETAIL_2: Continue with more examples, deeper explanation, or different aspects of the topic if needed.]"},
{"text":"[ADDITIONAL_BEATS: Add more beats as necessary to fully explore the topic. Complex topics may require 6-10+ beats to cover adequately. Each beat should advance the narrative or provide valuable information.]"},
{"text":"[CONCLUSION/IMPACT: Wrap up with the significance, implications, or key takeaway. Help the audience understand why this matters to them.]"}
],
"canvasSize":{"width":1536,"height":1024},
"imageParams":{
"style":"A multi panel comic strips. 1990s American workplace humor. Clean, minimalist line art with muted colors. One character is a nerdy office worker with glasses"
}
}
ポイント!
・コピペ時に余計な改行やスペースが入らないよう注意。
・1回で全部貼り付けて送信しましょう。
ステップ3:MulmoscriptをMulmocastで動画化!
- ChatGPTがJSON形式の台本(Mulmoscript)を出力します。
- そのJSONスクリプトをまるごとコピーします。
※この時クリップボードに記憶されているのでクリアしないように気を付けてください。
Mulmocastを使って動画生成
・パソコンのターミナル(コマンドプロンプトやPowerShellなど)を開きます。
・下記コマンドを入力して実行します。
mulmo movie __clipboard
※「__clipboard」はアンダーバー(_)が2つです。
※クリップボードにコピーしたスクリプトをそのまま読み込みます。
ステップ4:完成動画を確認しよう
動画ファイル(.mp4)がoutputフォルダ内に生成されます。
完成例動画(英語)
【注意点・Q&A】
Q. 「clipboard」はなぜアンダーバー2つ?
A. Mulmocastがクリップボードの内容を読み込む仕様です。必ずアンダーバー2つ「」です。
Q. JSONをコピペする際の注意点は?
A. 余計な文字や改行が入っていないか確認しましょう。ChatGPTの出力をそのままコピーするのがコツです。
Q. Mulmocast用テンプレートは、どうやって作られているの?
A. ターミナル(コマンドプロンプトやPowerShellなど)で下のコマンドを実行すると、自動的にMulmocast用テンプレートが作成され、同時にその内容がクリップボードにコピーされます。これで、すぐに貼り付けて使うことができます。
※記事ではこのステップをスキップしています。
>mulmo tool prompt -t comic_strips
Generate a script for a presentation of the given topic. Another AI will generate comic strips for each beat based on the text description of that beat. Mention the reference in one of beats, if it exists. Use the JSON below as a template.
```JSON
{"$mulmocast":{"version":"1.0","credit":"closing"},"title":"[TITLE: Brief, engaging title for the topic]","lang":"en","references":[{"url":"[SOURCE_URL: URL of the source material]","title":"[SOURCE_TITLE: Title of the referenced article, or paper]","type":"[SOURCE_TYPE: article, paper]"}],"beats":[{"text":"[OPENING_BEAT: Introduce the topic with a hook. Reference the source material and set up why this topic matters. Usually 2-3 sentences that grab attention and provide context.]"},{"text":"[MAIN_CONCEPT: Define or explain the core concept/idea. This should be the central focus of your narrative. Keep it clear and accessible.]"},{"text":"[SUPPORTING_DETAIL_1: Additional context, examples, or elaboration that helps illustrate the main concept. This could include how it works, why it's important, or real-world applications.]"},{"text":"[SUPPORTING_DETAIL_2: Continue with more examples, deeper explanation, or different aspects of the topic if needed.]"},{"text":"[ADDITIONAL_BEATS: Add more beats as necessary to fully explore the topic. Complex topics may require 6-10+ beats to cover adequately. Each beat should advance the narrative or provide valuable information.]"},{"text":"[CONCLUSION/IMPACT: Wrap up with the significance, implications, or key takeaway. Help the audience understand why this matters to them.]"}],"canvasSize":{"width":1536,"height":1024},"imageParams":{"style":"<style>A multi panel comic strips. 1990s American workplace humor. Clean, minimalist line art with muted colors. One character is a nerdy office worker with glasses</style>"}}
おわりに
この手順を使えば、「Web記事をAIが自動で台本化→動画化」まで誰でも簡単に実現できます。
最新のAIワークフローをぜひ体験してみてください!
(次回予告)
日本語での動画化手順も、後日詳しくご紹介します!