内容正在完善中,欢迎提交 PR
服务端
模型

系列

系列是 AI 功能的集合,它可以包含多个模型。

URL: GET /ai/series

示例响应体:

[
  {
    "id": 1,
    "name": "盘古",
    "desc": "盘古为您提供一站式的聊天体验,不仅拥有高质量的聊天服务,更多的是探索人类文明和聊天技术能够达到的极致。它将与您一起成长,拥有聪明的记忆,通过精准的反馈来满足您对对话的期望!了解盘古,您将享受到前所未有的AI聊天体验!",
    "usage": "AI 聊天",
    "status": 1,
    "sort": 1,
    "image": "/images/chat.png",
    "icon": "",
    "url": "/chat",
    "createdAt": "2023-03-10T11:52:20.004Z",
    "updatedAt": "2023-03-10T11:52:20.004Z",
    "models": [
      {
        "id": 1,
        "seriesId": 1,
        "name": "开天 3",
        "desc": "",
        "type": 1,
        "status": 1,
        "sort": 1,
        "image": "",
        "icon": "",
        "features": ["回复更加精准"],
        "createdAt": "2023-03-08T05:27:16.357Z",
        "updatedAt": "2023-03-08T05:27:16.357Z",
        "prices": [
          {
            "id": 3,
            "modelId": 1,
            "price": 0.000125,
            "unit": "1 token",
            "createdAt": "2023-03-09T15:30:21.503Z",
            "updatedAt": "2023-03-09T15:30:21.503Z"
          }
        ]
      },
      {
        "id": 2,
        "seriesId": 1,
        "name": "玄天 2",
        "desc": "",
        "type": 1,
        "status": 1,
        "sort": 2,
        "image": "",
        "icon": "",
        "features": ["回复更加迅速", "价格非常优惠"],
        "createdAt": "2023-03-08T05:27:53.037Z",
        "updatedAt": "2023-03-08T05:27:53.037Z",
        "prices": [
          {
            "id": 4,
            "modelId": 2,
            "price": 0.0001,
            "unit": "1 token",
            "createdAt": "2023-03-09T15:30:29.628Z",
            "updatedAt": "2023-03-09T15:30:29.628Z"
          }
        ]
      },
      {
        "id": 3,
        "seriesId": 1,
        "name": "破晓 3.5+",
        "desc": "",
        "type": 1,
        "status": 1,
        "sort": 3,
        "image": "",
        "icon": "",
        "features": ["回复更加智能", "价格非常优惠"],
        "createdAt": "2023-03-08T05:27:57.578Z",
        "updatedAt": "2023-03-08T05:27:57.578Z",
        "prices": [
          {
            "id": 2,
            "modelId": 3,
            "price": 0.00015,
            "unit": "1 token",
            "createdAt": "2023-03-08T14:50:38.102Z",
            "updatedAt": "2023-03-08T14:50:38.102Z"
          }
        ]
      },
      {
        "id": 12,
        "seriesId": 1,
        "name": "定制模型 开天3",
        "desc": "''",
        "type": 4,
        "status": 2,
        "sort": 8,
        "image": null,
        "icon": null,
        "features": ["定制特定的回复风格、语气、性格、观点等"],
        "createdAt": "2023-04-05T18:10:43.000Z",
        "updatedAt": "2023-04-05T18:10:46.000Z",
        "prices": [
          {
            "id": 11,
            "modelId": 12,
            "price": 0.001,
            "unit": "1 token",
            "createdAt": "2023-04-05T18:12:09.000Z",
            "updatedAt": "2023-04-05T18:12:11.000Z"
          }
        ]
      }
    ]
  },
  {
    "id": 2,
    "name": "悟空",
    "desc": "悟空是我们最新研发的 AI 聊天产品,它的目标是超越 ChatGPT。它采用了更为先进的 AI 模型,并且支持语音输入、实时搜索和图片生成,还打破了 2048 Token 限制。简单来说,悟空是一个更加聪明,功能更强,并且联网的写作版 ChatGPT。",
    "usage": "AI 写作聊天",
    "status": 4,
    "sort": 2,
    "image": "/images/chat.png",
    "icon": "",
    "url": "/chat",
    "createdAt": "2023-03-10T11:54:35.110Z",
    "updatedAt": "2023-03-10T11:54:35.110Z",
    "models": [
      {
        "id": 4,
        "seriesId": 2,
        "name": "金刚",
        "desc": "",
        "type": 1,
        "status": 1,
        "sort": 4,
        "image": "",
        "icon": "",
        "features": [],
        "createdAt": "2023-03-10T08:47:44.580Z",
        "updatedAt": "2023-03-10T08:47:44.580Z",
        "prices": [
          {
            "id": 5,
            "modelId": 4,
            "price": 0.065,
            "unit": "1 token",
            "createdAt": "2023-03-11T21:48:38.000Z",
            "updatedAt": "2023-03-11T21:48:41.000Z"
          }
        ]
      }
    ]
  },
  {
    "id": 3,
    "name": "墨子",
    "desc": "墨子是一款全新的图像生成工具,能够轻松创建精美的图像,从而把你的想象变成现实。让你的图像动起来,用仅仅一句话就可以创造出令人惊艳的画面。只需要你的描述,我们就能帮你把它变成美丽的图像。尝试一下墨子,让你的想象力飞翔!",
    "usage": "AI 图像生成",
    "status": 2,
    "sort": 3,
    "image": "/images/picture.png",
    "icon": "",
    "url": "/image/mozi",
    "createdAt": "2023-03-10T11:56:35.976Z",
    "updatedAt": "2023-03-10T11:56:35.976Z",
    "models": [
      {
        "id": 7,
        "seriesId": 3,
        "name": "兼爱",
        "desc": "''",
        "type": 2,
        "status": 2,
        "sort": 5,
        "image": null,
        "icon": null,
        "features": [],
        "createdAt": "2023-03-11T21:43:59.000Z",
        "updatedAt": "2023-03-11T21:44:01.000Z",
        "prices": [
          {
            "id": 6,
            "modelId": 7,
            "price": 0.32,
            "unit": "256x256",
            "createdAt": "2023-03-11T21:53:03.000Z",
            "updatedAt": "2023-03-11T21:53:05.000Z"
          },
          {
            "id": 7,
            "modelId": 7,
            "price": 0.36,
            "unit": "512x512",
            "createdAt": "2023-03-11T21:54:04.000Z",
            "updatedAt": "2023-03-11T21:54:07.000Z"
          },
          {
            "id": 8,
            "modelId": 7,
            "price": 0.4,
            "unit": "1024x1024",
            "createdAt": "2023-03-11T21:54:22.000Z",
            "updatedAt": "2023-03-11T21:54:25.000Z"
          }
        ]
      }
    ]
  },
  {
    "id": 4,
    "name": "女娲",
    "desc": "女娲由最前沿的AI技术支撑,可以让你轻松创造出和人类完全相似的,却不真实存在的图像。女娲让艺术与科技完美结合,让你可以全新审视世界,开启无尽创作的可能性!",
    "usage": "AI 图像生成",
    "status": 2,
    "sort": 4,
    "image": "/images/picture.png",
    "icon": "",
    "url": "/image/nvwa",
    "createdAt": "2023-03-10T11:56:43.121Z",
    "updatedAt": "2023-03-10T11:56:43.121Z",
    "models": [
      {
        "id": 9,
        "seriesId": 4,
        "name": "造人",
        "desc": "''",
        "type": 2,
        "status": 2,
        "sort": 6,
        "image": null,
        "icon": null,
        "features": ["模拟真实人类"],
        "createdAt": "2023-03-11T21:57:36.000Z",
        "updatedAt": "2023-03-11T21:57:39.000Z",
        "prices": [
          {
            "id": 9,
            "modelId": 9,
            "price": 0,
            "unit": "512x512",
            "createdAt": "2023-03-11T21:57:09.000Z",
            "updatedAt": "2023-03-11T21:57:11.000Z"
          }
        ]
      }
    ]
  },
  {
    "id": 5,
    "name": "谛听",
    "desc": "我们的 AI 语音合成产品是一款创新性的工具,可以将文字内容快速转化为高质量的语音。无论您需要使用语音合成技术制作语音助手、音频广告或是进行语音朗读,我们的 AI 语音合成产品都能够为您提供出色的表现效果,并让您的语音合成过程更加简单和便捷。",
    "usage": "AI 语音合成",
    "status": 1,
    "sort": 5,
    "image": "/images/headphone.png",
    "icon": null,
    "url": "/tts/diting",
    "createdAt": "2023-03-10T12:40:48.079Z",
    "updatedAt": "2023-03-10T12:40:48.079Z",
    "models": [
      {
        "id": 10,
        "seriesId": 5,
        "name": "无界",
        "desc": "''",
        "type": 3,
        "status": 2,
        "sort": 7,
        "image": null,
        "icon": null,
        "features": [],
        "createdAt": "2023-03-19T22:47:30.000Z",
        "updatedAt": "2023-03-19T22:47:33.000Z",
        "prices": [
          {
            "id": 10,
            "modelId": 10,
            "price": 0,
            "unit": "无限时长",
            "createdAt": "2023-03-19T22:51:49.000Z",
            "updatedAt": "2023-03-19T22:51:51.000Z"
          }
        ]
      }
    ]
  },
  {
    "id": 6,
    "name": "未命名",
    "desc": "我们的 AI 代码生成产品是一个能够让您轻松编写高质量代码的工具。它使用人工智能技术,可以自动生成高效、精准、可维护的代码。",
    "usage": "AI 代码生成",
    "status": 5,
    "sort": 6,
    "image": "/images/hash.png",
    "icon": null,
    "url": "/code",
    "createdAt": "2023-03-10T12:41:40.481Z",
    "updatedAt": "2023-03-10T12:41:40.481Z",
    "models": []
  },
  {
    "id": 7,
    "name": "未命名",
    "desc": "我们的 AI 写作产品是一个能够帮助您轻松创作高质量文本的工具。它使用人工智能技术,可以为您自动生成清晰、准确、富有表现力的文章。",
    "usage": "AI 写作",
    "status": 5,
    "sort": 7,
    "image": "/images/pencil.png",
    "icon": null,
    "url": "/write",
    "createdAt": "2023-03-10T12:41:48.861Z",
    "updatedAt": "2023-03-10T12:41:48.861Z",
    "models": []
  },
  {
    "id": 8,
    "name": "未命名",
    "desc": "我们的 AI 生命产品是一个能够让您亲身体验和探索生命的神奇世界的工具。它使用人工智能技术,可以让您创造、观察和控制虚拟生命体。",
    "usage": "AI 虚拟生命",
    "status": 5,
    "sort": 8,
    "image": "/images/heart.png",
    "icon": null,
    "url": "/write",
    "createdAt": "2023-03-10T12:42:17.724Z",
    "updatedAt": "2023-03-10T12:42:17.724Z",
    "models": []
  },
  {
    "id": 9,
    "name": "未命名",
    "desc": "我们的 AI 设计产品是一款强大的工具,可以帮助您快速、轻松地创建出令人惊叹的设计作品。无论您是新手还是专业人士,我们的 AI 设计产品都可以满足您的设计需求,并让您的设计过程更加高效和愉悦。",
    "usage": "AI 设计",
    "status": 5,
    "sort": 9,
    "image": "/images/figma.png",
    "icon": null,
    "url": "/design",
    "createdAt": "2023-03-10T12:42:23.811Z",
    "updatedAt": "2023-03-10T12:42:23.811Z",
    "models": []
  },
  {
    "id": 10,
    "name": "未命名",
    "desc": "我们的 AI 翻译产品是一款强大的工具,可以帮助您快速、准确地进行语言翻译。无论您需要翻译的是文本、语音还是图片,我们的 AI 翻译产品都可以满足您的需求,并让您的翻译体验更加高效和便捷。无需费心寻找翻译资料或是为语言障碍烦恼,让我们的 AI 翻译产品为您打开更多语言交流的大门。",
    "usage": "AI 翻译",
    "status": 5,
    "sort": 10,
    "image": "/images/text.png",
    "icon": null,
    "url": "/translate",
    "createdAt": "2023-03-10T12:42:31.836Z",
    "updatedAt": "2023-03-10T12:42:31.836Z",
    "models": []
  },
  {
    "id": 11,
    "name": "未命名",
    "desc": "我们的 AI 语音识别产品是一款强大的工具,可以帮助您将语音转换为文字,从而快速、准确地实现语音转写。无论您需要进行实时语音转写、语音记录或是语音转换为文字进行后续处理,我们的 AI 语音识别产品都可以满足您的需求,让您的语音应用体验更加高效和便捷。",
    "usage": "AI 语音识别",
    "status": 5,
    "sort": 11,
    "image": "/images/mic.png",
    "icon": null,
    "url": "/audio-recognition",
    "createdAt": "2023-03-10T12:42:41.664Z",
    "updatedAt": "2023-03-10T12:42:41.664Z",
    "models": []
  }
]

