星梦API文档
  1. Cloudflare Worker AI
星梦API文档
  • 欢迎使用 星梦API!
  • 人机验证 API
    • 人机验证-验证
      GET
    • 人机验证-查询
      GET
  • ai.cloudroo.top
    • 绘画 AI
      • 绘画 AI
    • 文本生成 AI
      • 谷歌 gemini pro api
        • 无上下文
        • 上下文
      • Cloudflare Worker AI
        • 全部模型
          GET
        • @hf_thebloke_mistral-7b-instruct-v0.1-awq
          GET
  • api.cloudroo.top
    • 翻译 API
      GET
    • IP 查询
      GET
  • ducksite.cloudroo.top
    • 登录/注册
      • 登录
    • 验证码
    • 人机验证
    • 社区
    • 合集
    • 用户
    • 图片上传
  • 获取作品信息
    GET
  1. Cloudflare Worker AI

全部模型

测试中
GET
/text/other/choose/
最后修改时间:2024-03-30 07:14:26
支持的模型详细请查阅:文本生成模型列表 (https://developers.cloudflare.com/workers-ai/models/#text-generation)
注:如果提交不正确或不存在的模型名可能会出现意想不到的问题;部分模型不支持中文
如果您不确定该选择哪个模型,您可以查阅:https://developers.cloudflare.com/workers-ai/tutorials/how-to-choose-the-right-text-generation-model/

请求参数

Query 参数
m
string 
模型名称
必需
示例值:
@cf/meta/llama-2-7b-chat-fp16
q
string 
你的问题
必需
示例值:
你好,请问你可以做什么

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/text/other/choose/?m=@cf/meta/llama-2-7b-chat-fp16&q=你好,请问你可以做什么'

返回响应

🟢200成功
text/html
Body
object {0}
示例
Hello! *smiles* I'm just an AI assistant, I'm here to help you with any questions or tasks you may have. I can assist you in a variety of ways, such as: 1. Answering questions: I can provide detailed and accurate answers to your questions on a wide range of topics, from science and technology to history and culture. 2. Generating text: I can help you generate text for various purposes, such as writing articles, creating content, or even composing emails. 3. Translation: I can translate text from one language to another, helping you communicate with people who speak different languages. 4. Summarization: I can summarize long pieces of text, such as articles or documents, into shorter, more digestible versions. 5. Creative writing: I can assist you in generating creative content, such as poetry or short stories, using various prompts and techniques. 6. Conversation: I can engage in natural-sounding conversations with you, using context and understanding to respond to your questions and statements. 7. Data analysis: I can help you analyze and interpret data, such as numbers, statistics, or even images, to
上一页
上下文
下一页
@hf_thebloke_mistral-7b-instruct-v0.1-awq
Built with