Are there any parameters for Stable DIffiusion inference api

Hi, I’m using Hugging face’s Stable Diffusion inference api. I want to know if there are any parameters I can send to post request other than input prompt like number of images or guidance scale?

  const generateImage = async (e) => {
    console.log("Generating Image");
    // You can replace this with different model API's
    const URL = ``;

    // Send the request
    const response = await axios({
      url: URL,
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.NEXT_PUBLIC_HUGGING_FACE_API_KEY}`,
        Accept: "application/json",
        "Content-Type": "application/json",
      data: JSON.stringify({
        inputs: prompt,
        options: { wait_for_model: true },
      responseType: "arraybuffer",


    const type = response.headers["content-type"];
    const data =;
    const base64data = Buffer.from(data).toString("base64");
    const img = `data:${type};base64,` + base64data; // <-- This is so we can render it on the page