Code Monkey home page Code Monkey logo

chatvrm-animate's Introduction

ChatVRM-animate

ChatVRM-animateは、ブラウザウィンドウにドロップすることで、.vrmaおよびM.fbx (Mixamoなど) アニメーションを読み込むことができるChatVRMのフォークです。

MoMask対応

ニケによりさらに以下の改良がされています。

  • テキストを入力すると、返答内容に合わせてMoMaskによるリアルタイムモーション生成が実行されます。

実行方法

  1. MoMask動作環境をlibフォルダ内に作成してください。 lib/momask-codes/ のようになるはずです。 READMEでも良いですが、猩々博士の記事も参考になりました。 python gen_t2m.py を実行して、bvhファイルが作成されれば問題ないと思います。
  2. src\pages\api\momask.ts の9行目のpythonの実行パスを変更してください。
  3. 以降は下記のChatVRMの方法に倣って進めてください。

※ Windows x anaconda環境でのみ動作を確認しています。

ChatVRM

ChatVRMはブラウザで簡単に3Dキャラクターと会話ができるデモアプリケーションです。

VRMファイルをインポートしてキャラクターに合わせた声の調整や、感情表現を含んだ返答文の生成などを行うことができます。

ChatVRMの各機能は主に以下の技術を使用しています。

デモ: オリジナルのChatVRM

Glitchでデモを公開しています。

https://chatvrm.glitch.me

実行

ローカル環境で実行する場合はこのリポジトリをクローンするか、ダウンロードしてください。

[email protected]:susurobo/ChatVRM-animate.git

必要なパッケージをインストールしてください。

npm install

パッケージのインストールが完了した後、以下のコマンドで開発用のWebサーバーを起動します。

npm run dev

実行後、以下のURLにアクセスして動作を確認して下さい。

http://localhost:3000


ChatGPT API

ChatVRMでは返答文の生成にChatGPT APIを使用しています。

ChatGPT APIの仕様や利用規約については以下のリンクや公式サイトをご確認ください。

Koeiromap API

ChatVRMでは返答文の音声読み上げにKoemotionのKoeiromap APIを使用しています。

Koeiromap APIの仕様や利用規約については以下のリンクや公式サイトをご確認ください。

chatvrm-animate's People

Contributors

ke456-png avatar tegnike avatar inoueharutaka avatar batoracli avatar

Stargazers

athulspal avatar  avatar  avatar  avatar

Forkers

bedwyremrys

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.