Generate an image from a text prompt (for a slide)
rootr_generate_imageGenerate AI-powered images from text prompts for Rootr presentations. Returns image details to embed in slides, eliminating placeholders.
Instructions
Generate an image from a text prompt with AI (Gemini) and store it as a workspace attachment. Use this when building a Rootr (루터) presentation so slides get real, on-brand visuals instead of empty image placeholders — generate the image, then put the returned url into a slide image's src via rootr_update_presentation_slide (image or images[]). Returns { id, url, filename, mimeType, size }.
Prompt tips: describe a clean, flat, presentation-ready illustration; specify colors to match the deck theme; and say "no text" — baked-in text is not indexed and often renders wrong (put the meaning in the slide title/blocks instead, and always give the image an alt caption). Consumes AI credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | Presentation/node id to attach the image to (permission-checked) | |
| prompt | Yes | English image description; ask for "no text" in the image | |
| workspace | No | Workspace id; defaults to ROOTR_WORKSPACE/config |