Views
No views yet
image-to-image Inference endpoint.custom task for image-to-image with instructions for 🤗 Inference Endpoints. The code for the customized
pipeline is in the handler.py.Custom as task to use the handler.py file.1{
2 "inputs": encoded_image,
3 "parameters": {
4 "parameters": {
5 "prompt": "what would it look like if it were snowing big time",
6 "negative_prompt": "", //default empty
7 "num_inference_steps": 10, //default 10
8 "image_guidance_scale": 1.1, //default 1.5
9 "guidance_scale": 9 //default 7.5
10 }
11 }
12}encoded_image is a base64 encoded image.