---
title: Apply Style Filters on Image API
slug: apply-image-style-transfer
url: https://apyhub.com/dosvak/service/apply-image-style-transfer
provider: Dosvak LLC
categories: [File Manipulation, Image Processing, Smart Generation]
tags: [image-processing, style-transfer, image-filters, computer-vision, binary-files]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 1
atoms: 100
---

# Apply Style Filters on Image API

Turn any uploaded image into a painting, watercolor, sketch, or oil version. Adjust style strength from 0 to 1 and get a stylized image back.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/dosvak/apply-image-style-transfer` | What it does Applies a lightweight CPU style filter to an uploaded image and returns the transforme… | 100 |

## Endpoint reference

### Apply lightweight CPU style filters

`POST https://api.eu.apyhub.com/dosvak/apply-image-style-transfer` · 100 atoms · accepts `multipart/form-data` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `file` | body | string (binary) | yes | Image file |
| `mode` | query | string | no | One of: painting, watercolor, sketch, oil. Default: `painting`. Example: `painting`. |
| `strength` | query | number | no | Default: `0.65`. Example: `0.65`. |

#### Quickstart

Upload an image to apply the default painting style transfer.

```bash
curl -X POST "https://api.eu.apyhub.com/dosvak/apply-image-style-transfer" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/image.jpg"
```

#### What you'll get back

Returns a binary file (a string with `format: "binary"`), which is the styled image output.

## About

## What it does
Image Style Transfer applies lightweight style filters to an uploaded image and returns the transformed file. Send a binary image up to 20 MB, choose a style mode, and get the styled image back as binary output.

Use `mode` to pick the visual treatment: `painting`, `watercolor`, `sketch`, or `oil`. Use `strength` to control how strongly the effect is applied, from `0` to `1`, with `0.65` as the default. This keeps the endpoint simple to fit into batch image pipelines, user-generated content tools, or quick preview workflows where you want a stylized variant without running a heavier model.

`Image Style Transfer` is a practical fit when you need to generate alternate artwork for a thumbnail, create a sketch version of a product image, or preview how an asset looks with a painterly filter. The response is the processed image only, so it drops cleanly into the next step of your file handling flow.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/dosvak/service/apply-image-style-transfer
