---
title: Alan
---

# Alan
POST *https://api.turing.sh/text/alan*
<Warning>This model is unfinished and is not working yet.</Warning>


## Parameters


- **userName**
  - Type: string
  - Required: true

- **messages**
  - Type: array
  - Required: true

- **searchEngine**
  - Type: string
  - Required: false
  - Options: google, none

- **image**
  - Type: string
  - Required: false

- **imageDescription**
  - Type: string
  - Required: false

- **imageGenerator**
  - Type: string
  - Required: false
  - Options: sdxl, kandinsky, none

- **nsfw**
  - Type: boolean
  - Required: false

- **audioGenerator**
  - Type: string
  - Required: false
  - Options: musicgen

- **imageModificator**
  - Type: string
  - Required: false
  - Options: controlnet, none

- **max_tokens**
  - Type: number
  - Required: false
  - Default: 250

## Response

<Error>Response not defined yet</Error>


## Examples

<CodeGroup title="Alan example">
  ```typescript
  import axios from "axios";
  (async () => {
    let response = await axios({
      method: "post",
      url: 'https://api.turing.sh/text/alan',
      headers: {
        "Content-Type": "application/json",
        Authorization: "Bearer YOUR_API_KEY",
        "x-captcha-token": "Captcha key"
      },
      data: {
  "userName": "string",
  "messages": "array",
  "searchEngine": "google",
  "imageGenerator": "sdxl",
  "audioGenerator": "musicgen",
  "imageModificator": "controlnet",
  "max_tokens": 250
},
    })
  })();
  ```
  ```python
  import requests
  import json
  response = requests.post(
    "https://api.turing.sh/text/alan",
    headers={
      "Content-Type": "application/json",
      "Authorization": "Bearer YOUR_API_KEY",
      "x-captcha-token": "Captcha key"
    },
    data=json.dumps({
  "userName": "string",
  "messages": "array",
  "searchEngine": "google",
  "imageGenerator": "sdxl",
  "audioGenerator": "musicgen",
  "imageModificator": "controlnet",
  "max_tokens": 250
}),
  )
  ```
</CodeGroup>