View source: R/aigra-diagrams.R
| aigra_generate_diagram | R Documentation |
Generate a single AIGRA diagram from a prompt
aigra_generate_diagram(
prompt,
output_path,
provider = "gemini",
model = "gemini-2.5-flash-image",
size = "1024x1024"
)
prompt |
Diagram prompt. |
output_path |
Output PNG path. |
provider |
Image provider. |
model |
Image model. |
size |
Image size. |
Output path.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.