Skip to main content
Squeditor natively supports interacting with AI models (like Gemini) to assist users in writing content or generating images. By attaching the ai_config object to an eligible control, you can define the type of generation, provide boilerplate prompts, and limit boundaries. You only need to define ai_config once per control schema.
AI generation is currently only supported by three control types: text, textarea, and media.

Text / Textarea

Used to instantly generate headlines or body copy.
squeditor.json

Media

Used to generate images based on prompts directly into the Canvas.
squeditor.json