live video all styles

%!s()

Request parameters

Description
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-form
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" \
    https://dev.kibernetika.io/api/v0.2/workspace/kuberlab-demo/serving/allstyles/form-data
curl-json
curl -X POST \
    -H 'Authorization: Bearer YOUR_USER_TOKEN' \
    -H 'Content-Type: application/json' \
    -d '
      {
        "image": "base64_encoded_image_contents",
        "style": "style_value"
      }
    '
    https://dev.kibernetika.io/api/v0.2/workspace/kuberlab-demo/serving/allstyles/proxy
python
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": [https://storage.googleapis.com/edwindemo/IMG_0345.png https://storage.googleapis.com/edwindemo/IMG_5030.png https://storage.googleapis.com/edwindemo/baground-hard.png],
    "style": "[young[https://storage.googleapis.com/edwindemo/styles-256/pencil.jpg] artistic_pencil[https://storage.googleapis.com/edwindemo/styles-256/pencil.jpg] artistic_mosaic[https://storage.googleapis.com/edwindemo/styles-256/mosaic.jpg] artistic_picasso[https://storage.googleapis.com/edwindemo/styles-256/picasso_selfport1907.jpg] artistic_robert[https://storage.googleapis.com/edwindemo/styles-256/robert.jpg] artistic_candy[https://storage.googleapis.com/edwindemo/styles-256/candy.jpg] artistic_scream[https://storage.googleapis.com/edwindemo/styles-256/the_scream.jpg] artistic_composition[https://storage.googleapis.com/edwindemo/styles-256/composition_vii.jpg] artistic_shipwreck[https://storage.googleapis.com/edwindemo/styles-256/shipwreck.jpg] artistic_rain[https://storage.googleapis.com/edwindemo/styles-256/rain_princess.jpg] artistic_mosaic1[https://storage.googleapis.com/edwindemo/styles-256/mosaic_ducks_massimo.jpg] artistic_escher[https://storage.googleapis.com/edwindemo/styles-256/escher_sphere.jpg] artistic_udnie[https://storage.googleapis.com/edwindemo/styles-256/udnie.jpg] artistic_wave[https://storage.googleapis.com/edwindemo/styles-256/wave.jpg] artistic_woman[https://storage.googleapis.com/edwindemo/styles-256/woman-with-hat-matisse.jpg] artistic_la_muse[https://storage.googleapis.com/edwindemo/styles-256/la_muse.jpg] artistic_seated[https://storage.googleapis.com/edwindemo/styles-256/seated-nude.jpg] artistic_strip[https://storage.googleapis.com/edwindemo/styles-256/strip.jpg] artistic_feathers[https://storage.googleapis.com/edwindemo/styles-256/feathers.jpg] artistic_starry[https://storage.googleapis.com/edwindemo/styles-256/starry_night.jpg] artistic_stars2[https://storage.googleapis.com/edwindemo/styles-256/stars2.jpg] artistic_frida[https://storage.googleapis.com/edwindemo/styles-256/frida_kahlo.jpg] cartoon_Hayao[https://storage.googleapis.com/edwindemo/anime-256/hayao.jpg] cartoon_Hosoda[https://storage.googleapis.com/edwindemo/anime-256/hosoda.jpg] cartoon_Shinkai[https://storage.googleapis.com/edwindemo/anime-256/shinkai.jpg] cartoon_Paprika[https://storage.googleapis.com/edwindemo/anime-256/paprika.jpg]]",
})
resp = serving_api.serving_proxy(data, "kuberlab-demo", "allstyles")

Response format

{
  "output": [
    [
      "base64_encoded_string"
    ]
  ]
}