Skip to content

Image to UI

The Image to UI feature uses AI visual recognition to automatically convert design screenshots or reference images into editable Tencent Design files, making design restoration and migration faster.

Overview

Upload a UI screenshot or reference image → AI analyzes the visual structure → Generates a layered, editable design file

Use cases:

  • Quickly restore competitor screenshots into editable designs
  • Convert hand-drawn sketches into digital designs
  • Rapidly scaffold the structure of a reference design

Supported Image Formats

FormatMax sizeNotes
PNG10MBRecommended — high clarity
JPG / JPEG10MBSuitable for photo-based assets
WEBP10MBModern web format
BMP5MBBitmap format

Tip: Upload high-resolution, uncompressed screenshots for best AI recognition accuracy.


Steps

Method 1: Workspace AI Page

  1. Click 「AI」 in the left sidebar of the workspace
  2. Select 「Image to UI」 on the AI features page
  3. Click 「Upload Image」 or drag an image into the upload area
  4. Wait for AI analysis (typically 10–30 seconds)
  5. Preview the result and click 「Import to File」 or 「New File」

Method 2: Inside the Editor

  1. Open a design file and click the 「AI」 icon in the toolbar
  2. Switch to the 「Image to UI」 tab in the AI panel
  3. Upload an image and wait for generation
  4. The result is inserted directly into the current canvas

Understanding the Output

AI-generated designs include the following layer types:

Layer typeDescription
FramePage or module container
GroupGrouping of related elements
RectangleBackgrounds, cards, buttons, etc.
TextRecognized text content
MediaImage or icon placeholders

All layers are fully editable after generation — modify colors, sizes, text content, and more.


Limitations & Best Practices

Limitations:

  • Complex interactive animations cannot be recognized
  • Handwritten font text recognition accuracy is lower
  • Heavily complex backgrounds may interfere with foreground detection

Best practices:

  • Upload clean screenshots with white or solid-color backgrounds
  • Avoid images with heavy gradients or noise
  • After generation, compare with the original image layer by layer and correct inaccuracies
  • Combine with 「Text to UI」 to fill in missing details