This step covers how to configure the image generation service with the ComfyUI Graph generated from the previous section.
To quickly reproduce the demo functionalities, we have provided you with an example ComfyUI graph,latest_example.json
, which you downloaded in the section ComfyUI Requirements & Installation.
-
Import the
json
file into your ComfyUI. -
Click on
Save (API Format)
or in newer versions it may view asEXPORT (API)
option in the Workflow Tab.
Note: You may need to enable 'Dev mode Options' in the Settings in the bottom left corner of the screen.
-
Export to overwrite the file located in your app at
{kit-app-template/kit-streamer/source/extensions/omni.ai.viewport.core/workflows/realtime_workflow_v3.json}
.
>
In the image above, we are referring to
latest_workflow.json
instead oflatest_example.json
graph. It is important to note the difference in how the image input is set up in these graphs. In the image above, the image inputs are hooked up to the nodes on right that receive image data from theKit
application.
Please do not edit this file, it is only included in the blueprint as a workflow example.
❗ If you have added/modified/removed input text nodes or image loaders, you should make corresponding changes manually to the .spec
file located in your app at {kit-app-template/kit-streamer/source/extensions/omni.ai.viewport.core/workflows/realtime_workflow_v3.spec}
to hook up the Kit application and the image generation service.
-
The graph should be automatically connected to the models and references but should you experience problems with running the queue or not sure how to run the queue, see the next section, Assigning Models and References
-
If you can run the queue without issues, feel free to skip to the section, Connecting the Kit Application and the Image Generation Service
← Back to Guide | ___________________________________________________________________________ | Next (Assigning Models and References) → |
---|