Skip to content

Port Self-Reference for API Access #16096

Answered by w-e-w
SmirkingKitsune asked this question in Q&A
Discussion options

You must be logged in to vote

the way to get the IP/Port of the server
add a callback to on_app_started and read it from demo.local_url
you can reference one of my extension https://github.com/w-e-w/sd-webui-custom-autolaunch/blob/ef4ab1b2e32c7ee8d8934b9ea2cbbf1a761fd686/scripts/custom_autolaunch_command.py#L70-L76

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@w-e-w
Comment options

@w-e-w
Comment options

Answer selected by SmirkingKitsune
@w-e-w
Comment options

@SmirkingKitsune
Comment options

@SmirkingKitsune
Comment options

@SmirkingKitsune
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants