diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..409493e --- /dev/null +++ b/.env.example @@ -0,0 +1,32 @@ +# Open Motion - Environment Variables +# Copy this file to .env and fill in your API keys. +# .env is listed in .gitignore and will NOT be committed to version control. + +# --- LLM Provider for the 'generate' command (optional, defaults to "openai") --- +# OPEN_MOTION_PROVIDER=openai +# OPEN_MOTION_PROVIDER=openrouter + +# --- Model override (optional) --- +# OPEN_MOTION_MODEL=gpt-4o +# OPEN_MOTION_MODEL=openai/gpt-4o + +# --- OpenAI --- +# OPENAI_API_KEY=sk-... + +# --- OpenRouter --- +# OPENROUTER_API_KEY=sk-or-... + +# --- Anthropic --- +# ANTHROPIC_API_KEY=sk-ant-... + +# --- Google / Gemini --- +# GOOGLE_API_KEY=... + +# --- OpenAI-compatible providers (e.g. Azure, Groq, local OpenAI-proxy) --- +# OPEN_MOTION_API_KEY=... +# OPEN_MOTION_BASE_URL=https://your-custom-endpoint/v1 + +# --- Video settings for generate command --- +# VIDEO_FPS=30 +# VIDEO_WIDTH=1280 +# VIDEO_HEIGHT=720 diff --git a/.gitignore b/.gitignore index 4cba80e..2dea71c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ node_modules dist +.env +.env.local +.env.*.local .open-motion-tmp *.mp4 *.png @@ -14,3 +17,5 @@ progress.md.worktrees/ *.avi *.mkv *.webm +my_videos +.claude diff --git a/README.ja.md b/README.ja.md new file mode 100644 index 0000000..a7bc588 --- /dev/null +++ b/README.ja.md @@ -0,0 +1,224 @@ +# OpenMotion + +

+ OpenMotion Logo +

+ +

+ React開発者のためのオープンソース・プログラマティック・ビデオエンジン。 +

+ +

+ 機能 • + パッケージ • + インストール • + クイックスタート • + CLI リファレンス • + API リファレンス +

+ +--- + +OpenMotionは、Remotionに代わる高性能なオープンソースの選択肢です。使い慣れたReactコンポーネント、フック、お気に入りのCSSライブラリを使用して、フレーム単位で正確なビデオを作成できます。 + +### 🎬 ショーケース + +| 機能ショーケース | メディアショーケース | +| :---: | :---: | +| ![Feature Showcase](assets/feature-showcase.gif) | ![Media Showcase](assets/media-showcase.gif) | +| ブランド、ダッシュボード、イージング | ビデオ、オーディオ | + +## ✨ 機能 + +- ⚛️ **Reactファースト**: Reactエコシステムのパワーを最大限に活用。 +- 🤖 **AI駆動の生成**: LLMを使用してテキスト記述から完全なビデオを作成。 +- ✍️ **AIアシスト編集**: 自然言語を使用してTSXシーンを編集。 +- ⏱️ **フレーム精度の決定論**: 高度なタイムジャック技術により、すべてのフレームが同一であることを保証。 +- 🚀 **並列レンダリング**: すべてのCPUコアを利用してレンダリング速度をスケール。 +- 🎵 **マルチトラック・オーディオミキシング**: 独立した音量制御を持つ複数の `