テキストからManim動画を生成するエンジン。CLI・ライブラリ・サーバーモードを提供する
Project description
text2manim
テキストからManim動画を生成するエンジン。CLI・Pythonライブラリ・サーバーモード(REST API)を提供する。
開発中: 設計は docs/DESIGN.md を参照してください。
目指す姿
export ANTHROPIC_API_KEY=...
uvx text2manim "比例と反比例について説明する動画を作成してください"
# → out.mp4
- CLI: 1コマンドで生成。サーバーもDBも不要
- ライブラリ: Pythonプロジェクトに組み込み可能
- サーバーモード:
text2manim serveでステートレスな生成worker(REST + SSE進捗ストリーム)
サーバーモードはコンテナイメージでも配布する(Cloud RunなどDockerデーモンのない環境向け。manim環境同梱):
docker run --rm -p 8000:8000 -e ANTHROPIC_API_KEY ghcr.io/kinjikawaguchi/text2manim
このイメージにはmanim(MIT)のほか、PyAV/TeX/pango等のサードパーティソフトウェアが 含まれる。各ライセンスはベースイメージ manimcommunity/manim に従う。
動作要件
- Python 3.14(uvが解決)と Docker
- サーバーモードの既定構成(同時レンダリング1)は 2vCPU / 4GB のインスタンスで動作する。 レンダリングはサンドボックスの上限(2GB / 2CPU / タイムアウト)で常に有界
ライセンス
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file text2manim-0.5.0.tar.gz.
File metadata
- Download URL: text2manim-0.5.0.tar.gz
- Upload date:
- Size: 59.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
993a7475df2413276737ef1c811f4ddb25184411a734a9862ae846764ce00a64
|
|
| MD5 |
5d353d95b5971ca8f63f7ca3a082a7ec
|
|
| BLAKE2b-256 |
6b471b87cb39a9304724d8c9bd7dfd486dff2a82bb74b168e509d77a9d65ce24
|
File details
Details for the file text2manim-0.5.0-py3-none-any.whl.
File metadata
- Download URL: text2manim-0.5.0-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d30245a648dbd8ee6e086a2620771458e928460b42120d314142226bada9844
|
|
| MD5 |
d7ae3c78a5f67fa3c154cc5e66f49bcc
|
|
| BLAKE2b-256 |
fdf114c3fc2c7c58489ce2a420a0d8d255f35f556bf9094b169076b0cf8f749a
|