Live Video Effects

Live Video Effects

To experience Live Video you need to have a Camera and WebRTC capable browser like Chrome, Safari or Firefox.

You need to select one of the provided styles. That will generate image preview.

The next step is to hit “LIVE VIDEO” and after initialization you will see real-time video in the style selected by you. Video can be made full screen for better experience.


Request parameters

Parameter’s name Parameter’s type Description
out_filters string Optional. Comma separated list of model outputs to return.
image image_webrtc Input image
style string Style
curl -X POST \
    -H 'Authorization: Bearer YOUR_USER_TOKEN' \
    -H 'Content-Type: multipart/form-data' \
    -F "out_filters=image" \
    -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={
    "image": [],
    "style": "[young[] artistic_pencil[] artistic_mosaic[] artistic_picasso[] artistic_robert[] artistic_candy[] artistic_scream[] artistic_composition[] artistic_shipwreck[] artistic_rain[] artistic_mosaic1[] artistic_escher[] artistic_udnie[] artistic_wave[] artistic_woman[] artistic_la_muse[] artistic_seated[] artistic_strip[] artistic_feathers[] artistic_starry[] artistic_stars2[] artistic_frida[] cartoon_Hayao[] cartoon_Hosoda[] cartoon_Shinkai[] cartoon_Paprika[]]",
resp = serving_api.serving_proxy(data, "kuberlab-demo", "allstyles")

Response format

  "output": [