Downloads · 30 days
0
pimcore/IEP__image-to-image-instruct
IEP__image-to-image-instruct is a image-to-image model from pimcore. Use it when you need one image transformed into another. It is set up for generic.
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.
Downloads · 30 days
0
Access
Public
Updated Apr 9, 2024
Repo size
—
Likes
3
Public
Click a slice to open those files.
.py1.8 KB · 40%
From the Hugging Face model README
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.
{
"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.