This example shows how to use the Writer.write() method to generate new text from a given topic. This is a non-streaming operation.
Ready. Enter a topic and click the button.
To use this feature, you must have the Writer API flag enabled in Chrome AND register for the origin trial. Open a new tab, paste the link below, press Enter, enable the flag, and then restart Chrome.
Note: The Writer API is currently in origin trial (Chrome 137-142). You may need to register at: Writer API Origin Trial