This is a illusion-diffusion-hq starter template from Banana.dev that allows on-demand serverless GPU inference.
You can fork this repository and deploy it on Banana as is, or customize it based on your own needs.
- Fork this repository to your own Github account.
- Connect your Github account on Banana.
- Create a new model on Banana from the forked Github repository.
- Wait for the model to build after creating it.
- Make an API request using one of the provided snippets in your Banana dashboard. However, instead of sending a prompt as provided in the snippet, you have to send the request structured as following:
inputs = {
"prompt" : "your_prompt",
"qr_code_content" : "your_qr_code_content",
"negative_prompt": "your_negative_prompt",
"image": "your_base64_image",
"seed": "your_seed"
}
For more info, check out the Banana.dev docs.