Loading...
Loading...
Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, and Figma Motion animations — via the Figma MCP connector. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.
npx skill4agent add heygen-com/hyperframes figma@hyperframes/core/figmaparseFigmaRefget_metadata(fileKey, nodeId)download_assetsfreezeBytes(bytes, join(typeDirPath(projectDir,"image"), id + ext))id = nextId(projectDir,"image")appendRecord(projectDir, { id, type:"image", path, source:"figma", width, height, provenance:{ source:"figma", fileKey, nodeId, format } })buildAssetSnippet(record).htmlfindByFigmaNodeget_motion_context(fileKey, nodeId)codeSnippets.motionDev.cssMotionDocMotionTrack[x1,y1,x2,y2]#<id>data-figma-ididconst spec = motionToGsap(doc);const script = emitTimelineScript(spec);<script>window.__timelinesexport_video<video class="clip">repeat: -1