Polotno

Changelog · Dec 2, 2026

Polotno 4.25: built-in Polotno AI

Optional AI image tools built into the editor: your users generate images from a prompt and edit photos with Expand, Generative fill and Upscale, charged to your prepaid Polotno balance.

Highlights

Built-in Polotno AI

Your users generate an image from a prompt in the AI tab, and extend, retouch and upscale photos with Expand, Generative fill and Upscale. Polotno runs the models and charges each image to your prepaid balance. The tools stay off until you turn them on. Polotno AI setup

All changes

polotno 4.25.0 / 3.25.0

Polotno AI

  • Added Polotno AI: an AI panel that generates images, and built-in Expand, Generative fill and Upscale on the canvas, paid from your Polotno balance. Docs
The Polotno editor with a prompt in the AI tab and the AI edit menu open on a selected photo
  • Turn it on from polotno/config: setTokenFunc passes a token your server mints, setAiTools lists the tools that show, and setAiModels picks their models. No tool shows until setAiTools lists it.
  • AI results go through your setUploadFunc, so designs keep your URLs instead of large data URLs.
  • AI refusals reject with FETCH_FAILED, with the API's apiCode (such as insufficient_balance) and runId in details.
  • AiImagesPanel is now the Polotno AI panel and needs setTokenFunc. The Stable Diffusion service it used is retired.

Editor

  • Added a per-unit time for text animations: "Each letter", "Each word" or "Each line" in the Animate panel, unitDuration in the JSON. A long text keeps a steady rhythm. Docs
  • Added components.Lock to LayersPanel, to hide or replace the lock toggle.
  • createPolotnoApp accepts 'variables' and 'videos' in sections, and its options are typed. Docs
  • A custom side panel section replaces the stock section with the same name.
  • Fixed Copy Style, the Cmd/Ctrl+B/I/U shortcuts and the timeline changing locked elements. Docs
  • Fixed sizes in pt when the design's dpi is not 72: the size panel, rulers and PDF export with unit: 'pt' use true points.
  • Fixed createStore({ key }) failing to typecheck without showCredit.
  • Fixed menus opened inside a popover appearing under it.

@polotno/pdf-export 0.20.0, @polotno/image-export 0.5.0, @polotno/email-export 0.4.0

  • Exports warn when a text shrinks to fit its box under the default textOverflow: 'change-font-size': code text-shrunk, sent to onWarning, or to the console without one. Pass textOverflow: 'resize' to grow the box instead, as the editor does.

@polotno/pdf-export 0.20.0

  • onWarning works on every export. Docs
  • RenderWarning is a union by code: check code before you read lostOverprint.

@polotno/pptx-export 0.16.0

  • Text animations follow unitDuration, as in the editor.

@polotno/pub-import 0.1.1

  • Fixed the bundled font notices to credit Adobe for Prism Console.

polotno-node 3.22.0

  • Bundles polotno 4.25.0: text animations follow unitDuration in videos and GIFs.
  • Fixed page sizes in PDF exports with unit: 'pt' when the design's dpi is not 72.

Embed creative infrastructure into your product

TRUSTED BY

100,000+

CREATORS

300+

BUSINESSES

ExpediaUnbounceLovePopPostGridPredis.ai