Render nodes as data URIs
render_nodes_as_data_uriConvert selected Figma nodes into data URIs (PNG, JPG, SVG, PDF) to embed directly in code, enabling automated design-to-code workflows.
Instructions
GET /v1/images/{key} then download renders (Figma/S3 only) as data URIs. Same size/SSRF caps as bundle_image_fills. For design-to-code, not writing back to Figma.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Node ids, comma-separated or as an array. URL form 1-2 is normalized to 1:2. | |
| file | Yes | Figma file key or URL (figma.com/design/... or figma.com/file/...) | |
| scale | No | ||
| format | No | Export format. Defaults to png. | png |
| max_bytes | No | ||
| max_assets | No |