Method
transferStyle POST
Copy POST

Change the source image to adopt the visual style from the style image.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes deploymentToken str A token used to authenticate access to created deployments. This token is only authorized to predict on deployments in this project, so it is safe to embed this model in an application or website.
Yes deploymentId str A unique identifier to a deployment created under the project.
Yes sourceImage bytes The source image to apply the makeup.
Yes styleImage bytes The image that has the style as a reference.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
data stream

Exceptions:

TYPE WHEN
DataNotFoundError

deploymentId is not found.

Language: