| sd_encode_image | R Documentation |
Encode an image into a latent (low-level VAE encode)
sd_encode_image(ctx, image)
ctx |
SD context (must be built with |
image |
An sd_image list ( |
An sd_tensor list (type, ne, data) — the latent.
sd_decode_latent, sd_sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.