Generation API

Retrieve a list of available models that can be used for text generation, chat completions, and other AI tasks.

get/v1/models

Request

  • Base URL
    https://api.writer.com
  • URL
    https://api.writer.com/v1/models
  • Auth
    HTTP bearer

Response

Successful response

Example response

{
  "models": [
    {
      "name": "Palmyra X 003 Instruct",
      "id": "palmyra-x-003-instruct"
    },
    {
      "name": "Palmyra Med",
      "id": "palmyra-med"
    },
    {
      "name": "Palmyra Financial",
      "id": "palmyra-fin"
    },
    {
      "name": "Palmyra X4",
      "id": "palmyra-x4"
    },
    {
      "name": "Palmyra X5",
      "id": "palmyra-x5"
    },
    {
      "name": "Palmyra Creative",
      "id": "palmyra-creative"
    }
  ]
}

Changes

    • breaking

      removed the media type text/event-stream for the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • info

      removed the tool_calls enum value from the //// response property for the response status