Messages
Create a Message.
Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation. The Messages API can be used for for either single queries or stateless multi-turn conversations.
POST
Authorizations
API key to authorize requests.
Body
application/json
Model settings and a structured list of input messages with text and/or image content.
The body is of type object
.
Response
200
application/json
Message object.
The response is of type object
.