Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 50 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,56 @@ jobs:
test_tmp="$(mktemp -d "$HOME/agent-work/tmp/pytest/public-ci-XXXXXX")"
trap 'rm -rf "$test_tmp"' EXIT
export TMPDIR="$test_tmp"
python -m pytest -q --basetemp="$test_tmp/bt" tests scripts/test_app_guide_catalog.py scripts/test_app_graph_catalog.py scripts/test_hardware_catalog.py scripts/test_demo_catalog.py scripts/test_guide_translations.py scripts/test_community_workflows.py scripts/test_community_workflow_sources.py scripts/test_moss_trainer.py scripts/test_workflow_library.py scripts/test_workflow_guides.py scripts/test_autoip_oct22.py scripts/test_autoip_contract.py scripts/test_autoip_worker.py scripts/test_autoip_quote.py scripts/test_provider_autoip_profiles.py
python -m pytest -q --basetemp="$test_tmp/bt" tests scripts/test_app_guide_catalog.py scripts/test_app_graph_catalog.py scripts/test_hardware_catalog.py scripts/test_demo_catalog.py scripts/test_guide_translations.py scripts/test_community_workflows.py scripts/test_community_workflow_sources.py scripts/test_moss_trainer.py scripts/test_workflow_library.py scripts/test_workflow_guides.py scripts/test_autoip_oct22.py scripts/test_autoip_contract.py scripts/test_autoip_worker.py scripts/test_autoip_quote.py scripts/test_provider_autoip_profiles.py \
scripts/test_character_original.py \
scripts/test_collector_r35_integration.py \
scripts/test_compute_collector.py \
scripts/test_compute_parity_hosted_h1.py \
scripts/test_compute_parity_p1.py \
scripts/test_compute_r29.py \
scripts/test_compute_r29b.py \
scripts/test_compute_r29c.py \
scripts/test_compute_r30.py \
scripts/test_compute_r31.py \
scripts/test_compute_r32.py \
scripts/test_compute_r33.py \
scripts/test_compute_r34.py \
scripts/test_compute_r35.py \
scripts/test_compute_r36.py \
scripts/test_compute_r36b.py \
scripts/test_compute_r36c.py \
scripts/test_compute_r37.py \
scripts/test_compute_r38.py \
scripts/test_compute_r39.py \
scripts/test_compute_r40.py \
scripts/test_compute_r40b.py \
scripts/test_compute_r40c.py \
scripts/test_compute_r40v4.py \
scripts/test_compute_r40v5.py scripts/test_egress_guard.py scripts/test_security_s1.py scripts/test_security_s1d.py scripts/test_compute_r40v6_robustness.py scripts/test_compute_r40v6_unsent_faults.py scripts/test_compute_r40v6_voice_toolchain.py scripts/test_h3_provider_worker.py \
scripts/test_compute_r40v5_log_stats.py \
scripts/test_compute_r40v5_restart_hold.py \
scripts/test_compute_r40v5_worker_yield.py \
scripts/test_review2_fixes_r35.py \
scripts/test_review2_original_r35.py \
scripts/test_review2_safety_r35.py \
scripts/test_review3_boundaries_r35.py \
scripts/test_review3_grace_r35.py \
scripts/test_review_r35.py \
scripts/test_review_r36c.py \
scripts/test_review_r37.py \
scripts/test_review_r38_caps.py \
scripts/test_review_r38_diagnostics.py \
scripts/test_review_r38_faults.py \
scripts/test_review_r38b_edges.py \
scripts/test_session_safety_r35.py
- name: JavaScript syntax
run: |
node --check webui/static/app.js
node --check webui/static/workflow-library.js
node --check webui/static/colab.js
node --check webui/static/compute-parity.js
node --check scripts/test_compute_r32_poll.cjs
node --check scripts/test_session_controls_r38.js
node --check webui/docs/docs.js
node --check webui/docs/explorers.js
node --check webui/docs/tour.js
Expand All @@ -77,6 +121,10 @@ jobs:
node --check webui/static/guide-translations-en.js
node --check webui/docs/landing.js
node --check webui/docs/hardware.js
- name: Offline JavaScript regressions
run: |
node scripts/test_compute_r32_poll.cjs
node scripts/test_session_controls_r38.js
browser:
runs-on: ubuntu-latest
steps:
Expand All @@ -102,4 +150,4 @@ jobs:
browser_test_tmp="$(mktemp -d "$HOME/agent-work/tmp/pytest/browser-ci-XXXXXX")"
trap 'rm -rf "$browser_test_tmp"' EXIT
export TMPDIR="$browser_test_tmp"
python -m pytest -q --basetemp="$browser_test_tmp/bt" scripts/test_docs_browser.py scripts/test_landing_browser.py scripts/test_tour_browser.py scripts/test_explorers_browser.py scripts/test_hardware_catalog.py scripts/test_i18n_browser.py tests/test_portrait_browser.py tests/test_colab_browser.py tests/test_workflow_review_browser.py
python -m pytest -q --basetemp="$browser_test_tmp/bt" scripts/test_docs_browser.py scripts/test_landing_browser.py scripts/test_tour_browser.py scripts/test_explorers_browser.py scripts/test_hardware_catalog.py scripts/test_i18n_browser.py tests/test_portrait_browser.py tests/test_colab_browser.py tests/test_workflow_review_browser.py tests/test_provider_console_browser.py
26 changes: 26 additions & 0 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Gitleaks settings for this repository: all default rules, plus one reviewed exception.
# The Colab overlay manifests map file paths to SHA-256 digests of pinned upstream files.
# File names such as "api.py" or "...ArgsEntry.py" next to a 64-character hex digest trip
# the generic-api-key and sentry-access-token rules. For those two rules only, a value that
# is exactly 64 lowercase hex characters in one of these two files is allowed; everything
# else, in these files or elsewhere, is still reported.
[extend]
useDefault = true

