Create new Figma file and upload images programmatically

I am looking for a way to create new Figma files using the API. Once a new file is created I would like to upload png, and jpg images programmatically too. Also organizing the uploaded image into different pages would be great. I could not find any of that mentioned in the API reference. Am I missing something or is this currently not possible?
Many Thanks!

It’s impossible. The plugin can only work in the file in which it was launched. As for creating a new file, you can implement it in the plugin’s UI by creating a link and clicking it. or — create a new Figma design file. or — create a new FigJam file.

1 Like