Skip to content

gompu123/2dto3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D to 3D Icon Generator (Figma Plugin)

Korean version: README.ko.md

This Figma plugin generates a 3D icon from a selected 2D icon image.

Supported providers:

  • OpenAI Responses API + image_generation tool (input image is sent as a base64 data URL)
  • Google Gemini image generation models (for example, gemini-2.5-flash-image)

How It Works

  1. Select one node in Figma that contains an image.
  2. In the plugin UI, enter Provider, API Key, and Prompt.
  3. Click Generate, and the result 3D icon is inserted to the right of the selected node.

Installation (Development Mode)

  1. Open Figma Desktop.
  2. Go to Plugins > Development > Import plugin from manifest....
  3. Select manifest.json from this folder.

File Structure

  • manifest.json: plugin metadata
  • code.js: main plugin worker logic
  • ui.html: plugin UI

API References

Notes

  • The API key is stored locally in Figma clientStorage.
  • Model access can vary by account, region, and pricing plan.
  • If the selected node has no image fill, the plugin exports the node as PNG and uses that image as input.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors