provider: x
label:
  en_US: xAI
description:
  en_US: xAI is a company working on building artificial intelligence to accelerate human scientific discovery. We are guided by our mission to advance our collective understanding of the universe.
icon_small:
  en_US: x-ai-logo.svg
icon_large:
  en_US: x-ai-logo.svg
help:
  title:
    en_US: Get your token from xAI
    zh_Hans: 从 xAI 获取 token
  url:
    en_US: https://x.ai/api
supported_model_types:
  - llm
configurate_methods:
  - predefined-model
provider_credential_schema:
  credential_form_schemas:
    - variable: api_key
      label:
        en_US: API Key
      type: secret-input
      required: true
      placeholder:
        zh_Hans: 在此输入您的 API Key
        en_US: Enter your API Key
    - variable: endpoint_url
      label:
        en_US: API Base
      type: text-input
      required: false
      default: https://api.x.ai/v1
      placeholder:
        zh_Hans: 在此输入您的 API Base
        en_US: Enter your API Base
