capabilities.work

Render File Node Images

A 3-step recipe with Figma. We can help you get access.

Recipe · 3 steps

Render File Node Images

with Figma · Software Design Management

Render selected nodes of a Figma file to downloadable image URLs.

  1. Retrieve the document tree for the file to confirm it exists and is accessible before drilling into specific nodes.
  2. Fetch the specific nodes referenced by the supplied ids to confirm they are present in the document before rendering.
  3. Render the requested nodes to temporary image URLs in the requested format and scale.
What you'll need to have ready
  • fileKey: The key of the Figma file (from figma.com/file/{file_key}/...).
  • ids: Comma-separated list of node IDs to render.
  • format: Image output format (jpg, png, svg, or pdf).
  • scale: Image scaling factor between 0.01 and 4.
For your developer

Arazzo workflow figma:render-file-node-images, 3 operations: getFile → getFileNodes → getImages. Specs on APIs.io.