Skip to content

Running with a local API server? ControlNet depth instead of using checkpoint model? #798

Discussion options

You must be logged in to vote

We have an API for creating custom backends. The addon comes with a HuggingFace Diffusers backend for running models on the local machine. But you can create a custom backend to connect Dream Textures to an API.

You can see an example of a custom backend here: https://github.com/carson-katri/dream-textures/blob/main/community_backends/test.py

Check the documentation comments on the Backend class for more details: https://github.com/carson-katri/dream-textures/blob/main/api/backend/backend.py#L11

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by GeminiSquishGames
Comment options

You must be logged in to vote
0 replies
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