Polotno SDK provides a complete schema-based framework for programmatic template creation and management. Developers can create, edit, and update templates directly through API or JSON definitions — enabling large-scale automation, dynamic personalization, and centralized creative control. Every template is stored as a structured JSON schema that defines text, images, video layers, styles, and layout properties. This allows you to create, version, and regenerate templates automatically for any workflow — from marketing automation and eCommerce to enterprise brand systems.
Key features
Programmatic template creation
Generate new templates dynamically through API calls or JSON definitions. Define canvas size, element positions, layers, and styles without using the visual editor.
Bulk updates
Edit hundreds or thousands of templates at once. Change text styles, image placeholders, or color themes across an entire collection programmatically.
Schema-based design logic
Each template is a fully structured JSON object. You can duplicate, modify, or merge schema elements to create variants or manage brand updates with precision.
Template versioning
Track and store template versions easily by managing schema snapshots. Roll back, clone, or archive designs while maintaining full reproducibility.
Integration flexibility
Connect templates to your CMS, DAM, or automation system. Populate them automatically from campaign data, product catalogs, or AI-generated content.
Unified media support
Templates can contain text, image, or video elements under the same schema — letting your API workflows cover static, animated, or mixed-media creatives.
Cloud and self-hosted rendering
Render template outputs via Polotno Cloud Render API or your own self-hosted setup. Both support the same JSON input and produce consistent results across platforms.
Example use cases
Marketing automation platforms generating personalized campaign templates.
ECommerce systems creating dynamic product ad templates from data.
Brand management tools updating design systems automatically.
Print or merchandise services building production templates via API.
AI content engines generating layouts for social or video assets.
Developer benefits
Full API control over template creation and editing.
Schema-based architecture for reproducibility and automation.
Compatible with cloud or on-premise rendering.
Supports text, image, and video templates.
Scalable for enterprise or SaaS integration.
FAQs
Can templates be created without using the visual editor?
Yes. You can define templates entirely through JSON schema or API requests.
Can I update templates in bulk?
Yes. You can run programmatic updates on any part of the schema — text, images, or layout.
Does it support both image and video templates?
Yes. Polotno uses one schema for static and motion elements.
Can I connect it to my existing CMS or DAM?
Yes. Templates can be loaded, updated, or rendered using data from external systems.
Can I automate rendering of generated templates?
Yes. Use the Polotno Cloud Render API or your own self-hosted renderer to produce outputs automatically.