[[rules]]
id = "generic-api-key"
[[rules.allowlists]]
description = "SHA-256 file digests in the Colab overlay manifests"
condition = "AND"
paths = ['''(^|/)scripts/colab_session_overlays/(breezy-inventory|voice-environments)\.json$''']
regexTarget = "secret"
regexes = ['''^[0-9a-f]{64}$''']

[[rules]]
id = "sentry-access-token"
[[rules.allowlists]]
description = "SHA-256 file digests in the Colab overlay manifests"
condition = "AND"
paths = ['''(^|/)scripts/colab_session_overlays/(breezy-inventory|voice-environments)\.json$''']
regexTarget = "secret"
regexes = ['''^[0-9a-f]{64}$''']
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@

The installed app also includes [character portrait composition](docs/character-portraits.md): Qwen 2.1 identity-image conditioning, separate anime/realistic clothing references, scene and pose choices, and compact previews.

The optional [Google Colab H3 lane](docs/colab.md) adds separate account connections, durable cloud jobs, output retrieval and verified GPU release. Its source, CPU and browser contracts are tested; real-account GPU qualification is still pending. The [exhaustive upstream audit](docs/workflow-audit/README.md) distinguishes indexed workflows, importable graphs and actual execution evidence.
Five lanes, in short:

- **Local** is the reference lane. Every catalog workflow runs on your own ComfyUI. Hosted time estimates start from your own completed Local runs or an estimate the owner enters; the repository ships no measurements.
- **Google Colab** opens one work session per connected Google account. Real-account video jobs (dance and video replace) completed on A100 work sessions on 2026-11-13. Voice on Colab is not available yet: the voice environment still fails to build there, and this repository does not ship the pinned VoxCPM wheel, so that environment fails closed (`voice_env_mismatch`). See [Colab](docs/colab.md).
- **AutoIP** quotes credits before dispatch and settles afterwards. Real-account dance generations completed on 2026-11-11 and 2026-11-12. Identity similarity to Local varies by character. The seven media operations are covered by contract and synthetic tests in CI.
- **Comfy Cloud** takes your own API key and submits the same graph bundle through the `/api/v2` jobs and assets API, after an object-info readiness check. Real-account dance jobs completed on 2026-11-11 and 2026-11-12. The API reported settlement as pending, so the UI shows an estimate until the provider reports an actual cost.
- **RunningHub** takes your own membership API key and runs the same graph through its ComfyUI-compatible API (`/proxy-plus/` prompt, object info, upload, history, queue and interrupt) plus an account-status check. A real-account calibration produced 8 of 8 outputs on 2026-11-12. Identity similarity to Local ranged from close to clearly lower for realistic characters, and anime characters drifted toward a realistic face, so identity parity with Local is not reached yet.

Since 2026-11-10 the installed app adds Colab work sessions and an independent lease sweeper, cross-lane graph bundles with readiness checks, estimates and a local journal, a provider console for bring-your-own keys, and hosted readiness and inventory checks. [Compute platforms](docs/compute-platforms.md) is the current description. The [upstream audit](docs/workflow-audit/README.md) remains a historical snapshot from 2026-11-10.

A local front end for your own ComfyUI: image and video forms, a searchable workflow library, generation queues, and user-managed character, voice and media collections. Use the top-right **繁中 / English** control to switch the interface language on the documentation site or in the installed app.

