{"id":49837924,"url":"https://github.com/furuyan1234/panoforge","last_synced_at":"2026-05-30T07:01:42.448Z","repository":{"id":357625052,"uuid":"1237807001","full_name":"FURUYAN1234/panoforge","owner":"FURUYAN1234","description":"360° AI Panorama Generator: A tool that generates seamless 360-degree spatial backgrounds for manga and video using AI. / シームレスな360度空間の背景を生成し、漫画や動画の背景素材として提供するツールです。","archived":false,"fork":false,"pushed_at":"2026-05-13T15:40:35.000Z","size":501,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-13T16:38:22.032Z","etag":null,"topics":["ai","background-generator","gemini-api","manga","panorama","threejs"],"latest_commit_sha":null,"homepage":"https://furuyan1234.github.io/panoforge/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FURUYAN1234.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-13T14:24:57.000Z","updated_at":"2026-05-13T15:46:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/FURUYAN1234/panoforge","commit_stats":null,"previous_names":["furuyan1234/panoforge"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/FURUYAN1234/panoforge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FURUYAN1234%2Fpanoforge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FURUYAN1234%2Fpanoforge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FURUYAN1234%2Fpanoforge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FURUYAN1234%2Fpanoforge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FURUYAN1234","download_url":"https://codeload.github.com/FURUYAN1234/panoforge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FURUYAN1234%2Fpanoforge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33007321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["ai","background-generator","gemini-api","manga","panorama","threejs"],"created_at":"2026-05-14T02:00:34.328Z","updated_at":"2026-05-25T04:01:09.662Z","avatar_url":"https://github.com/FURUYAN1234.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 360° AI Panorama Generator\n\n**v1.3.0** — AI-driven 360° panoramic background generation and expansion tool using Gemini \u0026 OpenAI API / Gemini API と OpenAI API を使用したAI駆動の360度パノラマ背景生成・拡張ツール (Dual-API)\n\n[!['AI_Creative_Studio'](https://github.com/user-attachments/assets/d9b97ee9-5051-4f99-8bd3-fb82967d5c12)](https://youtu.be/Ik59dL_zG1s?si=VduXBkmCTGfz51aJ)\n\n\u003e **[[Nano Banana 2 and ChatGPT Images 2.0 Powered Super AI 4-koma System](https://github.com/FURUYAN1234/nano-banana-pro)](https://github.com/FURUYAN1234/nano-banana-pro) Integration / 連携対応**\n\u003e The generated 360° spatial images provide overwhelming immersion as manga backgrounds and video assets. / 生成された360度空間画像は、漫画の背景や動画素材として圧倒的な没入感を提供します。\n\n---\n\n## 🚀 Overview / 概要\n\n360° AI Panorama Generator is an experimental tool that generates \"360-degree equirectangular panoramic images\" from text or a single image, allowing interactive viewing and capturing via an integrated 3D viewer.\n360° AI Panorama Generatorは、テキストや1枚の画像から「360度エクイレクタングラー（正距円筒図法）パノラマ画像」を生成し、内蔵の3Dビューワーでインタラクティブに確認・キャプチャできる実験的ツールです。\n\nIt provides seamless 360-degree environments as background assets for manga and video production tools like Nano Banana 2 and ChatGPT Images 2.0 Powered Super AI 4-koma System, supporting highly immersive expressions.\nNano Banana 2 and ChatGPT Images 2.0 Powered Super AI 4-koma System などの漫画・動画制作ツールにおいて、背景素材としてシームレスな360度空間を提供し、没入感のある表現をサポートします。\n\n---\n\n## 🌍 Demo Site / デモサイト\n\n\u003e **Demo Link / デモサイト:** [https://furuyan1234.github.io/panoforge/](https://furuyan1234.github.io/panoforge/)\n\n---\n\n## ✨ Features / 機能\n\n### 🧠 Dual-API Architecture (デュアルAPIアーキテクチャ)\n本システムは、Gemini API と OpenAI API の両方をサポートし、用途に応じて切り替えて使用できるデュアルエンジン構造を採用しています。\n\n- **Gemini API (Google)**: High-speed, natively multimodal panorama generation using `gemini-2.0-flash-preview-image-generation`. Perfect for expanding existing 1-shot images while retaining original pixel details. Generation takes only 10-20 seconds. / Geminiの高速かつネイティブなマルチモーダル生成によるパノラマ拡張。手持ちの画像のディテールを維持したままのアウトペインティングに最適。**生成時間は約10〜20秒と高速です。**\n- **OpenAI API (DALL-E 3 \u0026 GPT-4o)**: Unmatched prompt adherence and ultra-high-quality image generation. Generates stunning panoramas from text, and utilizes GPT-4o's vision capabilities to intelligently \"re-create\" an existing image as a seamless 360° environment. **Note: Generation takes 2-5 minutes and is billed on a pay-as-you-go basis.** / 圧倒的なプロンプト忠実度と超高画質。テキストからの生成や、GPT-4oの画像解析による「既存画像の360度化（近似再構築）」に威力を発揮。**※生成には約2〜5分かかり、従量課金となります。**\n\n#### ⚠️ OpenAI API Limitations / OpenAI APIモードの限界と注意事項\n- **Time Required (処理時間)**: OpenAI API does not support native panorama outpainting. It requires a multi-step pipeline (Vision Analysis -\u003e Prompt Generation -\u003e DALL-E 3 Generation), taking **2 to 5 minutes** per image. / OpenAI APIはネイティブなパノラマ拡張をサポートしていないため、GPT-4oでの画像解析からDALL-E 3での再生成まで複数ステップを踏みます。そのため**完了までに約2〜5分かかります**。\n- **Re-creation vs Outpainting (近似再構築)**: When expanding an existing image with OpenAI API, the original image is NOT directly stitched or outpainted. Instead, GPT-4o describes the image in text, and DALL-E 3 generates a completely new 360° image matching that description. / 画像ドロップによる360度拡張をOpenAI APIで行う場合、元の絵を直接拡張（切り貼り）するわけではありません。AIが画像をテキスト化し、その情報をもとに**そっくりな360度画像を新規生成（近似再構築）**するため、「それっぽくなる」挙動となります。\n- **Pay-As-You-Go Cost (従量課金)**: Using the OpenAI API incurs usage-based costs. Frequent panorama generation may consume significant API credits. / OpenAI APIは従量課金です。パノラマ生成を頻繁に行うとAPI残高を大きく消費する可能性があります。\n\n### 🖼️ 2-Stage Generation (2段階生成)\n- **Text-to-Image / テキストから画像生成**: Generates a high-quality 2:1 aspect ratio base image from any scene description and style. / 任意のシーン説明とスタイルから、高品質な2:1比率のベース画像を生成。\n- **Image-to-360° Panorama / 画像から360°パノラマへ拡張**: Expands the generated image, or a user-dropped image, into a seamless 360-degree panorama using AI outpainting. / 生成した画像、またはユーザーがドロップした手持ちの画像を、AIアウトペインティングによってシームレスな360度パノラマに拡張。\n\n### 🎬 Massive Scene Presets (大規模シーンプリセット)\n- Over **65 pre-built scene descriptions** across 7 categories, allowing one-click scene selection without manual typing. / 7カテゴリ計**65以上のシーンプリセット**を搭載し、手入力なしでワンクリックで選択可能。\n- **Categories / カテゴリ**: 🏙️ City/都市・街, 🌿 Nature/自然・風景, 🔮 Fantasy \u0026 SF/ファンタジー・SF, 🏠 Interior/室内・建築, ⏳ Historical/時代・歴史, 🌤️ Weather/天候・時間帯\n- Scrollable category-organized chip UI with free-text input fallback. / カテゴリ別スクロール式チップUIと自由入力の併用。\n\n### 🎨 Rich Style Presets (豊富なスタイルプリセット)\n- **24 art style presets** covering anime, photorealistic, watercolor, oil painting, cyberpunk, Ghibli-style, Shinkai-style, ukiyo-e, vaporwave, and more. / アニメ、フォトリアル、水彩画、油絵、サイバーパンク、ジブリ風、新海誠風、浮世絵、ヴェイパーウェイブ等、**24種のスタイルプリセット**を搭載。\n- One-click selection with free-text override. / ワンクリック選択と自由入力の切り替え。\n\n### ✨ Dual AI Suggestions (ダブルAI提案)\n- **Scene AI Suggestion / シーンAI提案**: AI proposes creative scene descriptions from diverse categories (city, nature, fantasy, historical, etc.). / AIが都市・自然・ファンタジー・歴史等の多様なカテゴリからクリエイティブなシーン説明を提案。\n- **Style AI Suggestion / スタイルAI提案**: AI recommends the optimal art style based on the current scene description. / AIが現在のシーン説明に基づいて最適な画風を推薦。\n\n### 🌐 Interactive 360° Viewer (インタラクティブ・ビューワー)\n- Built-in lightweight and fast viewer powered by **Three.js**. / **Three.js** を搭載した軽量で高速な内蔵ビューワー。\n- Supports full omnidirectional view rotation via drag and Field of View (FOV) zoom via mouse wheel. / ドラッグによる全方位の視点移動、マウスホイールによる視野角（FOV）ズーム。\n- Supports **Auto-Rotate Mode / 自動回転モード** and **Fullscreen Mode / 全画面モード**.\n\n## 🧠 Zenith Protocol（AIモデル自動切替 / Auto AI Model Fallback）\n\nFollowing the philosophy of Nano Banana 2 and ChatGPT Images 2.0 Powered Super AI 4-koma System, this system features a robust fallback mechanism (Zenith Protocol) that automatically switches to optimal alternative models upon API errors, rate limits, or safety filter blocks.\n\n**画像生成 / Image Generation Fallback Pipeline (Gemini)**:\n1. `gemini-3.1-flash-image-preview` (Primary / 安定画像生成)\n2. `gemini-2.5-flash-image` (Backup 1 / 次世代モデル)\n3. `imagen-3.0-generate-002` (Fallback 1 / レガシー生成)\n\n**テキスト生成・スタイル提案 / Text Generation Fallback Pipeline**:\n- **Gemini**:\n  1. `gemini-3.5-flash` (Primary / 高速・高精度)\n  2. `gemini-flash-latest` (Backup 1 / 安定)\n  3. `gemini-1.5-pro` (Backup 2 / 高度推論)\n  4. `gemini-1.5-flash` (Fallback 1 / 保険)\n- **OpenAI**:\n  1. `gpt-4.1` (Primary / 高速・高精度)\n  2. `gpt-4.1-mini` (Backup 1 / 高速・安価)\n  3. `gpt-4.1-nano` (Backup 2 / 極小・最速)\n  4. `gpt-4o` (Fallback / 安定フォールバック)\n\n**画像解析ビジョン / Vision Analysis Fallback Pipeline (OpenAI)**:\n1. `gpt-4.1` (Primary / 高速・高精度)\n2. `gpt-4.1-mini` (Backup 1 / 高速・安価)\n3. `gpt-4o` (Fallback 1 / 安定フォールバック)\n4. `gpt-4o-mini` (Fallback 2 / 軽量ビジョン)\n\n---\n\n### 📸 HD Capture \u0026 Export (高解像度キャプチャ)\n- Instantly capture any viewpoint in Full HD (1920x1080) resolution and save as PNG. / 任意の視点をフルHD (1920x1080) 解像度でキャプチャし、一瞬でPNG保存。\n- Direct download of the original 360-degree image (equirectangular format). / 360度元画像（エクイレクタングラー形式）の直接ダウンロード。\n\n### 🌐 GPano XMP Metadata (Google Photos対応)\n- Saved 360° images embed **GPano XMP metadata** (equirectangular projection tags) directly into the JPEG binary. / 保存される360°画像には**GPano XMPメタデータ**（正距円筒図法タグ）がJPEGバイナリに直接埋め込まれます。\n- Google Photos, Facebook, and other platforms automatically open the image in 360° viewer mode. / Google Photos、Facebook等のプラットフォームで自動的に360°ビューワーモードで開かれます。\n\n---\n\n## 🏗️ Unique Architecture Highlights / 固有アーキテクチャの要点\n\nThis system is not merely an image generation tool. It is a **spatial rendering engine** designed to correct spatial distortions and build/provide seamless 360-degree environments in real time.\n本システムは単なる画像生成ツールではありません。空間の歪みを補正し、シームレスな360度環境をリアルタイムで構築・提供するための**空間レンダリングエンジン**です。\n\n* **2-Stage Image Expansion Pipeline (2段階拡張パイプライン)**:\n  Instead of directly generating a panorama from text, it first generates a high-resolution seed image, then uses AI outpainting to expand the edges so they connect seamlessly in equirectangular projection, minimizing structural collapse.\n  テキストから直接パノラマを生成するのではなく、まず高解像度のシード画像を生成し、そのシード画像を中心としてAIのアウトペインティング（外側拡張）機能を用いて左右の端がシームレスに繋がる正距円筒図法に拡張します。これにより、破綻の少ないパノラマを生成します。\n* **Strict Autocomplete Contamination Prevention (自動入力汚染の完全排除)**:\n  Implements multi-layered defenses (dynamic `readonly` removal, randomized `name` attributes, delayed DOM clearing) to prevent unwanted strings from mixing into prompts via browser autocomplete.\n  ブラウザの自動補完によって予期せぬ文字列がプロンプトに混入する問題（UI汚染）を防ぐため、`readonly`属性の動的解除、ランダムな`name`属性、および遅延評価によるDOM強制クリアの多段防御壁を実装しています。\n* **Robust Content Policy Handling (コンテンツポリシーのスマート検知)**:\n  Catches AI-model specific \"200 OK responses with missing image data (safety filter blocks)\" and provides users with specific guidance rather than generic API errors.\n  AIモデル特有の「データ欠落を伴う200 OKレスポンス（安全フィルタブロック）」をキャッチし、単なるAPIエラーではなく「ポリシーエラー」としてユーザーに具体的な修正ガイダンスを提供します。\n\n---\n\n## 🧠 Zenith Protocol（AIモデル自動切替 / Auto AI Model Fallback）\n\nFollowing the philosophy of Nano Banana 2 and ChatGPT Images 2.0 Powered Super AI 4-koma System, this system features a robust fallback mechanism (Zenith Protocol) that automatically switches to optimal alternative models upon API errors, rate limits, or safety filter blocks.\nNano Banana 2 and ChatGPT Images 2.0 Powered Super AI 4-koma System の思想を踏襲し、APIエラー時や制限到達時、あるいは安全フィルタでのブロック時に自動的に最適な別モデルへフォールバックする仕組み（Zenith Protocol）を搭載しています。\n\n**画像生成 / Image Generation Fallback Pipeline**:\n1. `gemini-3.1-flash-image-preview` (Primary / 安定画像生成)\n2. `gemini-2.5-flash-image` (Backup 1 / 次世代モデル)\n3. `imagen-3.0-generate-002` (Fallback 1 / レガシー生成)\n\n**テキスト生成・スタイル提案 / Text Generation Fallback Pipeline**:\n1. `gemini-3.5-flash` (Primary / 高速・高精度)\n2. `gemini-flash-latest` (Backup 1 / 安定)\n3. `gemini-1.5-pro` (Backup 2 / 高度推論)\n4. `gemini-1.5-flash` (Fallback 1 / 保険)\n\n---\n\n## 📝 Setup \u0026 Launch / セットアップと起動\n\n### 💻 Local Launch (Windows) / ローカルでの起動\n\n1. **Download / ダウンロード**: Download (ZIP) or clone the source code from the repository. / リポジトリからソースコードをダウンロード（ZIP解凍）またはクローンします。\n2. **Run / 実行**: Double-click `start_panorama_generator.bat` in the folder. *(Requires Node.js to be installed previously)* / フォルダ内の `start_panorama_generator.bat` をダブルクリックします。*(事前にNode.jsのインストールが必要です)*\n3. **Start / 開始**: Required libraries will be installed automatically, and the browser will launch. / 必要なライブラリが自動インストールされ、ブラウザが立ち上がります。\n\n### 🔑 About API Keys / 各種APIキーについて\n- A **Gemini API Key** (from Google AI Studio) or an **OpenAI API Key** (starts with `sk-`) is required. / Google AI Studioで取得した **Gemini APIキー**、または **OpenAI APIキー** (`sk-` から始まるもの) が必要です。\n- Enter the API key in the settings screen shown immediately after launch. The system will automatically detect which engine to use based on the API key format (`sk-` triggers OpenAI API). / 起動直後に表示される設定画面でAPIキーを入力します。キーの形式からシステムが自動でエンジン（Gemini API または OpenAI API）を判別します。\n- The API key is **session-limited** (kept in memory only) and is NOT saved in the browser's local storage. / 入力したAPIキーは**セッション限定**（メモリ内のみ保持）であり、ブラウザのローカルストレージ等には一切保存されません。\n\n---\n\n## 💻 Tech Stack / 技術スタック\n\n- **Frontend**: Vanilla JS / HTML / CSS (Dark Theme)\n- **Bundler**: Vite\n- **3D Graphics**: Three.js\n- **AI**: Google GenAI SDK (Gemini API)\n\n---\n\n## ⚖️ Compliance \u0026 Legal Stance / 法的遵守について\n\n### Japanese Copyright Law (Article 30-4)\n\nThis project is developed in full compliance with **Article 30-4 of the Japanese Copyright Act**, which allows for the exploitation of copyrighted works for information analysis and technological development of AI.\n本プロジェクトは、日本の著作権法第30条の4（情報解析目的の外での利用）に基づき、技術検証および情報解析を目的として開発されており、法的に適正な範囲内で公開されています。\n\n### Official API Usage\n\nAll generations are performed through the **official Google Gemini API**. This system adheres strictly to Google's \"Generative AI Forbidden Use Policy\" and Terms of Service.\n本システムはGoogle公式のGemini APIを介して動作しており、Googleが定める「生成AI禁止事項」および利用規約を厳格に遵守しています。\n\n### Original Background Generation\n\nThis system generates **original 360-degree panoramic background images** based on user-configured parameters and AI-driven generation.\n\n* It does not aim to replicate specific existing copyrighted backgrounds or artworks.\n* It generates original designs based on user prompts and mathematical constraints (equirectangular projection).\n本システムは、特定の背景美術や作品の模倣を目的としたものではありません。ユーザーが設定したプロンプトとAIによる生成に基づき、独自の360度空間デザインを生成します。\n\n### No-Profit \u0026 Research Focus\n\nThe core logic (Prompts/Protocols) is released under **CC BY-NC-SA 4.0**. Any commercial misuse by third parties is strictly prohibited. This project exists solely for the advancement of AI agent technology and the democratization of creative tools.\n核心的なロジックはCC BY-NC-SA 4.0（非営利）の下で公開されています。第三者による悪質な商用利用はライセンス違反となります。本プロジェクトは、AIエージェント技術の発展と、創作ツールの民主化を目的とした研究成果です。\n\n---\n\n## ⚖️ License \u0026 Rights / ライセンス・権利関係\n\nThis project uses a hybrid license to balance technology sharing and intellectual property protection.\n技術の共有と創作の保護を両立するため、以下のハイブリッドライセンスを採用しています。\n\n* **Source Code**: [MIT License](https://opensource.org/licenses/MIT)\n  Applies to software logic and implementation code. / ソフトウェアの動作ロジックや実装コードに適用。\n* **Logic \u0026 Prompts**: [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.ja)\n  Applies to original design philosophy and prompt structure. / 設計思想およびプロンプト構造に適用。\n* **Output Ownership / 生成物の帰属**:\n  The CC SA (ShareAlike) requirement **does not apply** to 360-degree backgrounds generated by this system. Rights belong to the user.\n  本システムで生成されたパノラマ背景画像に上記CCライセンスの継承義務は適用されません。権利はユーザーに帰属します。\n\n**Commercial Use and Paid Seminars / 商用利用・有料セミナーについて**\nUsage of this system (including prompts and logic) in high-priced information products, paid seminars, or any \"get-rich-quick\" schemes is strictly prohibited under the CC BY-NC-SA 4.0 license. 本システム（プロンプトおよびロジックを含む）を、高額な情報商材、有料セミナー、または「副業・稼げる」等の謳い文句を伴うビジネスに無断で使用することは、CC BY-NC-SA 4.0ライセンスに基づき、固く禁じます。\n\nAny commercial or educational use involving fees requires explicit prior written consent from the developer (FURU). 有料の教育目的や商用利用を検討される場合は、必ず事前に開発者（FURU）の書面による承諾を得てください。\n\n---\n\n## Terms of Use / 利用規約\n\n### 1. Purpose / 目的\n\nThis tool is intended for creative assistance and is not designed to reproduce, substitute, or replicate existing copyrighted works, brands, or specific creators.\n本ツールは創作支援を目的としたものであり、既存の著作物、ブランド、または特定の作家・作品の再現や代替を目的とした利用は想定していません。\n\n---\n\n### 2. Prohibited Uses / 生成コンテンツに関する禁止事項\n\nUsers must not engage in the following:\nユーザーは、本ツールを使用して以下の行為を行ってはなりません。\n\n#### (1) Intellectual Property Infringement / 著作権・知的財産権侵害\nReproducing or closely imitating existing backgrounds, recognizable styles, or protected elements.\n- 既存の漫画、アニメ、小説、映画、ゲーム等の背景や美術設定を実質的に再現・模倣する行為\n- 特定の作家のスタイル・作風を識別可能なレベルで再現する行為\n- デザイン要素の無断流用\n- 商標、ロゴ、ブランド要素の無断使用\n\n#### (2) Use of Infringing Content / 権利侵害コンテンツの利用\nGenerating, distributing, or monetizing infringing or derivative content without permission.\n- 第三者の著作権、商標権、パブリシティ権等を侵害するコンテンツの生成、公開、販売、共有\n- 既存IPに類似したコンテンツの無断商用利用\n\n#### (3) Facilitation of Misuse / 不正利用の助長\nCreating or sharing tools intended for infringement.\n- 権利侵害を目的としたプロンプト、テンプレート、ワークフローの作成・共有\n- 他者に侵害行為を促す行為\n\n#### (4) Illegal Activities / 法令違反・不正行為\nAny illegal or harmful use.\n- 適用される法令に違反する行為\n- 詐欺、不正行為、または有害な目的での利用\n\n---\n\n### 3. Responsibility \u0026 Ownership / 生成物の責任および権利\n\nThe user bears full responsibility for generated content.\n生成されたコンテンツの内容および利用に関するすべての責任はユーザーに帰属します。\n\nThe developer does not claim ownership of generated content but does not guarantee its legality or usability.\n本ツールの利用によって生成されたコンテンツについて、開発者は著作権その他の権利を主張しませんが、その適法性・利用可能性を保証するものではありません。\n\n---\n\n### 4. Disclaimer / 免責事項\n\nThis tool is provided \"as is\" without any warranties.\n本ツールは「現状有姿（AS IS）」で提供され、明示または黙示を問わず、いかなる保証も行いません。\n\nThe developer shall not be liable for any damages arising from use.\n開発者は、本ツールの利用または生成コンテンツに起因するいかなる損害についても責任を負いません。\n\n---\n\n### 5. Infringement \u0026 Takedown / 権利侵害への対応\n\nUpon receiving a valid claim, the developer may:\n権利侵害の申し立てがあった場合、開発者は独自の判断により以下の対応を行う場合があります。\n\nRemove content, restrict usage, or take necessary actions.\n- 該当コンテンツの削除要請または削除\n- 利用の制限または禁止\n- リポジトリの公開停止等の措置\n\n---\n\n### 6. Changes / 規約の変更\n\nThese terms may be updated without notice.\n本規約は予告なく変更される場合があります。\n\n---\n\n### 7. Governing Law / 準拠法\n\nThese terms are governed by the laws of Japan.\n本規約は日本法に準拠します。\n\n---\n\n## AI Manga Creative Suite / AIまんが制作エコシステム\n\nThis project is part of an integrated ecosystem designed to support AI-powered manga and story creation.\n本プロジェクトは、AIを活用した漫画・ストーリー制作を支援する統合エコシステムの一部です。\n\n### Ecosystem Components / 構成システム\n\n#### 1. Nano Banana 2 and ChatGPT Images 2.0 Powered Super AI 4-koma System\nA system specialized in creating 4-panel manga with AI. / AIを活用した4コマ漫画制作に特化したシステムです。\n- [Explanation / 解説](https://note.com/happy_duck780/n/ndf063558c1f5)\n- [Demo / デモ](https://furuyan1234.github.io/nano-banana-pro/)\n- [Code / コード](https://github.com/FURUYAN1234/nano-banana-pro)\n\n#### 2. AI Story Maker\nA tool for generating creative stories and plots using AI. / AIを用いてクリエイティブなストーリーやプロットを生成するツールです。\n- [Explanation / 解説](https://note.com/happy_duck780/n/nd3d972922868)\n- [Demo / デモ](https://furuyan1234.github.io/story-maker/)\n- [Code / コード](https://github.com/FURUYAN1234/story-maker)\n\n#### 3. AI Character Sheet Maker\nAn assistant for designing detailed character sheets and settings. / 詳細なキャラクターシートや設定をデザインするための支援ツールです。\n- [Explanation / 解説](https://note.com/happy_duck780/n/neccbebd7d957)\n- [Demo / デモ](https://furuyan1234.github.io/character-sheet-maker/)\n- [Code / コード](https://github.com/FURUYAN1234/character-sheet-maker)\n\n#### 4. AI Comic Translation Tool\nA tool for translating manga into 10 languages using AI. / AIを使って漫画を10言語に翻訳するツールです。\n- [Explanation / 解説](https://note.com/happy_duck780/n/nbdf826604ce7)\n- [Demo / デモ](https://furuyan1234.github.io/comic-translation/)\n- [Code / コード](https://github.com/FURUYAN1234/comic-translation)\n\n#### 5. 360° AI Panorama Generator\nA tool that generates seamless 360-degree spatial backgrounds to provide background assets for manga and video. / シームレスな360度空間の背景を生成し、漫画や動画の背景素材として提供するツールです。\n- [Explanation / 解説](https://note.com/happy_duck780/n/nb53b121fef88)\n- [Demo / デモ](https://furuyan1234.github.io/panoforge/)\n- [Code / コード](https://github.com/FURUYAN1234/panoforge)\n\n#### 6. AI Voice Comic Maker\nA tool to automatically convert static 4-koma manga into fully voiced animated videos. / 静止画の4コマ漫画をフルボイスの動画に自動変換するツールです。\n- [Explanation / 解説](https://note.com/happy_duck780/n/ndc6533c1512f)\n- [Code / コード](https://github.com/FURUYAN1234/ai-voice-comic-maker)\n---\n\nDeveloped by **FURU**\n\n---\n\n## 📋 ChangeLog\n\n### v1.3.0 (2026-05-25)\n- **[Feature]** プロダクション環境への正式デプロイ。Gemini API非推奨化対応、両APIタイムアウト動的制御、およびThree.jsビューワーのメモリ・リソースリーク（GPUテクスチャ解放漏れ、非表示時の描画ループ継続、OrbitControlsの破棄漏れ、キャプチャ時の画面チラツキ）の修正がすべて適用された安定版を公開。\n\n### v1.2.9 (2026-05-25)\n- **[Bugfix]** Three.js ビューワーの破棄（`destroy()` 実行）時において、`OrbitControls` が明示的に解放（`dispose()`）されておらず、内部イベントリスナーがメモリリークを引き起こすバグを修正しました。\n- **[Bugfix]** 高解像度キャプチャの実行時に、CanvasのCSSスタイルサイズが一瞬変更されることで画面レイアウトが崩れて激しくチラつく表示バグを、`renderer.setSize(..., false)` の指定により解決しました。\n\n### v1.2.8 (2026-05-25)\n- **[Bugfix]** Three.js 3Dビューワーにおいて、新規ロード時に古いテクスチャオブジェクト（`material.map`）が明示的に解放されずにGPUメモリ上に残り続け、ブラウザタブクラッシュを招くメモリリークバグを修正しました。\n- **[Bugfix]** ビューワーを閉じて元の設定画面に戻った際にも、裏で 3D レンダリングループ（`requestAnimationFrame`）が回り続け、無駄なCPU/GPUリソースを消費し続けるリークバグを修正しました。\n\n### v1.2.7 (2026-05-25)\n- **[Bugfix]** 廃止された旧Gemini画像生成モデルの404エラーを解消するため、`IMAGE_MODELS` の優先リストを最新モデル（`gemini-3.1-flash-image-preview` / `gemini-2.5-flash-image` 等）に更新しました。\n- **[Bugfix]** 前回の25秒一律タイムアウトにより画像生成がタイムアウト失敗する不整合を解消するため、タイムアウト制御をリクエストタイプに応じて動的化（画像生成時は60秒に自動延長）しました。\n\n### v1.2.6 (2026-05-25)\n- **[Feature]** OpenAI APIの全リクエストに対してもタイムアウト制御（テキスト・ビジョン: 25秒、画像生成: 60秒、ダウンロード: 30秒）を導入し、両APIにおける網羅的なフリーズ対策を適用しました。\n\n### v1.2.5 (2026-05-25)\n- **[Feature]** Gemini API非推奨化対応として、テキスト生成（シーン/スタイル提案）の優先モデルを `gemini-3.5-flash` / `gemini-flash-latest` に更新し、フォールバック先に `gemini-1.5-pro` などを配置。\n- **[Feature]** API呼び出し中のフリーズを防ぐため、25秒のタイムアウト制御を追加し、タイムアウトや例外発生時には自動でフォールバックモデルへ移行して再試行する仕組みを導入。\n\n### v1.2.4 (2026-05-23)\n- **[Feature]** OpenAI APIのモデル最適化およびテキスト・ビジョンの双方へのフォールバックチェーンを実装。 / Implemented OpenAI model optimization and fallback chains for both text and vision requests.\n  - テキスト生成（スタイル提案、シーン提案）: `gpt-4.1` -\u003e `gpt-4.1-mini` -\u003e `gpt-4.1-nano` -\u003e `gpt-4o` のフォールバックチェーンを導入。 / Text generation fallback: `gpt-4.1` -\u003e `gpt-4.1-mini` -\u003e `gpt-4.1-nano` -\u003e `gpt-4o`.\n  - 画像解析（Vision）: `gpt-4.1` -\u003e `gpt-4.1-mini` -\u003e `gpt-4o` -\u003e `gpt-4o-mini` のフォールバックチェーンを導入。 / Vision analysis fallback: `gpt-4.1` -\u003e `gpt-4.1-mini` -\u003e `gpt-4o` -\u003e `gpt-4o-mini`.\n  - API一時障害時の耐障害性を向上させ、高速・低コストなモデルを優先的に利用するよう最適化しました。 / Improved resilience against temporary API failures and optimized to prioritize fast, cost-efficient models.\n- **[Improve]** OpenAIモードでの完了予測時間案内を「約2〜4分」から「約2〜5分」に改め、5分タイムアウト処理（内部タイマー）を導入。 / Updated OpenAI generation expected time to 2-5 minutes and implemented a 5-minute timeout.\n\n### v1.2.3 (2026-05-19)\n- **[Improve]** 右上のAPI設定ボタンの表示名を「API切替」に変更し、役割をより明確にしました。 / Renamed the top-right API settings button to \"API Switch\" for clarity.\n\n### v1.2.2 (2026-05-18)\n- **[Bugfix]** 起動時のポート競合エラーを防ぐため、バッチファイル（`start_panorama_generator.bat`）にゾンビプロセス（Node.js）のクリーンアップ処理を追加。 / Added zombie node process cleanup in the startup batch file to prevent port conflict errors on launch.\n\n### v1.2.1 (2026-05-18)\n- **[Feature]** Dual-API アーキテクチャを実装。Gemini APIに加えて **OpenAI API (DALL-E 3 \u0026 GPT-4o)** を公式サポート。APIキーの形式 (`sk-`) を自動判別し、UIとバックエンドロジックをシームレスに切り替えます。 / Implemented Dual-API Architecture, officially supporting OpenAI API (DALL-E 3 \u0026 GPT-4o) alongside Gemini. Automatically detects key format and switches UI/backend logic.\n- **[Feature]** OpenAIモード（DALL-E 3）での画像生成・拡張時に、2〜5分の待機時間を示すタイマーと明確な案内を表示するようUIを改善。 / Added a processing timer and clear wait-time annotations (2-5 minutes) for OpenAI mode generation and expansion.\n- **[Improve]** メイン画面右上の「API設定」ボタンを改修し、現在のエンジン（Gemini/OpenAI）を表示するバッジと、設定を開くボタンを完全に分離して視認性を向上。 / Separated the API engine status badge and the settings button in the top right header for better visibility.\n- **[Improve]** APIキー入力モーダルのUIを刷新。他アプリと共通のスマートゲート仕様（状態インジケータ色変更、従量課金警告）を導入。 / Revamped API Key Modal UI with Smart Gate design (status indicator color change, usage-based billing warning).\n- **[Document]** READMEを大幅に加筆・修正。Dual-APIアーキテクチャの解説を強化し、OpenAI API利用時の「従量課金」および「パノラマ拡張における再構築（近似生成）仕様」の注意事項を明記。 / Major README rewrite to highlight Dual-API architecture, clearly documenting OpenAI API pay-as-you-go costs and the \"re-creation\" limitations of DALL-E 3 panorama expansion.\n\n### v1.1.5 (2026-05-18)\n- **[Bugfix]** 起動バッチファイル名を修正 (start_panorama_generator.bat) / Fixed startup batch file name.\n\n### v1.1.4 (2026-05-15)\n- **[Improve]** 処理中の進行状況（ステップ）表示を動的生成方式に変更し、通常画像生成時と360°パノラマ拡張時の表示を適正化しました。 / Optimized processing step display to dynamically switch between normal image generation and 360° panorama expansion.\n- **[Improve]** 360°プレビュー画像の表示制限を撤廃し、2:1比率のワイドストリップとして自然に表示されるように修正。 / Removed height constraint on 360° preview to display the full equirectangular panoramic strip correctly.\n- **[Improve]** メニュー画面の「ダウンロード」ボタンからも、GPano XMPメタデータ付きのJPEG形式で360°パノラマ画像を保存できるように統一（タイムスタンプ付きファイル名）。 / Unified 360° image download from the main menu to save as JPEG with GPano XMP metadata and timestamped filenames.\n- **[Bugfix]** テキストからの初回画像生成（Step 1）で誤って360°風の歪んだ画像が生成されてしまう問題を防ぐため、プロンプトからパノラマ関連の指示を削除し、通常の構図で出力されるように修正。 / Removed panorama-related instructions from the Step 1 prompt to ensure the initial generated image uses a standard, non-distorted composition.\n\n### v1.1.3 (2026-05-14)\n- **[Bugfix]** AI提案機能（シーン/スタイル）において、一部のAIモデル（Gemini 2.0/2.5等）が思考プロセス（Chain of Thought）を出力してしまい入力窓に混入する問題を修正。プロンプトの厳格化と後処理ロジックの追加により、最終的な提案内容のみを抽出するように改善しました。 / Fixed an issue where the AI suggestion feature would leak the AI's internal thought process into the input field by tightening the prompt and adding post-processing logic to extract only the final output.\n\n### v1.1.2 (2026-05-14)\n- **[Improve]** ユーザーの混乱を防ぐため、安全フィルタによるブロック時のエラーダイアログで「そのままリトライで成功する可能性がある」旨を明記するように修正。 / Improved content policy error messages to clarify that retrying might succeed due to safety filter false positives.\n\n### v1.1.1 (2026-05-14)\n- **[Feature]** アプリタイトルの横とAPI設定モーダルのヘッダーに現在のバージョンを示すバッジ（vX.Y.Z）を表示。UIの利便性と管理性を向上。 / Added version badges to the main header and API settings modal for better visibility.\n\n### v1.1.0 (2026-05-14)\n- **[Major]** 360°パノラマ拡張プロンプトを大幅強化。左右端のシームレス接続を「最優先事項」として明示し、equirectangular投影の数学的制約（360°ラップ、極点歪み、バレル歪曲）を技術的に詳述。つなぎ目の見えるパノラマ生成を大幅に改善。 / Major prompt engineering overhaul for 360° panorama expansion. Seamless left-right edge connection is now enforced as the absolute top priority with detailed technical constraints for equirectangular projection.\n- **[Improve]** テキスト→画像生成プロンプトも360°変換を前提とした広角構図に最適化。 / Text-to-image generation prompt now optimized for wide-angle composition suitable for 360° conversion.\n\n### v1.0.9 (2026-05-14)\n- **[Feature]** 360°画像保存時にGPano XMPメタデータをJPEGバイナリに埋め込む機能を実装。Google Photos、Facebook等で自動的に360°ビューワーが起動する形式で出力。 / Added GPano XMP metadata injection into JPEG binary on 360° image save. Images now auto-open in 360° viewer on Google Photos, Facebook, etc.\n- **[Change]** 保存形式をPNGからJPEG (95%品質) に変更。XMPメタデータ埋め込みのため。 / Changed output format from PNG to JPEG (95% quality) to support XMP metadata embedding.\n\n### v1.0.8 (2026-05-14)\n- **[Fix]** スタイルプリセットから固有名詞（「ジブリ風」「新海誠風」）を削除し、一般的な表現（「手描きアニメ風」「光彩写実アニメ」）に置換。商標・著作権のコンプライアンス対応。 / Replaced proprietary style names (Ghibli, Shinkai) with generic descriptions for compliance.\n\n### v1.0.7 (2026-05-14)\n- **[Feature]** 既存の360°画像をビューワーで開いた際、「360°画像を保存」ボタンを非表示にするリードオンリーモードを実装。元画像の劣化コピー保存を防止し、キャプチャ保存のみ有効に。 / Added read-only viewer mode for pre-existing 360° images. Hides the save button to prevent quality-degraded re-saves; capture function remains available.\n\n### v1.0.6 (2026-05-14)\n- **[Feature]** シーンプリセットを7カテゴリ計65個以上に大幅拡充（都市・街、自然・風景、ファンタジー・SF、室内・建築、時代・歴史、天候・時間帯）。ポチポチ選ぶだけで生成可能に。 / Massively expanded scene presets to 65+ across 7 categories for one-click generation.\n- **[Feature]** スタイルプリセットを24種に倍増（ジブリ風、新海誠風、ヴェイパーウェイブ、水墨画、アールヌーヴォー等を追加）。 / Doubled style presets to 24 (added Ghibli, Shinkai, vaporwave, ink wash, Art Nouveau, etc.).\n- **[Feature]** シーンAI提案ボタンを追加。AIがランダムなシーン説明を提案。 / Added Scene AI suggestion button for creative scene proposal.\n- **[Cleanup]** 不要な一時スクリプトおよびViteテンプレート残骸を削除。 / Removed temporary scripts and Vite template leftovers.\n\n### v1.0.5 (2026-05-14)\n- **[Feature]** シーンの説明にプリセットチップ＋自由入力窓＋AI提案ボタンのUIを追加。 / Added scene preset chips, free input textarea, and AI suggestion button.\n- **[Feature]** スタイルAI提案機能を実装。シーンに基づいて最適なスタイルをAIが推薦。 / Implemented style AI suggestion based on scene description.\n\n### v1.0.4 (2026-05-14)\n- **[Docs]** AI Manga Creative Suite / AIまんが制作エコシステムの項目にNoteの解説リンクを追加し、一覧を最新化しました。 / Updated the Ecosystem list and added the Note explanation link.\n- **[Docs]** リポジトリのAbout欄にトピックタグを付与し、説明文を更新しました。 / Updated repository description and topic tags.\n\n### v1.0.3 (2026-05-14)\n- **[Docs]** ドキュメントフォーマットの修正と更新を行いました。 / Fixed documentation formatting.\n\n### v1.0.0 - v1.0.2 (2026-05-13)\n- **[Feature]** 360° AI Panorama Generator の初版およびバグフィックス版をリリース。Gemini 2.0 Flash APIを利用したシームレスな360度パノラマ背景の生成と、Three.jsによるインタラクティブビューワー、Zenith Protocolによるフォールバック機構を搭載。 / Initial releases of 360° AI Panorama Generator.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuruyan1234%2Fpanoforge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuruyan1234%2Fpanoforge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuruyan1234%2Fpanoforge/lists"}