ImagenStyleReference

@PublicPreviewAPI
public final class ImagenStyleReference extends ImagenReferenceImage


A reference image for style transfer

Summary

Public constructors

ImagenStyleReference(
    @NonNull ImagenInlineImage image,
    Integer referenceId,
    String description
)

Public constructors

ImagenStyleReference

public ImagenStyleReference(
    @NonNull ImagenInlineImage image,
    Integer referenceId,
    String description
)
Parameters
@NonNull ImagenInlineImage image

the image representing the style you want to transfer to your original images

Integer referenceId

the reference ID you can use to reference this style in your prompt

String description

the description you can use to reference this style in your prompt