| foundry_get_image_key | R Documentation |
Retrieve the API key for image generation.
foundry_get_image_key(key = NULL, required = FALSE)
key |
Character. Optional key to use directly instead of environment variable. |
required |
Logical. If TRUE and no key is found, throws an error. |
Checks in order: provided key, AZURE_FOUNDRY_IMAGE_KEY, AZURE_FOUNDRY_KEY.
Character string with the API key, or NULL if not found and not required.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.