Polotno SDK automates creative workflows end-to-end — from generating templates to rendering thousands of images, videos, or hybrid designs programmatically. Every element on the canvas — text, image, video, or composition of all three — is controlled through a unified JSON schema, allowing complete automation via API or code. Developers can create personalized templates from data, run large-scale batch generation, and connect AI models or business logic to power intelligent design systems. Combined with Polotno Cloud Render API or a self-hosted rendering engine, it enables scalable, production-ready automation across media types.
Key features
Programmatic element creation
Add and arrange text, image, or video elements via JSON or Polotno’s JavaScript API. Control properties like size, position, and layering to build layouts dynamically — no manual editing required.
Data-driven generation
Inject structured data (product catalogs, campaign feeds, or user-specific variables) directly into templates. The SDK fills in fields automatically, generating personalized designs or videos at scale.
Bulk creative production
Combine templates with datasets to produce thousands of variations — image ads, thumbnails, or video creatives — in a single automated pipeline. Perfect for campaign localization or dynamic product updates.
Automated template creation
Define reusable templates programmatically with layout, fonts, and color logic. These templates can be edited visually in embedded editors or reused by automation workflows for repeatable output.
Style and layout updates
Sync styles, colors, and brand tokens across all projects. Programmatically enforce branding, change global themes, or auto-adjust layouts when switching formats.
Mixed-media automation
Handle image and video layers within the same composition. Automate transitions, overlays, and background replacement for unified visual workflows.
Server-side and cloud rendering
Render outputs without launching the editor — either through the Polotno Cloud Render API or your own Node.js renderer. Use local rendering for control, or scale in the cloud for high-volume automation.
AI and data integration
Connect AI systems (text generation, image synthesis, or analytics models) directly to Polotno’s schema. Automate captions, visual variations, or template creation driven by external intelligence.
Example use cases
Ad automation platforms – Generate multi-format image and video ads dynamically from campaign data.
E-commerce catalogs – Auto-create visual listings and promo videos from product feeds.
AI content engines – Merge generated visuals and text into ready-to-render templates.
Print-on-demand tools – Produce product visuals automatically per order.
Enterprise creative pipelines – Enforce brand systems and automate updates across thousands of designs.
Developer benefits
Unified schema for image, video, and mixed compositions.
Works with both self-hosted and Polotno Cloud rendering.
JSON-based generation for reproducibility and automation.
Fully compatible with AI, data, or external APIs.
Scalable for SaaS and enterprise infrastructure.
FAQs
Does automation work for both images and videos?
Yes. Polotno’s schema supports mixed media — you can generate, modify, and render image, video, or hybrid designs programmatically.
Can I integrate my own data or AI models?
Yes. You can feed structured data or AI outputs directly into templates to generate content dynamically.
Do I need Polotno Cloud for automation?
No. You can self-host the rendering engine or use the Cloud Render API for large-scale production.
Can automation be run in real-time?
Yes. Templates can be populated and rendered instantly through API calls.
Is the automation schema the same for images and videos?
Yes. The schema is unified — the same structure controls all creative types.