Micro-service for file storage and processing written in Go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
782 B

  1. {
  2. "name": "example pipeline",
  3. "slug": "example",
  4. "type": 0,
  5. "removeMetadata": false,
  6. "steps": [
  7. {
  8. "name": "resize image",
  9. "type": 0,
  10. "options": {
  11. "width": 1280,
  12. "height": 720,
  13. "upscale": false
  14. }
  15. },
  16. {
  17. "name": "rotate image",
  18. "type": 1,
  19. "options": {
  20. "angle": 90.0
  21. }
  22. },
  23. {
  24. "name": "flip image",
  25. "type": 2,
  26. "options": {
  27. "direction": "h"
  28. }
  29. },
  30. {
  31. "name": "grayscale",
  32. "type": 3
  33. }
  34. ],
  35. "output": {
  36. "format": "jpg",
  37. "quality": 90
  38. }
  39. }