Nodes/VRGameDevGirl Video Enhancement Nodes/VRGDG Flow Browser Image Edit
ComfyUI Node

VRGDG Flow Browser Image Edit

Google Flow inside ComfyUI — send images in, get a result back, no API key

By vrgamegirl19·Created about a year ago·Updated about 7 hours ago· 718
VRGDG Flow Browser Image Edit
  • image1
  • image2
  • image3
  • image4
  • image5
  • image6
  • image7
  • image8
  • image9
  • image10
  • image11
  • image12
  • image13
  • image14
  • image15
  • image16
  • image17
  • image18
  • image19
  • image20
  • image21
  • image22
  • image23
  • image24
  • image25
  • image26
  • image27
  • image28
  • image29
  • image30
  • image31
  • image32
  • image33
  • image34
  • image35
  • image36
  • image37
  • image38
  • image39
  • image40
  • image41
  • image42
  • image43
  • image44
  • image45
  • image46
  • image47
  • image48
  • image49
  • image50
  • image
promptedit these images into a cinematic final image
image_count1
debug_port9222
timeout_seconds420
reuse_open_projecttrue

VRGDG Flow Browser Image Edit automates Google Flow (the Veo/Imagen-powered workspace at flow.google.com) from inside ComfyUI. It uploads your input images, types an edit prompt, waits for Flow to finish, and downloads the result back as an IMAGE. No API key, no billing setup - just a real Chrome instance doing what you'd do by hand, which is the whole point of the node.

Where you reach for this: you've got a ComfyUI workflow producing images - say scene plates for a video project - and you want Google's strong instruction-following model to mash them into something cinematic. It's the same category as the pack's VRGDG ChatGPT Images Browser but aimed at Google Flow specifically, which has its own strengths (fast iteration, strong multi-image editing) and its own quirks.

How it works

It's browser automation built on Node.js + Playwright, driving a Chrome instance with remote debugging enabled. Flow gets its own profile, chrome-flow-profile, and its own debug port, 9222 (default - leave it unless another app grabbed it).

The inputs you actually touch:

  • prompt - sent to Flow after any attached images are uploaded. Describe the final image you want, not what to change.
  • image_count - how many of the image1image50 sockets get read, starting at image1. 0 is text-only generation. If you connect reference images, set this to match or they're ignored.
  • debug_port - the Chrome remote-debugging port. Default 9222.
  • timeout_seconds - max time before ComfyUI gives up. Default 420; larger for slow generations, big uploads, or 2K downloads.
  • reuse_open_project - on by default, so it reuses the current Flow tab instead of clicking "New project" every time.

The optional image1image50 inputs are uploaded to Flow one at a time and added to the prompt before it's submitted. The single image output is the downloaded result, ready to wire into the rest of the graph.

Installing it

Same two-part dance as the other browser nodes. Install the pack - Manager, search vrgamedev, or:

cd ComfyUI/custom_nodes
git clone https://github.com/vrgamegirl19/comfyui-vrgamedevgirl.git

Restart and hard-refresh. Then run VRGDG Flow Browser Setup once - that's what installs portable Node.js and Playwright into the flow_automation folder. The pack's Python requirements are heavy (transformers, opencv, voxcpm, llama-cpp-python); on Windows portable use the pip tooling commands in the README, and Python 3.12 is the safe choice.

Common issues

  • Nothing happens. The setup node hasn't run, so Playwright's missing. Run it once and wait for it to finish.
  • Logged out. You must sign into flow.google.com inside the chrome-flow-profile browser once - the Flow Fully Automatic.bat launcher (Windows) opens it for you.
  • Inputs ignored. image_count controls how many image sockets exist; connected images beyond it are dropped.
  • Timeouts on slow edits. Multi-image uploads plus 2K output can exceed the default 420s. Bump it.

The honest framing: this is a genuinely handy bridge, but it's browser automation, so it's only as durable as Flow's DOM. When Google changes the UI, the script lags until the author updates. Treat it as a convenience for pulling Flow's strengths into a ComfyUI pipeline - not as the load-bearing wall of your workflow.

