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.
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.
Personalize the customer follow-up
Something went wrong while generating the suggestions. Please try again.
Customer Follow-up
Thank you for discussing your infrastructure modernization project with us. Based on your current environment and expected growth, we recommend a cloud deployment that provides reliable performance, operational resilience, and predictable operating costs.
The proposed solution includes a production-ready environment with redundant networking, managed compute resources, encrypted storage, and continuous monitoring. This approach is intended to support future expansion while minimizing operational complexity.
The deployment will be completed in several phases, including environment preparation, infrastructure provisioning, validation, and production rollout. The exact implementation plan can be adjusted based on your business priorities.
We look forward to discussing the recommended approach in more detail and refining the deployment plan together.
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.
Why Streaming Became the Default for AI Responses
Just two years ago, calling an AI model meant sending a request, waiting four seconds, and receiving a response in one chunk. Today, almost every AI feature you use streams its output token by token — and the entire industry has converged on Server-Sent Events as the way to deliver it.
The Latency Problem
Large language models can take anywhere from a few seconds to over a minute to produce a full response. From a system standpoint, that's normal — the model is computing one token at a time. From a user standpoint, it's a deal-breaker. A blank screen for ten seconds feels broken. The same response, streamed word-by-word starting at 200 milliseconds, feels fast.
The metric that started mattering wasn't total response time. It was time-to-first-token.
Why SSE Won Over WebSockets
WebSockets were the obvious candidate for streaming, but they brought complexity nobody needed: bidirectional channels, custom framing, proxy issues, no native HTTP semantics. Server-Sent Events offered the opposite — plain HTTP, automatic reconnection, easy to debug, and trivial to terminate when the user clicks Cancel.
What integrators get from SSE today:
- A standard
text/event-streamresponse that any HTTP client can handle - Native browser support via
EventSource, no library required - Compatibility with existing HTTP infrastructure — proxies, load balancers, auth headers
- Clean cancellation semantics: closing the connection stops the generation
What Comes Next
Streaming is no longer an optimization. It's the contract. Users expect partial results, regenerate buttons, and the ability to cancel mid-response — and they expect it to feel instant. The next frontier isn't faster models. It's tighter integration between streamed output and the surfaces where that output actually lives.
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.
Translations
Click Translate to generate 5 language versions
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.
