云智AI开发者中心

采用全新架构训练的国产语言大模型,立志为您提供更加优质便利的AI使用体验

开发模型介绍

云智ONES模型

云智ONES模型是云智计算研究的国产语言大模型,基于Qwen2.5深度学习技术+DeepSeek开源知识库构建的多功能人工智能模型,具备自然语言处理、图像识别、语音合成等多种AI语言能力。

云智ONES模型采用目前最先进的Transformer架构,经过海量的数据训练,能够快速理解复杂语义、生成高质量文本、进行多轮对话等。

技术核心优势

  • 高精度:在多个基准测试中达到领先水平
  • 低延迟:响应时间通常在200-500毫秒之间
  • 易扩展:支持水平扩展,满足高并发需求
  • 多语言:支持中文、英文等多种语言处理
  • 安全可靠:数据传输加密,符合GDPR要求

网页在线体验

无需注册,立即体验云智ONES模型的强大功能。支持文本生成、对话模拟、情感分析等多种AI能力演示。

立即体验

API对接文档

包含完整的PHP参考文档,提供运行方式、请求参数、响应格式和错误代码的详细说明,方便快捷即刻体验!

查看文档

编程对接文档

选择您需要的编程语言,快速集成云智模型到您的应用

Java
PHP
Python
HTTP

Java 集成

代码使用了 Unirest 库和 OKHttp 库,你需要在项目中添加相应的依赖。若使用 Maven,可在 pom.xml 里添加如下依赖: com.mashape.unirest unirest-java 1.4.9

使用 Unirest
import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.JsonNode; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.exceptions.UnirestException; public class PhpApiCaller { // 构建 API 请求 private static final String API_URL = "https://api.jkyai.top/API/AI/api.php"; public static void main(String[] args) { // 定义请求参数 String question = "对话问题"; String type = "text"; String key = "调用密钥"; String search = "no"; String uid = "唯一标识符"; try { // 调用 API 并获取响应 HttpResponse response = callApi(question, type, key, search, uid); // 打印响应体 System.out.println(response.getBody()); } catch (UnirestException e) { // 处理异常 System.err.println("请求 API 时发生错误: " + e.getMessage()); } } /** * 调用 API 的方法 * @param question 对话问题 * @param type 响应类型 * @param key 调用密钥 * @param search 是否进行搜索 * @param uid 唯一标识符 * @return API 响应 * @throws UnirestException 如果请求过程中发生错误 */ public static HttpResponse callApi(String question, String type, String key, String search, String uid) throws UnirestException { // 构建请求 URL String url = API_URL + "?question=" + question + "&type=" + type + "&key=" + key + "&search=" + search + "&uid=" + uid; // 发起 GET 请求 return Unirest.get(url).asJson(); } }
使用 OKHttp
import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import java.io.IOException; public class PhpApiCaller { // 构建 API 请求 private static final String API_URL = "https://api.jkyai.top/API/AI/api.php"; public static void main(String[] args) { // 定义请求参数 String question = "对话问题"; String type = "text"; String key = "调用密钥"; String search = "no"; String uid = "唯一标识符"; try { // 调用 API 并获取响应 String response = callApi(question, type, key, search, uid); // 打印响应体 System.out.println(response); } catch (IOException e) { // 处理异常 System.err.println("请求 API 时发生错误: " + e.getMessage()); } } /** * 调用 API 的方法 * @param question 对话问题 * @param type 响应类型 * @param key 调用密钥 * @param search 是否进行搜索 * @param uid 唯一标识符 * @return API 响应 * @throws IOException 如果请求过程中发生错误 */ public static String callApi(String question, String type, String key, String search, String uid) throws IOException { // 创建 OkHttp 客户端 OkHttpClient client = new OkHttpClient(); // 构建请求 URL String url = API_URL + "?question=" + question + "&type=" + type + "&key=" + key + "&search=" + search + "&uid=" + uid; // 创建请求对象 Request request = new Request.Builder() .url(url) .build(); // 发起请求并获取响应 try (Response response = client.newCall(request).execute()) { // 检查响应是否成功 if (!response.isSuccessful()) { throw new IOException("Unexpected code " + response); } // 返回响应体字符串 return response.body().string(); } } }
复制成功!