Writer and rewriter APIs available for early preview

Kenji Baheux
Kenji Baheux
Alexandra Klepper
Alexandra Klepper

Published: September 19, 2024

The writer and rewriter APIs are now available for local prototyping. With the writer API, you can create new content that conforms to a specified writing task, while the rewriter API provides tools for revising and restructuring text. These APIs are part of the family of APIs introduced in the writing assistance APIs explainer.

Use cases

There are a number of reasons to use the writer and rewriter APIs.

  • Generate text based on an initial idea and optional context. For example, you may want to draft an introduction for a series of work samples that best captures the skills you'd like to demonstrate.
  • Refine existing text by changing the length or tone. For example, you may want to rewrite an email to shorten the content and sound more polite.

Do you have additional ideas for a writer / rewriter API? Share them with us on GitHub.

Join the early preview program

These APIs along with the Prompt API, summarization API, and language detection API are available for prototyping.

Sign up for the early preview program to gain access to the documentation and demos, stay up-to-date with the latest changes, and discover new APIs.