Writer and rewriter APIs available for early preview
Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-19 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-19 UTC."],[],[]]