Sanity logosanity.ioAll Systems Operational© Sanity 2026
Change Site Theme

Changelog

Track new features, improvements, and fixes across all Sanity products.

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

On this page

Back to Changelog
  1. Changelog
  2. AI Assist

Sanity AI Assist: New Features and Breaking Changes Including Content Translation, Image Generation, and Improved Field Support

Published: February 13, 2024

v2.0.0
AI Assist

✨ Highlights

Sanity AI Assist 2.0 comes with new features and breaking changes that bring consistency to the plugin's configuration.

Paid feature

This article is about a feature currently available for all projects on the Growth plan and up.

To upgrade to the latest version of AI Assist:

npm install sanity@latest @sanity/assist@latest
pnpm add sanity@latest @sanity/assist@latest
yarn add sanity@latest @sanity/assist@latest
bun add sanity@latest @sanity/assist@latest

Content translation

Sanity AI Assist can now translate localized content with a simple action. Built to support the localization models used by the Document Internationalization and Internationalized Array plugins.

Image generation

You can now instruct AI Assist to generate images for image fields. It also supports a two-step process where you instruct AI Assist to generate an instruction for image generation for better results.

Image description support

AI Assist can now add image descriptions to an image field. This is useful for generating alternative text and image captions. AI Assist will automatically run when an image is uploaded and replaced.

Reference field support

AI Assist can now work with reference fields to pull in content that's described in an instruction. Requires setting up an Embeddings Index for documents you wish to refer to.

Other improvements

  • You can now explicitly filter what fields an instruction is allowed to interact with
  • Support for conditionally hidden and readOnly fields
  • Image generation instruction will always show when enabled
  • Translation actions will be disabled if AI Assist is not initialized
  • AI context blocks are now always visible in the instruction editor

Migrating breaking changes

AI Assist's schema option properties have changed and been moved into a common namespace (aiAssist). Some configuration properties have been renamed for clarity.

All AI Assist schema options now live under options.aiAssist:

  • options.aiWritingAssistance.exclude -> options.aiAssist.exclude
  • options.aiWritingAssistance.embeddingsIndex options.aiAssist.embeddingsIndex
  • options.aiWritingAssistance.translateAction -> options.aiAssist.translateAction
  • options.imagePromptField -> options.aiAssist.imageInstructionField
  • options.captionField

Related documentation

  • Install and configure Sanity AI Assist

  • Content translation with AI Assist

  • Common instructions for AI Assist

  • Create and run instructions with AI Assist

  • Embeddings index introduction

On this page

  • ✨ Highlights
  • Content translation
  • Image generation
  • Image description support
  • Reference field support
  • Other improvements
  • Migrating breaking changes
Back to Changelog
npm install sanity@latest @sanity/assist@latest
pnpm add sanity@latest @sanity/assist@latest
yarn add sanity@latest @sanity/assist@latest
bun add sanity@latest @sanity/assist@latest

Related documentation

  • Install and configure Sanity AI Assist

  • Content translation with AI Assist

  • Common instructions for AI Assist

  • Create and run instructions with AI Assist

  • Embeddings index introduction

npm install sanity@latest @sanity/assist@latest
npm install sanity@latest @sanity/assist@latest
pnpm add sanity@latest @sanity/assist@latest
pnpm add sanity@latest @sanity/assist@latest
yarn add sanity@latest @sanity/assist@latest
yarn add sanity@latest @sanity/assist@latest
bun add sanity@latest @sanity/assist@latest
bun add sanity@latest @sanity/assist@latest
Sanity logo

Documentation

    • Overview
    • Platform introduction
    • Next.js quickstart
    • Nuxt.js quickstart
    • Astro quickstart
    • React Router quickstart
    • Studio quickstart
    • Build with AI
    • Content Lake
    • Functions
    • APIs and SDKs
    • Agent Actions
    • Visual Editing
    • Blueprints
    • Platform management
    • Dashboard
    • Studio
    • Canvas
    • Media Library
    • App SDK
    • Content Agent
    • HTTP API
    • CLI
    • Libraries
    • Specifications
    • Changelog
    • User guides
    • Developer guides
    • Courses and certifications
    • Join the community
    • Templates