{
  "openapi": "3.1.0",
  "info": {
    "title": "imageclassic — Chutes API",
    "description": "Four classic image models on one chute: FLUX.1-schnell + three SDXL checkpoints",
    "version": "a42ed279-7f08-546f-8c32-d0ecf148d538",
    "contact": {
      "name": "Chutes",
      "url": "https://chutes.ai"
    },
    "x-chutes": {
      "chuteId": "e36f0212-138c-5395-91fc-12ed21d74cb4",
      "slug": "vonkaiser-imageclassic",
      "modelName": "imageclassic",
      "standardTemplate": null,
      "openaiCompatible": false,
      "confidentialCompute": true,
      "modelPage": "https://chutes.ai/app/chute/vonkaiser-imageclassic",
      "llmsTxt": "https://chutes.ai/app/chute/vonkaiser-imageclassic/llms.txt",
      "pricing": {
        "usdPerHour": 1.8
      }
    }
  },
  "servers": [
    {
      "url": "https://vonkaiser-imageclassic.chutes.ai"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Chutes API key. Send as `Authorization: Bearer $CHUTES_API_KEY`."
      }
    }
  },
  "paths": {
    "/generate": {
      "post": {
        "operationId": "generate",
        "summary": "POST /generate",
        "responses": {
          "200": {
            "description": "Binary media payload.",
            "content": {
              "image/jpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "seed": {
                    "type": "integer",
                    "default": null,
                    "minimum": 0,
                    "maximum": 4294967295
                  },
                  "model": {
                    "type": "string",
                    "enum": [
                      "flux",
                      "dreamshaper",
                      "ilustmix",
                      "juggernaut"
                    ]
                  },
                  "width": {
                    "type": "integer",
                    "default": 1024,
                    "minimum": 128,
                    "maximum": 2048
                  },
                  "height": {
                    "type": "integer",
                    "default": 1024,
                    "minimum": 128,
                    "maximum": 2048
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "guidance_scale": {
                    "type": "number",
                    "description": "Defaults: 3.5 for flux, 7.5 for SDXL",
                    "default": null,
                    "minimum": 1,
                    "maximum": 20
                  },
                  "negative_prompt": {
                    "type": "string",
                    "description": "SDXL only; ignored for flux",
                    "default": ""
                  },
                  "num_inference_steps": {
                    "type": "integer",
                    "description": "Defaults: 4 for flux, 25 for SDXL",
                    "default": null,
                    "minimum": 1,
                    "maximum": 50
                  }
                },
                "required": [
                  "model",
                  "prompt"
                ]
              },
              "example": {
                "seed": 42,
                "model": "flux",
                "width": 1024,
                "height": 1024,
                "prompt": "a serene mountain lake at sunset",
                "negative_prompt": ""
              }
            }
          }
        }
      }
    },
    "/image/flux": {
      "post": {
        "operationId": "image_flux",
        "summary": "POST /image/flux",
        "responses": {
          "200": {
            "description": "Binary media payload.",
            "content": {
              "image/jpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "seed": {
                    "type": "integer",
                    "default": null,
                    "minimum": 0,
                    "maximum": 4294967295
                  },
                  "width": {
                    "type": "integer",
                    "default": 1024,
                    "minimum": 128,
                    "maximum": 2048
                  },
                  "height": {
                    "type": "integer",
                    "default": 1024,
                    "minimum": 128,
                    "maximum": 2048
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "guidance_scale": {
                    "type": "number",
                    "default": 3.5,
                    "minimum": 1,
                    "maximum": 20
                  },
                  "num_inference_steps": {
                    "type": "integer",
                    "description": "FLUX-schnell is optimised for 1-4 steps.",
                    "default": 4,
                    "minimum": 1,
                    "maximum": 50
                  }
                },
                "required": [
                  "prompt"
                ]
              },
              "example": {
                "seed": 42,
                "width": 1024,
                "height": 1024,
                "prompt": "a serene mountain lake at sunset",
                "guidance_scale": 3.5,
                "num_inference_steps": 4
              }
            }
          }
        }
      }
    },
    "/image/dreamshaper": {
      "post": {
        "operationId": "image_dreamshaper",
        "summary": "POST /image/dreamshaper",
        "responses": {
          "200": {
            "description": "Binary media payload.",
            "content": {
              "image/jpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "seed": {
                    "type": "integer",
                    "default": null,
                    "minimum": 0,
                    "maximum": 4294967295
                  },
                  "width": {
                    "type": "integer",
                    "default": 1024,
                    "minimum": 128,
                    "maximum": 2048
                  },
                  "height": {
                    "type": "integer",
                    "default": 1024,
                    "minimum": 128,
                    "maximum": 2048
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "guidance_scale": {
                    "type": "number",
                    "default": 7.5,
                    "minimum": 1,
                    "maximum": 20
                  },
                  "negative_prompt": {
                    "type": "string",
                    "description": "What to avoid in the generated image.",
                    "default": ""
                  },
                  "num_inference_steps": {
                    "type": "integer",
                    "default": 25,
                    "minimum": 1,
                    "maximum": 50
                  }
                },
                "required": [
                  "prompt"
                ]
              },
              "example": {
                "seed": 42,
                "width": 1024,
                "height": 1024,
                "prompt": "a serene mountain lake at sunset",
                "guidance_scale": 7.5,
                "negative_prompt": "",
                "num_inference_steps": 25
              }
            }
          }
        }
      }
    },
    "/image/ilustmix": {
      "post": {
        "operationId": "image_ilustmix",
        "summary": "POST /image/ilustmix",
        "responses": {
          "200": {
            "description": "Binary media payload.",
            "content": {
              "image/jpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "seed": {
                    "type": "integer",
                    "default": null,
                    "minimum": 0,
                    "maximum": 4294967295
                  },
                  "width": {
                    "type": "integer",
                    "default": 1024,
                    "minimum": 128,
                    "maximum": 2048
                  },
                  "height": {
                    "type": "integer",
                    "default": 1024,
                    "minimum": 128,
                    "maximum": 2048
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "guidance_scale": {
                    "type": "number",
                    "default": 7.5,
                    "minimum": 1,
                    "maximum": 20
                  },
                  "negative_prompt": {
                    "type": "string",
                    "description": "What to avoid in the generated image.",
                    "default": ""
                  },
                  "num_inference_steps": {
                    "type": "integer",
                    "default": 25,
                    "minimum": 1,
                    "maximum": 50
                  }
                },
                "required": [
                  "prompt"
                ]
              },
              "example": {
                "seed": 42,
                "width": 1024,
                "height": 1024,
                "prompt": "a serene mountain lake at sunset",
                "guidance_scale": 7.5,
                "negative_prompt": "",
                "num_inference_steps": 25
              }
            }
          }
        }
      }
    },
    "/image/juggernaut": {
      "post": {
        "operationId": "image_juggernaut",
        "summary": "POST /image/juggernaut",
        "responses": {
          "200": {
            "description": "Binary media payload.",
            "content": {
              "image/jpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "seed": {
                    "type": "integer",
                    "default": null,
                    "minimum": 0,
                    "maximum": 4294967295
                  },
                  "width": {
                    "type": "integer",
                    "default": 1024,
                    "minimum": 128,
                    "maximum": 2048
                  },
                  "height": {
                    "type": "integer",
                    "default": 1024,
                    "minimum": 128,
                    "maximum": 2048
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "guidance_scale": {
                    "type": "number",
                    "default": 7.5,
                    "minimum": 1,
                    "maximum": 20
                  },
                  "negative_prompt": {
                    "type": "string",
                    "description": "What to avoid in the generated image.",
                    "default": ""
                  },
                  "num_inference_steps": {
                    "type": "integer",
                    "default": 25,
                    "minimum": 1,
                    "maximum": 50
                  }
                },
                "required": [
                  "prompt"
                ]
              },
              "example": {
                "seed": 42,
                "width": 1024,
                "height": 1024,
                "prompt": "a serene mountain lake at sunset",
                "guidance_scale": 7.5,
                "negative_prompt": "",
                "num_inference_steps": 25
              }
            }
          }
        }
      }
    }
  }
}