zuke API -- 企业级大模型API供应
539
前言:
- 官网:https://zuke.chat
- API接口:https://zuke.chat
- 充值比例:1 :1
快速入门
Chat\OpenWebUI\Cherry Studio\ChatBox (gemini为例)
视频加载需要时间,请耐性等待
API调用
-
本站兼容OpenAI API调用方式,具体调用请参考OpenAI API文档(https://platform.openai.com/docs/api-reference/introduction)
-
常用的API接口地址
https://zuke.chat
https://zuke.chat/v1
https://zuke.chat/v1/chat
https://zuke.chat/v1/chat/completions
-
简单Python参考
import openai # 设置API key和base URL openai.api_key = "sk-xxxxx" openai.api_base = "https://zuke.chat" def upload_image(file_path, purpose="fine-tune"): """ 上传图片到API。 参数: file_path (str): 要上传的图片文件路径。 purpose (str): 文件上传的用途(默认为"fine-tune")。 返回: dict: API返回的响应。 """ with open(file_path, "rb") as file: response = openai.File.create( file=file, purpose=purpose ) return response if __name__ == "__main__": # 上传图片 image_response = upload_image("1.png") print("图片上传结果:", image_response)
福利
-
新用户注册,赠送0.5元体验额度
-
邀请新用户注册,新用户和老用户各赠送0.5元额度