GetPicToolsGetPic

figedit — Step-by-Step Guide

Step-by-step tutorials, API references, and best practices for every tool

Back to Tutorials
1

Upload a source visual

Open the Image to Editable tool and upload a screenshot, paper figure, infographic, or AI-generated slide in JPEG, PNG, or WebP format.

2

Add reconstruction guidance

Use the optional prompt to tell the pipeline what should stay raster and what should become editable. Example: keep screenshots as images, but convert labels and arrows into editable objects.

3

Choose OCR language

Select English, Chinese, or Japanese to improve text extraction before FigEdit rebuilds the diagram structure.

4

Start the async job

Submit the job. The server sends the source through Agnes Image 2.1 Flash for visual cleanup, then runs FigEdit reconstruction and packaging in the background.

5

Poll job status

Wait for the state to move from queued or running to succeeded. The status payload lists all artifacts currently available for download.

6

Download editable outputs

Download editable PPTX, editable SVG, embedded SVG, manifest.json, and quality reports. Use the PPTX for slide editing and the SVG for design-tool refinement.

7

Review and refine

Check dense charts, unusual icons, and screenshots. Structured diagrams usually convert well, but complex visuals may still need light manual touch-up.

API Example

# Create job (session-authenticated)
curl -X POST https://getpictools.com/api/tools/figedit \
  -b "getpictools_session=YOUR_SESSION_COOKIE" \
  -F "file=@diagram.png" \
  -F "prompt=Preserve screenshots as images, but make labels editable." \
  -F "ocrLanguage=en"

# Poll status
curl https://getpictools.com/api/tools/figedit/JOB_ID \
  -b "getpictools_session=YOUR_SESSION_COOKIE"

# Download editable PPTX
curl -L https://getpictools.com/api/tools/figedit/JOB_ID/download/editablePptx \
  -b "getpictools_session=YOUR_SESSION_COOKIE" \
  -o editable.pptx