Content AI
With plugins: [ai()] and the Workers AI binding in wrangler.jsonc ("ai": { "binding": "AI" }), the panel offers:
- Translate: in the "Side by side" column, a button per field and "Translate all" into the language being edited (rich text keeps bold, links and blocks).
- SEO: the SEO plugin's "Generate" suggests a title and description with AI when the site has no function of its own (or its function returns nothing).
- Alt text: "Suggest alt text" on images in upload collections with an
altfield. - Writing assistant: in the rich text toolbar, on the selection: improve, fix, shorten, lengthen, more formal, friendlier.
Nothing is saved on its own: the suggestion stays in the form for review. Only panel staff use it, with a daily cap per person (dailyLimit, 100 by default). The default model is @cf/google/gemma-4-26b-a4b-it (text and images, multilingual); ai({ model }) changes it and ai({ run }) lets you use another provider (AI Gateway, your own API). ai({ instructions }) gives context: what the site is about and the tone. Workers AI bills by usage on the client's account; in wrangler dev it also runs remotely (and bills).