set_image_fill
Apply an image to a Figma node using a URL or base64 data, with options for scaling mode (fill, fit, crop, tile).
Instructions
Apply image to node from URL or base64 data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to apply image to | |
| imageSource | Yes | Image URL or base64 data string | |
| sourceType | Yes | Source type: 'url' for image URL, 'base64' for base64 encoded data | |
| scaleMode | No | Image scaling mode (default: FILL) |