toby007
update code
63f6eb9

FLUX.1-Fill-dev Custom Inference Endpoint

This repository is set up to deploy a custom Hugging Face Inference Endpoint using the StableDiffusionInstructPix2PixPipeline, enabling image-to-image transformation with prompt guidance.

How to Use

Send a POST request with base64-encoded image and your prompt to get an enhanced version of the image.

Input example:

{
  "inputs": {
    "prompt": "高清艺术风格头像",
    "image": "<base64-encoded-image>",
    "steps": 30,
    "guidance_scale": 7.5,
    "image_guidance_scale": 1.5
  }
}