| edit_image | R Documentation |
Edit images using an image editing model.
edit_image(
model,
image,
prompt = NULL,
mask = NULL,
output_dir = tempdir(),
registry = NULL,
...
)
model |
An |
image |
Image source or provider-specific image input. |
prompt |
Editing instructions. |
mask |
Optional mask image. |
output_dir |
Directory where edited images should be written. Defaults to |
registry |
Optional provider registry. |
... |
Additional arguments passed to the model implementation. |
A GenerateImageResult.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.