text_add
Adds a styled typography text layer to the canvas with font, size, weight, color, alignment, and spacing controls for headings or body copy.
Instructions
Adds a typography text layer to the canvas with styling (fonts: Sora, Inter, Playfair Display, Montserrat, Poppins, Space Grotesk, Roboto, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate (center by default) | |
| y | No | Y coordinate (center by default) | |
| text | Yes | Text content | |
| type | No | heading | |
| align | No | center | |
| color | No | Text fill color in hex (e.g. "#FFFFFF", "#6C5CFF") | #141519 |
| fontSize | No | Font size in pixels (e.g. 72) | |
| fontFamily | No | Font family name (e.g. "Sora", "Inter", "Playfair Display") | Sora |
| fontWeight | No | Font weight (e.g. "400", "600", "800", "900") | 800 |
| lineHeight | No | Line height multiplier (e.g. 1.2) | |
| charSpacing | No | Letter spacing (-50 to 250) |