1. Text
147API接口文档
  • 必看一 快速上手调用147ai 大模型
  • 必看二 站点模型分组介绍
  • 必看三 倍率与模型计费介绍
  • 主流工具安装/接入147API 教程
    • claude code安装教程(win/mac)
    • GPT-codex安装教程
    • chatbox接入教程
    • cherry studio接入教程
    • CC Switch接入147ai教程
    • VScode安装cc插件教程(未安装CC终端使用)
    • Cursor接入147ai教程
    • Trae 接入147ai教程
    • Gemini cli 接入147ai教程
    • openclaw接入147ai教程
    • OpenClaw Web界面接入147ai教程
    • WorkBuddy接入147ai教程
    • opencode接入147ai教程
    • codex桌面版接入147ai教程
    • Claude Desktop接入147ai教程
    • Hermes Agent 安装接入147ai 教程
    • 腾讯云openclaw 接入147ai教程
    • Dify 配置使用147ai教程
    • n8n 配置使用147ai教程
    • coze使用147ai教程
    • MiMoCode CLI接入教程
    • Hermes Agent CLI 安装接入147AI-CC Switch
    • Windsurf接入147ai教程
    • Aider 接入147ai教程
    • Continue接入 147ai 教程
    • Cline 接入 147ai 教程
    • ArkClaw 接入 147ai 教程
    • zcode接入教程
    • DeepSeek Harness 接入 147ai 教程(win/mac)
    • Pi Coding Agent 接入 147ai教程(win/mac)
  • 模型接口
    • Openai
      • OpenAI JSON 结构化输出
      • OpenAI 基础聊天
      • 图片编辑/edits
      • 图片生成 (gpt-image-2)
      • 图片编辑 (gpt-image-2)
      • 图片编辑 (gpt-image-2-client)
      • 图片生成 (gpt-image-2-client)
      • OpenAI tools/function calling
      • OpenAI Streaming SSE
      • v1/Responses / 通用
      • 创建文本嵌入
      • 批量创建嵌入
      • 文本转语音 / TTS
      • 语音转文本 / whisper-1
      • 语音转文本 / gpt-4o-transcribe
      • 音频翻译
      • OpenAI 路由稳定性 CV 探针
      • OpenAI Token usage 自洽探针
      • 内容补全接口
      • 创建内容审核
      • OpenAI 响应完整性 non-stream 探针
      • 文件分析
      • deep-research / 深度研究
      • Web search / 联网搜索
      • OpenAI 响应完整性 stream 探针
    • Anthropic
      • 原生接口
        • 文本生成
        • 图片理解
        • 文本生成 / 强制返回思考
        • 函数调用
        • Web search / 联网搜索
      • OpenAI兼容接口
        • 文本生成
        • 图片理解
        • 文本生成 / 强制返回思考
        • 函数调用
        • Web search / 联网搜索
    • Google
      • OpenAI兼容接口
        • 文本生成
        • 文本生成 / 强制返回思考
        • 图片理解
        • 图片生成
        • 图片修改
        • 图片编辑(Nano-banana)
        • 图片生成 / Imagen 4
        • 音频理解
        • 视频理解
        • 文本转语音 / TTS
      • Google Gemini接口
        • 文本生成
        • 文字转语音
        • 音频转文
        • 视频转文
        • 图片理解
        • 图片生成
        • 图片编辑(Nano-banana 支持比例)
        • Bearer 鉴权探针
    • 豆包
      • doubao-seedream-4-0-250828-文生图
      • doubao-seedream-4-0-250828-图生图
      • doubao-seedream-4-0-250828-多图生图
    • sora2
      • 官方格式
        • 创建视频
        • 视频状态
        • 获取视频
    • veo
      • 图生视频(chat格式)
      • 图生视频
      • 获取视频
    • Midjourney
      • 文生图(Imagine)
      • 图片融合(Blend)
      • 按钮点击(Action)
      • 窗口执行(Modal)
      • 生成视频(Video)
      • 图生文(Describe)
      • 编辑图片(Edit)
      • 上传(upload)
      • 换脸(FaceSwap)
      • 缩短提示词(Shorten)
      • 查询
      • 获取种子(Seed)接口
      • 批量查询
      • 文生图 / OpenAI兼容
    • omni
      • 创建视频生成任务(omni-fast / omni-fast-v2v)
      • 查询视频任务状态
      • 获取视频内容
    • Grok
      • Text
        • 文本生成
          POST
        • 文本生成 / 禁用在服务器上存储之前的请求/响应
          POST
        • 文本生成 / 返回加密思维内容
          POST
        • 文本生成 / 添加加密思维内容
          POST
        • 流媒体
          POST
        • 推理
          POST
        • 图像理解
          POST
      • Videos
        • 创建 Grok 视频任务(生成 / 编辑)
        • 查询 Grok 视频任务状态
    • Seedance 2.0 视频
      • 创建 Seedance 视频任务(文生 / 图生 / 全能参考 / 首尾帧)
      • 查询视频任务状态 / 获取成片
  • 平台API接口文档
    • 后台接口鉴权填写说明
    • 系统
      • 获取系统状态
      • 获取公告
      • 获取用户协议
      • 获取隐私政策
      • 获取关于信息
      • 获取首页内容
      • 获取定价信息
      • 获取模型列表
      • 获取模型定价配置
    • 用户登陆注册
      • 发送邮箱验证码
      • 发送密码重置邮件
      • 重置密码
      • 用户注册
      • 用户登录
      • 两步验证登录
      • 用户登出
      • 获取用户分组列表
    • 用户管理
      • 获取当前用户分组
      • 获取当前用户信息
      • 更新当前用户信息
      • 注销当前用户
      • 获取用户可用模型
      • 生成访问令牌
      • 获取邀请码
      • 转换邀请额度
      • 更新用户设置
    • 充值
      • 获取充值信息
      • 获取用户充值记录
      • 发起支付宝充值
      • 获取支付宝充值金额
    • 两步验证
      • 获取2FA状态
      • 设置2FA
      • 启用2FA
      • 禁用2FA
      • 重新生成备用码
    • 安全验证
      • 通用安全验证
      • 获取验证状态
    • 令牌管理
      • 通过令牌id获取明码密钥
      • 获取所有令牌
      • 创建令牌
      • 更新令牌
      • 搜索令牌
      • 获取指定令牌
      • 删除令牌
      • 批量删除令牌
      • 获取令牌使用情况
    • 日志
      • 获取个人日志统计
      • 获取个人日志
      • 通过令牌获取日志
      • 查询日志导出权限
      • 获取个人日志导出任务列表
      • 创建个人日志导出任务
      • 获取个人日志导出任务详情
      • 取消个人日志导出任务
      • 下载个人日志导出文件
    • 数据统计
      • 获取个人额度数据
    • 任务
      • 获取个人Midjourney任务
      • 获取个人任务
  • 数据模型
    • CreateVideoRequest
    • VideoTask
    • GrokVideoTask
    • ReferenceImage
    • CreateGrokVideoRequest
    • ErrorResponse
    • CreateVideoResponse
    • GrokEditVideoSource
    • CreateOmniFastVideoJsonRequest
    • VideoTaskStatus
    • CreateOmniFastV2VVideoJsonRequest
    • CreateGrokVideoEditRequest
    • TaskError
    • VideoTaskData
    • SyncErrorResponse
    • ErrorDetail
    • CreateGrokVideoEditMultipartRequest
  1. Text