CategoryVRGDG/Flow

Inputs (55)

NameTypeDefaultDescription
promptSTRINGedit these images into a cinematic final imageText prompt sent to Google Flow after any connected input images are uploaded and added to the prompt. For edits, describe the final image you want Flow to create.
image_countINT10–50How many image sockets this run should read, starting at image1. Use 0 for text-only Flow generation. Increase this when connecting multiple reference images.
debug_portINT92221–65535Local Chrome remote-debugging port used by the automation. Leave 9222 unless another app is already using that port.
timeout_secondsINT42060–1800Maximum time to let Flow run before ComfyUI gives up. Use a larger value for slow generations, uploads, or 2K downloads.
image1optIMAGEOptional reference/edit input image #1. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image2optIMAGEOptional reference/edit input image #2. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image3optIMAGEOptional reference/edit input image #3. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image4optIMAGEOptional reference/edit input image #4. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image5optIMAGEOptional reference/edit input image #5. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image6optIMAGEOptional reference/edit input image #6. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image7optIMAGEOptional reference/edit input image #7. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image8optIMAGEOptional reference/edit input image #8. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image9optIMAGEOptional reference/edit input image #9. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image10optIMAGEOptional reference/edit input image #10. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image11optIMAGEOptional reference/edit input image #11. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image12optIMAGEOptional reference/edit input image #12. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image13optIMAGEOptional reference/edit input image #13. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image14optIMAGEOptional reference/edit input image #14. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image15optIMAGEOptional reference/edit input image #15. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image16optIMAGEOptional reference/edit input image #16. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image17optIMAGEOptional reference/edit input image #17. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image18optIMAGEOptional reference/edit input image #18. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image19optIMAGEOptional reference/edit input image #19. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image20optIMAGEOptional reference/edit input image #20. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image21optIMAGEOptional reference/edit input image #21. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image22optIMAGEOptional reference/edit input image #22. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image23optIMAGEOptional reference/edit input image #23. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image24optIMAGEOptional reference/edit input image #24. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image25optIMAGEOptional reference/edit input image #25. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image26optIMAGEOptional reference/edit input image #26. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image27optIMAGEOptional reference/edit input image #27. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image28optIMAGEOptional reference/edit input image #28. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image29optIMAGEOptional reference/edit input image #29. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image30optIMAGEOptional reference/edit input image #30. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image31optIMAGEOptional reference/edit input image #31. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image32optIMAGEOptional reference/edit input image #32. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image33optIMAGEOptional reference/edit input image #33. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image34optIMAGEOptional reference/edit input image #34. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image35optIMAGEOptional reference/edit input image #35. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image36optIMAGEOptional reference/edit input image #36. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image37optIMAGEOptional reference/edit input image #37. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image38optIMAGEOptional reference/edit input image #38. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image39optIMAGEOptional reference/edit input image #39. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image40optIMAGEOptional reference/edit input image #40. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image41optIMAGEOptional reference/edit input image #41. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image42optIMAGEOptional reference/edit input image #42. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image43optIMAGEOptional reference/edit input image #43. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image44optIMAGEOptional reference/edit input image #44. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image45optIMAGEOptional reference/edit input image #45. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image46optIMAGEOptional reference/edit input image #46. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image47optIMAGEOptional reference/edit input image #47. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image48optIMAGEOptional reference/edit input image #48. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image49optIMAGEOptional reference/edit input image #49. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
image50optIMAGEOptional reference/edit input image #50. Set image_count high enough to include this socket. Images are uploaded to Flow one at a time and added to the prompt before the text prompt is submitted.
reuse_open_projectoptBOOLEANtrueWhen enabled, non-manual automation reuses the currently open Flow project/tab instead of navigating back to the Flow home page and clicking New project for every image.

Outputs (1)

NameTypeDescription
imageIMAGE