Skip to content
GigAI Tools

Developer API / docs

Grayscale Image API

Convert an image to grayscale.

POSThttps://api.gigai.tools/v1/jobsAsync

Runs as the grayscale-image operation inside a job. Needs a key with the jobs:write scope.

Options

No options - the input file is everything.

Limits

  • Input: png, jpg, webp, avif, gif (one file, checked by content, never by extension).
  • Max input size: 50 MB.
  • Output: png, jpg, webp, avif.
  • Time budget: 60 seconds, then the task fails with the timeout code.
  • Engine: sharp.

Inside a bigger job

Chain it: any task can consume this one's output by naming it in input. The recipes show working pipelines.

as one task in a graph

"step": { "operation": "grayscale-image", "input": ["previous-task"] }
Was this page helpful?