Skip to content

DocsGuides

Colour and sharpness

Adjust brightness, contrast, saturation, gamma and hue, and sharpen edges.

color adjusts brightness, contrast, saturation, gamma and hue; sharpen sharpens edges with an unsharp mask.

Colour correction#

bash
curl "$VIDEXO_API_URL/v1/transcode" \
  -H "Authorization: Bearer $VIDEXO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": "https://example.com/talk.mp4",
  "filename": "talk-graded.mp4",
  "color": {
    "brightness": 0.05,
    "contrast": 1.1,
    "saturation": 1.2
  }
}'

talk-graded.mp4: slightly brighter, with more contrast and colour. A saturation of 0 makes it black and white.

Black and white#

bash
curl "$VIDEXO_API_URL/v1/transcode" \
  -H "Authorization: Bearer $VIDEXO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": "https://example.com/talk.mp4",
  "filename": "talk-mono.mp4",
  "color": {
    "saturation": 0
  }
}'

Sharpen#

bash
curl "$VIDEXO_API_URL/v1/transcode" \
  -H "Authorization: Bearer $VIDEXO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": "https://example.com/talk.mp4",
  "filename": "talk-sharp.mp4",
  "sharpen": {
    "amount": 1,
    "size": 5
  }
}'

talk-sharp.mp4: the video with a 5 by 5 unsharp mask at strength 1.

Images, GIFs and storyboards take color too; images and GIFs take sharpen.