Skip to content

feat(picture): the picture panel runs a ComfyUI workflow on the picture (2.33.0) - #32

Merged
nodemode-ai merged 6 commits into
mainfrom
feat/comfyui-formbridge-2.33.0
Dec 2, 2026
Merged

nodemode-ai merged 6 commits into
mainfrom
feat/comfyui-formbridge-2.33.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

feat(picture): the picture panel runs a ComfyUI workflow on the picture (2.33.0)

Summary

  • The picture panel (sound to picture) gains a ComfyUI row: the ComfyUI address with Check, the Comfy-FormBridge-Suite workflows the picture can fill, Run in ComfyUI and Cancel, a Prompt field for workflows that take text, and a note that says what is missing. A moving result becomes the session's picture at the same start, as one undo step; a caption shows as text.
  • New engine service and router (services/formbridge.py, routers/formbridge.py, under /api/formbridge), written from FormBridge contract 1. A movie slot gets the picture's own movie; a picture slot gets the frame at the playhead, cut by ffmpeg. Frame results are joined into H.264 and kept through picture.import_picture, like any opened movie.
  • Only workflows the picture alone can fill are offered: required slots that are picture, movie or text (not a mask), and a moving or text result. The engine refuses the others with the reason.
  • The engine has no job system, so a run is a thread with an in-memory record the window polls every 700 ms; Cancel also cancels the job on the server. Uploaded inputs are deleted on the server when the run ends.
  • The address is kept in formbridge.json in the data folder; formwav calls only the pack's routes there, with no system proxy and no redirect, and fetches no model, binary or data file of its own (so no NOTICE line).
  • Thirteen new strings in i18n/added/comfyui for the 25 languages.

Commits

  • feat(picture): the engine runs a FormBridge workflow on the session's picture in the person's own ComfyUI, and keeps a moving result as a new picture
  • feat(picture): a ComfyUI row in the picture panel: Check, the workflows the picture can fill, Run in ComfyUI, and the result as the picture in one undo step
  • i18n: the picture panel's ComfyUI row in the 25 languages
  • docs(logs): what the FormBridge client sends from the picture, what it keeps, and how the panel row behaves
  • chore(release): 2.33.0, the picture panel runs a ComfyUI workflow on the picture

The short hashes change when the commits are signed, so they are left out.

Version

v2.33.0 (release commit is last). Bumped: backend/app/core/version.py, backend/formwav_mcp/server.py, README.md badge and its text, frontend/package.json, frontend/package-lock.json (two), native/formwav-dsp/Cargo.toml, the Cargo.lock of the audio core, the plug-in host, the audio spike and the desktop shell, src-tauri/Cargo.toml, src-tauri/tauri.conf.json, and the version line of the backend, frontend, native and three demo logs. The demo bundles are not rebuilt: nothing in them changed.

Checks

  • Engine against ComfyUI 0.46.0 on CPU with Comfy-FormBridge-Suite: handshake; the workflows, seven of which the picture can fill (two ready); video.clean named as needing a mask; the self test and the matte self test on a 9-frame 24 fps picture, each back as a 128 by 96, 24 fps, 0.375 s picture whose movie the engine serves; a frame cut at 0.2 s (128 by 96); a mask workflow refused with 400, an unknown picture with 404, an ftp address with 422.
  • npm run build (tsc, then vite): passes. All 25 translation files parse and carry the same 13 keys.
  • pytest tests/test_engine.py -k version: the every-version-site test passes. The core-version test fails here only because the audio core was not built on this machine.

Not run: the full engine suite and the window smoke test (both need the audio core built); the panel in a real window, so its layout and the throttled no-flicker check are still to do; any workflow that needs a model. Note for review: for this check the picture was stored by hand, because POST /api/pictures also imports the movie's sound and answers 500 when the audio core is missing (existing behaviour, not changed here).

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner December 2, 2026 02:46
… the translator skips, so no language reports it missing
@nodemode-ai

Copy link
Copy Markdown
Collaborator Author

feat(picture): the picture panel runs a ComfyUI workflow on the picture (2.33.0)

Fix for the failed checks

The e2e test test_every_string_on_screen_has_a_translation_in_all_twenty_five_languages_and_english_comes_back_whole failed on all four runs with one string, "ComfyUI", missing in each of the 25 languages. It was the text node of the address label in the picture panel's new ComfyUI row: the translator's walker counts it even while the panel is hidden, and "ComfyUI" is a name, so it has no translation.

The word now sits in a <span translate="no">, which the walker skips, as the address field already did. No translation file changes. The frontend log's entry says so.

Commits

  • fix(picture): the word ComfyUI in the panel's address label is a name the translator skips, so no language reports it missing

It sits after the release commit because the five commits before it are already pushed and signed; the version stays 2.33.0, which has not been built.

Checks

npm run build passes. Not run here: the e2e suite, which needs the audio core built; the checks on this pull request are the run that confirms it.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

@nodemode-ai
nodemode-ai merged commit e91e308 into main Dec 2, 2026
9 checks passed
@nodemode-ai
nodemode-ai deleted the feat/comfyui-formbridge-2.33.0 branch December 2, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant