{"id":21815278,"url":"https://github.com/ayutaz/unirealtime","last_synced_at":"2025-10-05T09:05:39.165Z","repository":{"id":262038856,"uuid":"886051691","full_name":"ayutaz/UniRealtime","owner":"ayutaz","description":"library that makes it easy to use OpenAI's Realtime API in Unity.","archived":false,"fork":false,"pushed_at":"2024-12-12T17:02:54.000Z","size":49697,"stargazers_count":9,"open_issues_count":6,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-30T02:54:04.863Z","etag":null,"topics":["openai","openai-api","realtimeapi","unity"],"latest_commit_sha":null,"homepage":"","language":"ShaderLab","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayutaz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-10T03:58:09.000Z","updated_at":"2025-08-18T06:36:47.000Z","dependencies_parsed_at":"2025-04-14T00:42:43.733Z","dependency_job_id":"e4f60d1b-21da-4fd8-be26-381eb40750c6","html_url":"https://github.com/ayutaz/UniRealtime","commit_stats":null,"previous_names":["ayutaz/uni-realtime","ayutaz/unirealtime"],"tags_count":4,"template":false,"template_full_name":"ayutaz/unity_template_repository","purl":"pkg:github/ayutaz/UniRealtime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayutaz%2FUniRealtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayutaz%2FUniRealtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayutaz%2FUniRealtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayutaz%2FUniRealtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayutaz","download_url":"https://codeload.github.com/ayutaz/UniRealtime/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayutaz%2FUniRealtime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278432173,"owners_count":25985798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openai","openai-api","realtimeapi","unity"],"created_at":"2024-11-27T15:17:14.577Z","updated_at":"2025-10-05T09:05:39.131Z","avatar_url":"https://github.com/ayutaz.png","language":"ShaderLab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UniRealtime\n\n[![Unity Version](https://img.shields.io/badge/Unity-2022.3%2B-blueviolet?logo=unity)](https://unity.com/releases/editor/archive)\n[![Releases](https://img.shields.io/github/release/ayutaz/UniRealtime.svg)](https://github.com/ayutaz/UniRealtime/releases)\n\n日本語 | [English](README_EN.md)\n\nUniRealtimeは、OpenAIのRealtime APIをUnityプロジェクトに簡単に統合し、インタラクティブな音声およびテキストベースの対話を実現するためのライブラリです。このライブラリを使えば、低遅延でマルチモーダルなキャラクター対話や、リアルタイムでのAI応答をスムーズに実装できます。\n\nサンプルシーンを含んでいるため、クローンしてすぐに動作を確認できます。また、ライブラリとしてプロジェクトに組み込むことも可能です。\n\n\u003c!-- TOC --\u003e\n* [UniRealtime](#unirealtime)\n* [サンプルプロジェクトのセットアップ](#サンプルプロジェクトのセットアップ)\n* [ライブラリとしての使用方法](#ライブラリとしての使用方法)\n  * [依存ライブラリのインストール](#依存ライブラリのインストール)\n  * [Package Manager](#package-manager)\n  * [Unity Package](#unity-package)\n* [動作環境](#動作環境)\n* [サンプルの使用方法](#サンプルの使用方法)\n* [License](#license)\n\u003c!-- TOC --\u003e\n\n# サンプルプロジェクトのセットアップ\n* 以下は、Unityを使ったプロジェクトでOpenAIのRealtime APIを利用するためのサンプルシーンのセットアップ手順です。\n\n1. OpenAI APIにアクセスして、APIキーを取得。\n2. Unityでプロジェクトを開きます。\n3. `Assets/UniRealtime/Sample/Scenes` にあるRealtimeAIDemoシーンを開きます。\n4. OpenAIのAPIキーをプロジェクト内で設定します。\n\n実行することで以下の画像のように動作します。\n\n![](Docs/sampleSceneImage.png)\n\n# ライブラリとしての使用方法\n\n## 依存ライブラリのインストール\n\n1. [unity-websocket](https://github.com/mikerochip/unity-websocket)をインストールします\n\n2. 任意で[UniTask](https://github.com/Cysharp/UniTask)をインストールします。こちらをしようしない場合は，内部処理はTaskを使用します。\n\n## Package Manager\n1. Package Managerを開きます。\n2. `+` ボタンをクリックし、`Add package from git URL` を選択します。\n3. `https://github.com/ayutaz/UniRealtime.git?path=/Assets/UniRealtime/Scripts`\n\n## Unity Package\n1. UniTaskおよびunity-websocketをインストールします。\n2. リリースページから最新のUnityパッケージをダウンロードします。\n3. ダウンロードしたUnityパッケージをプロジェクトにインポートします。\n\n# 動作環境\n* Unity: 2022.3.x 以降\n* OpenAI Realtime API: 最新のAPIバージョンに対応\n\n# サンプルの使用方法\n* サンプルには、音声入力からAI応答、さらにリアルタイムでの音声合成までを行うシンプルなキャラクター対話システムが含まれています。以下のステップで利用可能です。\n* マイクや他の入力デバイスを用いて音声をリアルタイムで取得。\n* 音声やテキストをOpenAI Realtime APIに送り、応答を受信。\n* Unity内のキャラクターに応答させることで、インタラクティブな対話が可能。\n\n# License\nこのプロジェクトはApache-2.0ライセンスの条件下で提供されています。詳細はLICENSEファイルを参照してください。\n\nただしサンプルシーンに使用しているFontは、[Google Fonts](https://fonts.google.com/)の[NotoSansJP](https://fonts.google.com/noto/specimen/Noto+Sans+JP)を使用しています。Noto Sans JPは[ASIL Open Font License, Version 1.1](https://openfontlicense.org/open-font-license-official-text/)の下で提供されています。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayutaz%2Funirealtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayutaz%2Funirealtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayutaz%2Funirealtime/lists"}