I’m working on deploying sd2 to an inference endpoint.
How do I edit the configuration to allow for API requests including image/width params as available in similar Replicate endpoints?
I’m working on deploying sd2 to an inference endpoint.
How do I edit the configuration to allow for API requests including image/width params as available in similar Replicate endpoints?
You can add a parameters
key to your payload as describe here: Supported Transformers & Diffusers Tasks
For stable diffusion you can provide:
num_inference_steps
guidance_scale
height,
width,
negative_prompt