Expand All @@ -20,7 +28,7 @@ The working application runs on **your computer**, with a separately installed C

**Reference blending now preserves the original subject:** SAM3 creates a subject mask and composites the original person over your second image as the background. It does not redraw the face, change clothes or add lighting/shadows. See the [model setup, actual GPU example and pixel comparison](docs/subject-blend.md). Recorded demos display labeled simulated progress before revealing their results.

The demo's hardware selector offers no NVIDIA GPU, common 8/12/16/24/32 GB VRAM tiers, and two 24 GB cards. These are planning estimates, not measured minimums or benchmarks; two 24 GB cards are not treated as a pooled 48 GB device. Selecting a profile changes only the static demo's availability hints, never your installed app's configuration or permissions. Choosing **AutoIP** enables all 23 demo forms for exploration; real cloud support remains limited to available provider services and implemented integrations. The [cloud/demo guide](docs/autoip-cloud-demo.md) explains those boundaries and discloses referral code `TEDH2FND` used by the optional AutoIP registration link and QR code.
The demo's hardware selector offers no NVIDIA GPU, common 8/12/16/24/32 GB VRAM tiers, and two 24 GB cards. These are planning estimates, not measured minimums or benchmarks; two 24 GB cards are not treated as a pooled 48 GB device. Selecting a profile changes only the static demo's availability hints, never your installed app's configuration or permissions. Choosing **AutoIP** enables all 23 demo forms for exploration; real cloud support remains limited to available provider services and implemented integrations. The [cloud/demo guide](docs/autoip-cloud-demo.md) explains those boundaries and discloses referral code `TEDH2FND` used by the optional AutoIP registration link and QR code. The RunningHub card uses referral code `qqgzxufp` and the link `https://www.runninghub.ai?inviteCode=qqgzxufp`; the disclosure is in [docs/runninghub-referral.md](docs/runninghub-referral.md).

## Start locally

Expand Down
12 changes: 10 additions & 2 deletions README.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@

安裝版新增[角色搭配寫真](docs/character-portraits.md):以 Qwen 2.1 參考角色原圖,搭配場景、服裝與姿勢。動畫/寫實服裝分開,圖卡使用小型預覽視窗。

選用的 [Google Colab H3 整合](docs/colab.md) 提供分開的帳號連線、可恢復的雲端任務、成果下載與 GPU 釋放確認;已通過來源、CPU 與瀏覽器測試,真實帳號的 GPU 生成仍待驗證。[完整上游逐條研究](docs/workflow-audit/README.md) 分清楚已收錄、可匯入及有實跑證據的工作流。
五條運算路線目前是:

- **本機**是對照路線。目錄裡的每個工作流都在你自己的 ComfyUI 上跑。託管路線的時間估計來自你自己已完成的本機執行,或由擁有者輸入的估計;儲存庫不附帶測量資料。
- **Google Colab** 對每個已連接的 Google 帳號開一個工作階段。2026-11-13 已在 A100 工作階段完成真實帳號的舞蹈與影片替換。Colab 上的語音還不能用:語音環境建置仍然失敗,此儲存庫也不附帶釘選的 VoxCPM wheel,因此語音環境以 `voice_env_mismatch` 失敗關閉。見 [Colab](docs/colab.md)。
- **AutoIP** 在派送前報價、完成後結算。2026-11-11 與 2026-11-12 已完成真實帳號的舞蹈生成。和本機的身份相似度依角色而異。七個媒體操作由 CI 的契約與合成測試覆蓋。
- **Comfy Cloud** 使用你自己的 API 金鑰,把同一份圖束經 `/api/v2` 的工作與素材 API 送出,並先做 object-info 就緒檢查。2026-11-11 與 2026-11-12 已完成真實帳號的舞蹈工作。API 回報結算仍待處理,所以介面顯示估計,直到供應商回報實際費用。
- **RunningHub** 使用你自己的會員 API 金鑰。同一張圖走 RunningHub 相容 ComfyUI 的 API(`/proxy-plus/` 的 prompt、object info、上傳、history、queue、interrupt)以及帳戶狀態。2026-11-12 的真實帳號校正產出 8 個成果、8 個都成功。和本機的身份相似度,寫實角色從接近到明顯較低都有,動漫角色會往寫實的臉偏移,因此還沒有達到和本機一致。

2026-11-10 之後,安裝版新增 Colab 工作階段與獨立租約清掃、跨路線圖束與就緒檢查、估計與本機日誌、自備金鑰的供應商主控台,以及託管就緒與清單檢查。現況見 [運算平台](docs/compute-platforms.md)。[上游逐條研究](docs/workflow-audit/README.md) 仍是 2026-11-10 的歷史快照。

