image_url
content type..env
file with the name WRITER_API_KEY
.content
field in two ways:
POST https://api.writer.com/v1/chat
content
field is an array of content fragments, where each fragment can be either text or image.
The text fragment includes the message for the model to analyze. The image fragment includes the image URL.