模型

在使用任何功能之前,您必须先指定一个模型。

模型是按照系列进行组织的,一个系列可以包含多个模型。

比如盘古系列就包含开天、玄天、破晓等模型。

模型是一个 AI 功能,它可以提供特定的功能,例如语音识别、翻译、图像识别等。您可以使用模型来执行一些操作,例如将语音转换为文本,或将图像转换为标签。

您可以通过以下接口来查看所有可用的模型:

URL: GET /ai/series/:seriesId/model

示例响应体:

[
  {
    "id": 1,
    "seriesId": 1,
    "name": "开天 3",
    "desc": "",
    "type": 1,
    "status": 1,
    "sort": 1,
    "image": "",
    "icon": "",
    "features": ["回复更加精准"],
    "createdAt": "2023-03-08T05:27:16.357Z",
    "updatedAt": "2023-03-08T05:27:16.357Z"
  },
  {
    "id": 2,
    "seriesId": 1,
    "name": "玄天 2",
    "desc": "",
    "type": 1,
    "status": 1,
    "sort": 2,
    "image": "",
    "icon": "",
    "features": ["回复更加迅速", "价格非常优惠"],
    "createdAt": "2023-03-08T05:27:53.037Z",
    "updatedAt": "2023-03-08T05:27:53.037Z"
  },
  {
    "id": 3,
    "seriesId": 1,
    "name": "破晓 3.5+",
    "desc": "",
    "type": 1,
    "status": 1,
    "sort": 3,
    "image": "",
    "icon": "",
    "features": ["回复更加智能", "价格非常优惠"],
    "createdAt": "2023-03-08T05:27:57.578Z",
    "updatedAt": "2023-03-08T05:27:57.578Z"
  },
  {
    "id": 12,
    "seriesId": 1,
    "name": "定制模型 开天3",
    "desc": "''",
    "type": 4,
    "status": 2,
    "sort": 8,
    "image": null,
    "icon": null,
    "features": ["定制特定的回复风格、语气、性格、观点等"],
    "createdAt": "2023-04-05T18:10:43.000Z",
    "updatedAt": "2023-04-05T18:10:46.000Z"
  }
]