在自己的電腦上,用網頁介面操作 ComfyUI 生圖、影片、工作流、角色、聲音與素材。公開文件站與安裝後的 WebUI 都可用右上角 **繁中 / English** 切換介面語言。角色、帳號與素材庫從空白開始,需要 API 的功能可設定自己的帳號與金鑰。

Expand All @@ -16,7 +24,7 @@

成果範例必須來自對應工作流的實際執行,並記錄輸入、不同的輸出、GPU 與執行證據。參考插圖只作為輸入,不充當生成成果;尚未實跑的影片、語音、訓練及其他功能不以替代媒體展示成果。[示範來源紀錄](webui/docs/examples/provenance.json) 保留公開素材與執行證據;發布只開放經審核的指定路徑與固定雜湊,個人與執行期媒體仍不納入。詳見 [文件站說明](docs/site.md)。

示範的硬體選單提供無 NVIDIA GPU、8/12/16/24/32 GB 常見顯存級距,以及雙 24 GB 顯卡。這是規劃估計,不是最低需求實測或效能測試;雙 24 GB 不視為合併的 48 GB。切換只影響示範中的可用性提示,不偵測顯卡,也不更動安裝後 WebUI 的設定或停用本機功能。選 **AutoIP** 可探索全部 23 項示範表單,不代表每個本機節點、訓練器或功能都已有雲端 API 對應。選用的註冊連結與 QR code 帶推薦碼 `TEDH2FND`;服務界線與聯盟推薦揭露見 [AutoIP 雲端與示範說明](docs/autoip-cloud-demo.md)。
示範的硬體選單提供無 NVIDIA GPU、8/12/16/24/32 GB 常見顯存級距,以及雙 24 GB 顯卡。這是規劃估計,不是最低需求實測或效能測試;雙 24 GB 不視為合併的 48 GB。切換只影響示範中的可用性提示,不偵測顯卡,也不更動安裝後 WebUI 的設定或停用本機功能。選 **AutoIP** 可探索全部 23 項示範表單,不代表每個本機節點、訓練器或功能都已有雲端 API 對應。選用的註冊連結與 QR code 帶推薦碼 `TEDH2FND`;服務界線與聯盟推薦揭露見 [AutoIP 雲端與示範說明](docs/autoip-cloud-demo.md)。RunningHub 的推薦碼是 `qqgzxufp`,連結為 `https://www.runninghub.ai?inviteCode=qqgzxufp`,揭露見 [RunningHub 推薦連結](docs/runninghub-referral.md)。

女聲示範包含五種風格、三頁簡報旁白與合成聲音延續,共九段實際音檔;以本機 VoxCPM2 在 CPU 生成,沒有私人錄音或真人聲音參考。聲音庫可試聽、選聲音,再帶入語音示範。另補上實跑對嘴、虛構角色換臉、首尾幀影片及循環處理。詳見[女聲範例與重播方法](docs/voice-examples.md)。

Expand Down
2 changes: 1 addition & 1 deletion docs/autoip-cloud-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ QR code 與上方連結編碼相同的完整網址。SVG 使用原生向量圖

官方首頁列出 MCP 的七類媒體工具,並說明 API 金鑰及訂閱條件。[官方首頁的 MCP 說明](https://autoip.app/)、[官方串接教學](https://autoip.app/blog/claude-code)、[API 金鑰管理](https://autoip.app/dashboard/api-keys)

本專案已實作七個媒體生成操作:文生圖、圖生圖、文生影片、圖生影片、多參考影片、對嘴與舞蹈影片。這是程式契約及合成測試覆蓋的範圍,並非本次使用真實帳戶執行成功的宣告。詳細端點、選項及限制見 [AutoIP integration](autoip-api.md)。
本專案已實作七個媒體生成操作:文生圖、圖生圖、文生影片、圖生影片、多參考影片、對嘴與舞蹈影片。CI 覆蓋的是契約與合成測試。真實帳號的結果見 [運算平台](compute-platforms.md)。詳細端點、選項及限制見 [AutoIP integration](autoip-api.md)。

使用者提供的 2026-10-22 **AutoIP Public API Skill** 另描述圖片反推提示詞、圖片融合、多角度、貼文、關鍵幀影片、角色跳舞、影片修復、語音克隆、提示詞擴寫,以及角色/提示詞/聲音庫管理。這些上游能力並未因此自動出現在本 WebUI 的已實作操作中;逐項整合狀態見上述文件。

Expand Down
Loading
Loading