Skip to content

04 Paths

Alexander Epolite edited this page Jan 6, 2024 · 2 revisions

Here is a list of paths and their parameters.

Note: all image data is sent in the body as a POST request to the server, and the parameters are query strings (such as http://localhost:8080/image/deepfry?modulation_a=50&embossity=2.5). Unset parameters will be filled in with a default value.

  • Blur
    • Path: /image/blur
    • Parameters:
      • intensity - number between 0 and 100 (default 5)
  • Deepfry
    • Path: /image/deepfry
    • Parameters:
      • modulation_a - number between 1 and 300 (default 50)
      • modulation_b - number between 1 and 300 (default 200)
      • embossity - number between 0.0 and 5.0 (default 1.1)
  • Emboss
    • Path: /image/emboss
    • Parameters:
      • embossity - number between 0.0 and 5.0 (default 0.1)
  • Explode
    • Path: /image/explode
    • Parameters:
      • amount - number between 0 and 100 (default 0.75)
  • Implode
    • Path: /image/implode
    • Parameters:
      • amount - number between 0.0 and 1.0 (default 0.75)
  • Invert
    • Path: /image/invert
  • Magik
    • Path: /image/magik
  • Pixelate
    • Path: /image/pixelate
    • Parameters:
      • descale - number between 0 and 10 (default 10)
      • rescale - number between 0 and 1000 (default 1000)
  • Sepia
    • Path: /image/sepia
    • Parameters:
      • tone - number between 0 and 100 (default 80)
  • Sketch
    • Path: /image/sketch
  • Spread
    • Path: /image/spread
    • Parameters:
      • amount - number between 0 and 500 (default 8)
  • Swirl
    • Path: /image/swirl
    • Parameters:
      • degrees - number between -720 and 720 (default 100)
  • Wave
    • Path: /image/wave
    • Parameters:
      • amplitude - number between 0 and 100 (default 5)
      • wavelength - number between 0 and 1000 (default 5)

Clone this wiki locally