Fork of timbrooks/instruct-pix2pix for an image-to-image
Inference endpoint.
This repository implements a custom
task for image-to-image
with instructions for 🤗 Inference Endpoints. The code for the customized
pipeline is in the handler.py.
To use deploy this model an Inference Endpoint you have to select Custom
as task to use the handler.py
file.
expected Request payload
{
"inputs": encoded_image,
"parameters": {
"parameters": {
"prompt": "what would it look like if it were snowing big time",
"negative_prompt": "", //default empty
"num_inference_steps": 10, //default 10
"image_guidance_scale": 1.1, //default 1.5
"guidance_scale": 9 //default 7.5
}
}
}
encoded_image
is a base64 encoded image.
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API:
The model authors have turned it off explicitly.
Model tree for pimcore/IEP__image-to-image-instruct
Base model
timbrooks/instruct-pix2pix