Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to make this "latent" effective on a separate page? #226

Open
Aizizhu opened this issue Jul 29, 2024 · 9 comments
Open

Is there a way to make this "latent" effective on a separate page? #226

Aizizhu opened this issue Jul 29, 2024 · 9 comments

Comments

@Aizizhu
Copy link

Aizizhu commented Jul 29, 2024

Sorry, I used Google Translate,the translation may not be smooth.
This operating space is too small. Is there a way to enable this function to be enabled on a separately opened web?
1

@PladsElsker
Copy link
Contributor

There were plans to let the user put the small window in full screen, but it has not been implemented.
You cannot do this right now.

Last update to the extension was 6 months ago.
The devs of this extension have mosty moved to other projects, me included.

@ljleb
Copy link
Contributor

ljleb commented Jul 30, 2024

We should probably archive the project, maybe someone else would pick it up.

@Aizizhu
Copy link
Author

Aizizhu commented Jul 30, 2024

I temporarily copied the HTML for use.It's just more troublesome to get clinetid every time

1722328175063.mp4

@PladsElsker
Copy link
Contributor

I temporarily copied the HTML for use.It's just more troublesome to get clinetid every time

1722328175063.mp4

It shows a black screen on my phone, but it sounds like you found a temporary solution 👍

@PladsElsker
Copy link
Contributor

PladsElsker commented Jul 30, 2024

We should probably archive the project, maybe someone else would pick it up.

This probably means it will be removed from the extension list.

The only problem I have with archiving is that it closes all issues, and they might be useful to anyone willing to take the lead.

@Aizizhu
Copy link
Author

Aizizhu commented Jul 30, 2024

I temporarily copied the HTML for use.It's just more troublesome to get clinetid every time

1722328175063.mp4

It shows a black screen on my phone, but it sounds like you found a temporary solution 👍

image

@PladsElsker
Copy link
Contributor

I temporarily copied the HTML for use.It's just more troublesome to get clinetid every time

1722328175063.mp4

It shows a black screen on my phone, but it sounds like you found a temporary solution 👍

image

Oh I see, nice

@Aizizhu
Copy link
Author

Aizizhu commented Jul 31, 2024

I temporarily copied the HTML for use.It's just more troublesome to get clinetid every time

1722328175063.mp4

It shows a black screen on my phone, but it sounds like you found a temporary solution 👍

image

Oh I see, nice

1.mp4

@Aizizhu
Copy link
Author

Aizizhu commented Jul 31, 2024

Change the random id in line 104 of server.py in the comfyui directory to a fixed id: "sid = uuid.uuid4().hex" to "sid = "d38c06a2-7e1c-48c8-a3b4-3498c308b9f9" ", fill in sid according to your preference
1
Create an HTML file with the following content:

<iframe base_src="http://127.0.0.1:8189" workflow_type_id="postprocess_latent_txt2img" class="comfyui-workflow-type-visible" style="width:100%; height:100%;" src="http://127.0.0.1:8189?workflowTypeId=postprocess_latent_txt2img&webuiClientId=d38c06a2-7e1c-48c8-a3b4-3498c308b9f9"> </iframe>
![2](https://github.com/user-attachments/assets/dd11c7cf-b276-47d2-ba6b-0f089083f587)

Change the clientid in HTML to the sid just fixed in server.py
2
If everything goes well, start webui and wait for comfyui process to succeed. Then start comfyui option in the text image page to take over the webui image saving in offline html.
webui save image.json

This workflow can be used to implement the simplest way to save pictures in webui. Some operations that cannot be done in webui can be continued in comfyui.

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

No branches or pull requests

3 participants