Cartoon Styles

Cartoon Style Transfer

Turn your photo into anime. Use one of the anime styles.

Load your photo by selecting “CHOOSE FILE”, select one of the styles and in several seconds you will see how your photo will look like an anime.

You can download or copy image using right click.


Request parameters

Parameter’s name Parameter’s type Description
out_filters string Optional. Comma separated list of model outputs to return.
image image Original Image
style string Style to Apply
curl -X POST \
    -H 'Authorization: Bearer YOUR_USER_TOKEN' \
    -H 'Content-Type: multipart/form-data' \
    -F "out_filters=output" \
    -F "image=image_value" \
    -F "style=style_value" \
curl -X POST \
    -H 'Authorization: Bearer YOUR_USER_TOKEN' \
    -H 'Content-Type: application/json' \
    -d '
        "image": "base64_encoded_image_contents",
        "style": "style_value"
import kclient
from kclient.utils import client, request

cl = client.with_bearer_token("YOUR_USER_TOKEN")
serving_api = kclient.api.serving_api.ServingApi(cl)

data = request.make(data={
    "style": "[Hayao[] Hosoda[] Shinkai[] Paprika[]]",
}, files={
    "image": "/path/to/image_file",
resp = serving_api.serving_proxy(data, "kuberlab-demo", "cartoon")

Response format

  "output": "base64_encoded_image"