Free plan

Artistic filters

Give a picture an artistic look, like sepia or pencil sketch
POST
/v1/images/filters
Vintage filter
Original
OriginalVintage filter

About this tool

Applies one artistic look to a picture. You can choose sepia (old brown photo), vintage, two-colour, fewer colours, blocky pixels, dots like a newspaper print, pencil sketch, dark corners or film grain. A strength setting lets you blend the effect with the original.
For example, you give a family photo an old vintage look.

How to use it

  1. Choose this tool.
  2. Add your picture with Upload or drag and drop.
  3. Choose the look you want.
  4. Set how strong it should be, then press Generate.
  5. Download the result.

What you get back

You get a new picture with the look applied, and your original stays unchanged.
GOOD TO KNOW
The settings of the other filters are ignored. Grain is seeded: the same picture always gets the same grain. Counts as one image per picture.
TEST IT LIVE

Try Artistic filters in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Images
Plan
Free
Method
POST
Endpoint
/v1/images/filters
Tool ID
images.filters
Authentication
API key
Accepts
JPEG, PNG, WEBP, GIF, AVIF, TIFF +15 more
Background jobs
Yes
Usage group
Image
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/images/filters" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'images=@photo.jpg' \
  -F 'filter=sepia' \
  -F 'intensity=100' \
  -F 'fade=30'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.images.filters({
    "images": 'photo.jpg',
    "filter": "sepia",
    "intensity": 100,
    "fade": 30
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->images()->filters([
    'images' => 'photo.jpg',
    'filter' => 'sepia',
    'intensity' => 100,
    'fade' => 30,
]);
echo $result->requestId;
FAQ

Frequently asked questions

Apply an artistic filter: sepia, vintage, duotone, posterize, pixelate, halftone, pencil sketch, vignette or film grain, each with its own settings and a strength that blends it with the original.

Artistic filters accepts JPEG, PNG, WEBP, GIF, AVIF, TIFF, SVG, SVGZ, BMP, ICO, APNG, PNM and 9 more. You can send several files in one request.

Artistic filters is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/images/filters with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.