add_text
Add customizable text layers to images, with options for font, size, color, position, alignment, and line wrapping.
Instructions
Text layer. font: sans, serif, mono, display, handwriting, or a system font name/file. max_width>0 wraps lines. Without x/y it is centered; then align_layer to place it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| bold | No | ||
| font | No | sans | |
| name | No | ||
| size | No | ||
| text | Yes | ||
| align | No | left | |
| color | No | #ffffff | |
| italic | No | ||
| project | No | ||
| max_width | No | ||
| line_spacing | No | ||
| stroke_color | No | #000000 | |
| stroke_width | No |