文本生成 / 添加加密思维内容

开发中
POST
https://api.147ai.cn/v1/responses
返回加密后的思维内容后,还可以将其添加到新响应的输入中。
功能取值或说明
模型model"grok-4.7"
输入内容input支持文本、图片输入
推理强度reasoning.effortlow、medium、high、xhigh;默认 high,不能关闭推理
温度temperature0–2,接口默认值为 0.7
核采样top_p0 < top_p ≤ 1,默认 0.95;建议与温度二选一调整
输出长度max_output_tokens默认 128000,可以设置更大值;两者统计范围不同,见下文
流式输出streamtrue / false
输出格式text.formattext、json_object、json_schema
工具配置tools支持自定义函数;Responses 还支持网页搜索、X 搜索、代码执行等内置工具
工具选择tool_choiceauto、none、required 或指定工具
并行工具调用parallel_tool_callstrue / false
缓存路由键prompt_cache_key固定会话键,帮助提高缓存命中;官方也说明可使用 x-grok-conv-id 请求头

请求参数

Header 参数

Body 参数application/json必填

示例
{
    "created_at": 1790135787,
    "completed_at": 1790135810,
    "id": "c9e4d912-b46f-9c25-9aef-24f06dc1b7f7",
    "max_output_tokens": null,
    "model": "grok-4.7",
    "object": "response",
    "output": [
        {
            "id": "rs_c9e4d912-b46f-9c25-9aef-24f06dc1b7f7",
            "summary": [
                {
                    "text": "The user is asking \"How do stars form?\" This is a straightforward science question about astronomy/astrophysics. No safety issues here—it's educational, factual, and not related to any disallowed topi...Stars form when dense regions inside vast clouds of gas and dust—mostly hydrogen and helium—collapse under their own gravity. These clouds, called giant molecular clouds, drift through space and occasionally get disturbed by nearby stars exploding as supernovas or by the clouds bumping into each other.",
                    "type": "summary_text"
                }
            ],
            "type": "reasoning",
            "status": "completed",
            "encrypted_content": "bEwlavgeyY93GSRqgZXMHbFvi1w1kQc3Pt1qjflASLDNPpss6N5k42ebILVkFb5m319A4bAiwb2oT7eX2OCDBTpFr9w/L5bmEwCxI8GOtsnwxpaSz3Ri4Whc604strsdaRfa/S79FgYib4etz66EOofwvGzH62EDRAtg53VmpBvvPJWonOdpoWcCUhdX2poU5U3VqsgTzQkRapfJOBiPrTpug5HshcTTfIIlNk6vAKo+Vh+5YkrXQ0l7Rkmix9FlGvmbKkVmsJUpNKavt+JHVEvF7F9TZf4cBfdxVtzVudgyeIeT0PLeRnNbgSvogcP6jglmhpY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Jt05OAgbk7BeOhWtdGz99q4tWRE4Js4Fjy"
        },
        {
            "content": [
                {
                    "type": "output_text",
                    "text": "**Stars form when dense regions of cold interstellar gas and dust collapse under their own gravity, heat up, and eventually ignite nuclear fusion in their cores.**\n\n### The basic process\n1. **Giant molecular clouds**  \n   Star formation begins in cold, dense clouds of mostly hydrogen and helium (plus dust and trace heavier elements). These clouds are typically a few to tens of light-years across and can contain enough mass to form many stars. They are cold enough (around 10–20 K) that molecules can exist, which is why they’re called molecular clouds.\n\n2. **Collapse is triggered**  \n   A region of the cloud becomes unstable when gravity overcomes internal pressure (thermal pressure, turbulence, magnetic fields, etc.). Triggers can include shock waves from nearby supernovae, cloud collisions, or simply density fluctuations. Once a clump exceeds a critical density and mass (related to the Jeans criterion), it starts collapsing.\n\n3. **Fragmentation and protostar formation**  \n   The collapsing cloud usually fragments into smaller cores. Each core collapses further. Material falls inward, and conservation of angular momentum causes it to flatten into a rotating disk around a central dense object—the **protostar**. The protostar is heated by the release of gravitational energy as material accretes onto it, but it is not yet fusing hydrogen in a sustained way.\n\n4. **Accretion, disks, and outflows**  \n   The protostar continues to grow by accreting gas from its surrounding disk. Powerful bipolar jets and winds are launched along the rotation axis; these help carry away angular momentum and eventually clear away much of the remaining envelope. This stage can last from tens of thousands to a few million years, depending on the star’s mass. Planets can begin forming in the disk during this time.\n\n5. **Ignition of fusion**  \n   As the core contracts and heats, it eventually reaches temperatures of roughly 10 million K (or higher). At that point, hydrogen fusion begins (primarily the proton–proton chain in lower-mass stars, or the CNO cycle in higher-mass ones). The energy released creates outward pressure that balances gravity, and the star settles onto the **main sequence**. This is the stable, hydrogen-burning phase that lasts most of a star’s life.\n\n### A few important details\n- **Mass matters a lot.** Very low-mass objects may never get hot enough for sustained hydrogen fusion and become brown dwarfs. Higher-mass stars form faster, burn hotter and brighter, and have shorter lives. Most stars form in clusters or associations rather than in isolation.\n- **It’s messy.** Real star formation involves turbulence, magnetic fields, feedback from the first stars that form (their radiation and winds can trigger or suppress further formation), and competitive accretion. Simple “top-down” collapse pictures are useful but incomplete.\n- **Observable stages.** Astronomers see this process in places like the Orion Nebula, the Pillars of Creation, and dark clouds such as Barnard 68. Infrared and radio observations are especially useful because they can peer through the dust that hides the earliest stages.\n\nAfter a star reaches the main sequence, its later life (and eventual fate) depends mainly on its mass—ranging from gentle white-dwarf endings for Sun-like stars to supernovae for the most massive ones.\n\nIf you’d like more detail on any stage (e.g., the physics of the Jeans instability, accretion disks, or how we observe protostars), just say which part.",
                    "logprobs": [],
                    "annotations": []
                }
            ],
            "id": "msg_c9e4d912-b46f-9c25-9aef-24f06dc1b7f7",
            "role": "assistant",
            "type": "message",
            "status": "completed"
        }
    ],
    "parallel_tool_calls": true,
    "previous_response_id": null,
    "reasoning": {
        "effort": "high",
        "summary": "detailed"
    },
    "temperature": 0.7,
    "text": {
        "format": {
            "type": "text"
        }
    },
    "tool_choice": "auto",
    "tools": [],
    "top_p": 0.95,
    "usage": {
        "input_tokens": 1653,
        "input_tokens_details": {
            "cached_tokens": 1152
        },
        "output_tokens": 1291,
        "output_tokens_details": {
            "reasoning_tokens": 577
        },
        "total_tokens": 2944,
        "num_sources_used": 0,
        "num_server_side_tools_used": 0,
        "cost_in_usd_ticks": 93240000,
        "context_details": {
            "input_tokens": 1653,
            "output_tokens": 1300
        }
    },
    "user": null,
    "incomplete_details": null,
    "status": "completed",
    "store": true,
    "metadata": {
        "system_fingerprint": "fp_c60958d81f66f847"
    },
    "background": false,
    "service_tier": "default",
    "truncation": "disabled",
    "top_logprobs": 0,
    "presence_penalty": 0.0,
    "frequency_penalty": 0.0,
    "prompt_cache_key": null,
    "max_tool_calls": null,
    "safety_identifier": null,
    "error": null,
    "instructions": null
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://api.147ai.cn/v1/responses' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer sk-xxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
    "created_at": 1790135787,
    "completed_at": 1790135810,
    "id": "c9e4d912-b46f-9c25-9aef-24f06dc1b7f7",
    "max_output_tokens": null,
    "model": "grok-4.7",
    "object": "response",
    "output": [
        {
            "id": "rs_c9e4d912-b46f-9c25-9aef-24f06dc1b7f7",
            "summary": [
                {
                    "text": "The user is asking \"How do stars form?\" This is a straightforward science question about astronomy/astrophysics. No safety issues here—it'\''s educational, factual, and not related to any disallowed topi...Stars form when dense regions inside vast clouds of gas and dust—mostly hydrogen and helium—collapse under their own gravity. These clouds, called giant molecular clouds, drift through space and occasionally get disturbed by nearby stars exploding as supernovas or by the clouds bumping into each other.",
                    "type": "summary_text"
                }
            ],
            "type": "reasoning",
            "status": "completed",
            "encrypted_content": "bEwlavgeyY93GSRqgZXMHbFvi1w1kQc3Pt1qjflASLDNPpss6N5k42ebILVkFb5m319A4bAiwb2oT7eX2OCDBTpFr9w/L5bmEwCxI8GOtsnwxpaSz3Ri4Whc604strsdaRfa/S79FgYib4etz66EOofwvGzH62EDRAtg53VmpBvvPJWonOdpoWcCUhdX2poU5U3VqsgTzQkRapfJOBiPrTpug5HshcTTfIIlNk6vAKo+Vh+5YkrXQ0l7Rkmix9FlGvmbKkVmsJUpNKavt+JHVEvF7F9TZf4cBfdxVtzVudgyeIeT0PLeRnNbgSvogcP6jglmhpY+CV2CFMH49rbLNEx/sFHrLErEBTUhiJYWbsen/GvcyYvElsJhC2nch0njHsBy7W/wIf0AAs0Q8Mbq6WcIcSi0Ki66z5A7Fl84kKSeH3B7BS8Ml0IW+yS6WSwaqVAkw35ylsfzxnsqpsfNQpFTjHMgOffn+Gy/RQiTT5wpFf1uOlWynva2qvdl4EKw1+mTJsookFY8PYW9b+H/m+HzovyiZ/7plyq8kJMJakdoPMYSJKUUV/WBq1/wDpefM6JzUy5mLKCNCgaHfyZw2oEohg5FSTE1mzPPX7USUCfMj0lxTN8Gb+4l46FEkGI5ebIgKqCaVSHU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7OB+UdrlVzzTtL7osvWNGtOBuVk5JvSJdHVzasQYnAn3HtIX4v6eIBip3jgqZLNrCwbTT1QRE1PfLkqOwkWiXiygR85UUKKfH1CTJxB2P1RncdsvA0DOqbsv3K64fs0xRMHrYXh9AT2uDjX4XOysDC77z6EaBvNnC0QpcW4NiKDyRPD6ln9rXrQaMMclsnE5KxuVEJkC7/k+x/MJlV4u2wklrlagbEiFUGYfe/XC/L9C35bYrmo9T7qVzNLSo+W9PEIv0g0h3/JX+KW2riw6yG3/uT3BBUst+u4LnppDkU+kje4F4AoOrQfN6pwrT8TLIi2yg9mU1bTwffIQxVmnQdHz2eC2VS8kOyZCfzjQEW9nOtXYIedEpcMAxeN0rtH5ohVUjiJecOun7AWBQ0201X0O7BdEaC+QXTZQqlO6Kat7md2z9kAaLx0Y4bKxk80TvZFyTv+zC4iDZ/eXbfArHbeMwT3/j9pI4g2HyzufHvzW3v0jt/wdxj3Gg5cKvj2Ql6wkDtp3I/8n6CpGj4peQN3vLrkxOf62a5G9KWq+LJ/nl2Bx1SCXhD/E3qY+eC2gWQbrQ9V5NDWocJ9huDjYWqjragJqxVgIx7xB+VUy1eM32lsNCr56Y7U8RS1txGwYRgv+KlleYkPdhNF+hkSDodThdQ8qx2JbkXxIBopunk2E2UOAWIHvv4faZ+JP6pIgZKWEDpLcCgo/ax5FUw6Kp+hkMBhZ1V/ccFvTJt05OAgbk7BeOhWtdGz99q4tWRE4Js4Fjy"
        },
        {
            "content": [
                {
                    "type": "output_text",
                    "text": "**Stars form when dense regions of cold interstellar gas and dust collapse under their own gravity, heat up, and eventually ignite nuclear fusion in their cores.**\n\n### The basic process\n1. **Giant molecular clouds**  \n   Star formation begins in cold, dense clouds of mostly hydrogen and helium (plus dust and trace heavier elements). These clouds are typically a few to tens of light-years across and can contain enough mass to form many stars. They are cold enough (around 10–20 K) that molecules can exist, which is why they’re called molecular clouds.\n\n2. **Collapse is triggered**  \n   A region of the cloud becomes unstable when gravity overcomes internal pressure (thermal pressure, turbulence, magnetic fields, etc.). Triggers can include shock waves from nearby supernovae, cloud collisions, or simply density fluctuations. Once a clump exceeds a critical density and mass (related to the Jeans criterion), it starts collapsing.\n\n3. **Fragmentation and protostar formation**  \n   The collapsing cloud usually fragments into smaller cores. Each core collapses further. Material falls inward, and conservation of angular momentum causes it to flatten into a rotating disk around a central dense object—the **protostar**. The protostar is heated by the release of gravitational energy as material accretes onto it, but it is not yet fusing hydrogen in a sustained way.\n\n4. **Accretion, disks, and outflows**  \n   The protostar continues to grow by accreting gas from its surrounding disk. Powerful bipolar jets and winds are launched along the rotation axis; these help carry away angular momentum and eventually clear away much of the remaining envelope. This stage can last from tens of thousands to a few million years, depending on the star’s mass. Planets can begin forming in the disk during this time.\n\n5. **Ignition of fusion**  \n   As the core contracts and heats, it eventually reaches temperatures of roughly 10 million K (or higher). At that point, hydrogen fusion begins (primarily the proton–proton chain in lower-mass stars, or the CNO cycle in higher-mass ones). The energy released creates outward pressure that balances gravity, and the star settles onto the **main sequence**. This is the stable, hydrogen-burning phase that lasts most of a star’s life.\n\n### A few important details\n- **Mass matters a lot.** Very low-mass objects may never get hot enough for sustained hydrogen fusion and become brown dwarfs. Higher-mass stars form faster, burn hotter and brighter, and have shorter lives. Most stars form in clusters or associations rather than in isolation.\n- **It’s messy.** Real star formation involves turbulence, magnetic fields, feedback from the first stars that form (their radiation and winds can trigger or suppress further formation), and competitive accretion. Simple “top-down” collapse pictures are useful but incomplete.\n- **Observable stages.** Astronomers see this process in places like the Orion Nebula, the Pillars of Creation, and dark clouds such as Barnard 68. Infrared and radio observations are especially useful because they can peer through the dust that hides the earliest stages.\n\nAfter a star reaches the main sequence, its later life (and eventual fate) depends mainly on its mass—ranging from gentle white-dwarf endings for Sun-like stars to supernovae for the most massive ones.\n\nIf you’d like more detail on any stage (e.g., the physics of the Jeans instability, accretion disks, or how we observe protostars), just say which part.",
                    "logprobs": [],
                    "annotations": []
                }
            ],
            "id": "msg_c9e4d912-b46f-9c25-9aef-24f06dc1b7f7",
            "role": "assistant",
            "type": "message",
            "status": "completed"
        }
    ],
    "parallel_tool_calls": true,
    "previous_response_id": null,
    "reasoning": {
        "effort": "high",
        "summary": "detailed"
    },
    "temperature": 0.7,
    "text": {
        "format": {
            "type": "text"
        }
    },
    "tool_choice": "auto",
    "tools": [],
    "top_p": 0.95,
    "usage": {
        "input_tokens": 1653,
        "input_tokens_details": {
            "cached_tokens": 1152
        },
        "output_tokens": 1291,
        "output_tokens_details": {
            "reasoning_tokens": 577
        },
        "total_tokens": 2944,
        "num_sources_used": 0,
        "num_server_side_tools_used": 0,
        "cost_in_usd_ticks": 93240000,
        "context_details": {
            "input_tokens": 1653,
            "output_tokens": 1300
        }
    },
    "user": null,
    "incomplete_details": null,
    "status": "completed",
    "store": true,
    "metadata": {
        "system_fingerprint": "fp_c60958d81f66f847"
    },
    "background": false,
    "service_tier": "default",
    "truncation": "disabled",
    "top_logprobs": 0,
    "presence_penalty": 0.0,
    "frequency_penalty": 0.0,
    "prompt_cache_key": null,
    "max_tool_calls": null,
    "safety_identifier": null,
    "error": null,
    "instructions": null
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{}
修改于 2026-09-23 03:57:51
上一页
文本生成 / 返回加密思维内容
下一页
流媒体
Built with