Nutrient

SDK

Cloud

Low-Code

Workflow

Image Optimization API

Optimize the size and structure of an image file with our image optimization API. Leverage adaptive document learning, image analysis, and compression algorithms to optimize images in your application or custom workflows.

Built for seamless integration

Use a simple API to sign and validate documents in your own platform or automate it with tools like Zapier, without dealing with complex signature logic or infrastructure.

Try it instantly on Zapier

No code? No problem. Connect Nutrient DWS Processor API to your favorite apps with Zapier to automate document workflows and save time on repetitive tasks.

Simple and transparent pricing

Select a package that suits your needs according to the number of credits you wish to spend. Each API tool and action has a specific credit cost.

Nutrient is used by

Try it out

This example will optimize and compress your document.

1

Use Your Free API Calls

Sign up and receive 100 credits for free, or log in to automatically add your API key to sample code. If you are not sure how credits are consumed read more in our pricing documentation , or check out this guide on calculating credit usage.

2

Add a File

Add a PDF named document.pdf to your project folder. You can use our sample document. The file name is case sensitive. Make sure the file name matches the file name in the sample code.

3

Run the Code

Copy the code and run it from the same folder you added the files to. For more information, see our language-specific getting started guides.

4

View the Results

Open result.pdf in your project folder to view the results.

curl -X POST https://api.nutrient.io/build \
  -H "Authorization: Bearer your_api_key_here" \
  -o result.pdf \
  --fail \
  -F document=@document.pdf \
  -F instructions='{
      "parts": [
        {
          "file": "document"
        }
      ],
      "output": {
        "type": "pdf",
        "optimize": {
          "disableImages": false,
          "mrcCompression": true,
          "imageOptimizationQuality": 2
        }
      }
    }'
Using Postman? Download our official collection and start using the API with a single click. Read more 

Your API key

Hyper-Compression

Mixed raster content (MRC) is a way to compress images with mixed content. For more information, see the MRC Wikipedia article.

Document Engine uses advanced MRC compression techniques to reduce the size of structured documents that mix text, graphics, and images — without losing quality.

Our MRC compression engine is based on MRC hyper-compression techniques, and it can both reduce the size of images and improve rendering quality. Using image segmentation, it compresses areas with the optimum algorithm based on their characteristics.

Security is our top priority

No document storage

No input or resulting documents are stored on our infrastructure. All files are deleted as soon as a request finishes. Alternatively, check out our self-hosted product.

HTTPS encryption

All communication between your application and Nutrient is done via HTTPS to ensure your data is encrypted when it’s sent to us.

Safe payment processing

All payments are handled by Paddle. Nutrient DWS Processor API never has direct access to any of your payment data.

Ready to try it?

Create an account to get your API key and start making API calls.