| generate_image | R Documentation |
Generate images using an image generation model.
generate_image(model, prompt, output_dir = tempdir(), registry = NULL, ...)
model |
An |
prompt |
Prompt describing the desired image. |
output_dir |
Directory where generated 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.