跳转到内容

Sensenova U1 Infographic

集成

模型 id sensenova-u1-infographic
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/sensenova-u1-infographic?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

此请求: $0.05 50 API 积分 在此页面运行

获取 API 密钥
SenseTime 文生图

针对信息图优化的文本生成图像模型,支持九种宽高比,并可在生成前进行可选推理

SenseTime · 图像

你的第一个结果将在此显示

在下方构建请求,并使用你的 API 密钥运行。输出会复制到我们的存储中,可永久保存或免费保存 7 天。

构建请求

控件根据模型架构生成。更改控件时,代码和价格会同步更新。

•必填

要生成的信息图描述;为获得最佳结果,请包含具体的字体、要可视化的数据、章节组织、布局和配色方案。

aspect_ratio 默认 16:9

图像比例,默认为 16:9,以兼容大多数用于海报或演示文稿的信息图设计。仅支持与训练期间使用的分辨率档位对应的比例。

高级 output_format · num_inference_steps · guidance_scale · timestep_shift · seed · enable_safety_checker
output_format 默认 jpeg

结果图像的文件格式。

默认 50

流匹配去噪的步数。

默认 4

无分类器引导的缩放值;增加该值会使输出更贴合提示词。

默认 3

增加该时间步偏移因子会强化流匹配采样中对较早时间步的偏好。

用于生成可复现图像的种子:模型版本不变时,相同的提示词和种子会生成相同图像。

POST /run/sensenova-u1-infographic?wait=20 报价 → $0.05
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/sensenova-u1-infographic?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

运行此请求

你的密钥会保留在此浏览器中:仅发送到 Doitong API;只有勾选“记住”后才会保存到 localStorage。 获取 API 密钥

关于 Sensenova U1 Infographic

根据描述布局、版块、配色、排版和数据的详细提示词生成信息图风格图像。宽高比为九种预设之一,默认为 16:9。采样控制项包括 `num_inference_steps`(10 到 100)、`guidance_scale`(1 到 10)和 `timestep_shift`。`use_thinking` 会先执行推理,并返回其轨迹。

参数

名称类型 默认值允许值 描述
prompt必填
类型string
要生成的信息图描述;为获得最佳结果,请包含具体的字体、要可视化的数据、章节组织、布局和配色方案。
aspect_ratio可选
类型enum
默认值16:9
1:116:99:163:22:34:33:41:22:1
图像比例,默认为 16:9,以兼容大多数用于海报或演示文稿的信息图设计。仅支持与训练期间使用的分辨率档位对应的比例。
num_inference_steps可选
类型integer
默认值50
10 – 100
流匹配去噪的步数。
guidance_scale可选
类型number
默认值4
1 – 10
无分类器引导的缩放值;增加该值会使输出更贴合提示词。
timestep_shift可选
类型number
默认值3
1 – 8
增加该时间步偏移因子会强化流匹配采样中对较早时间步的偏好。
use_thinking可选
类型boolean
默认值false
控制生成图像前是否运行思维链;True 时启用。
seed可选
类型integer | null
用于生成可复现图像的种子:模型版本不变时,相同的提示词和种子会生成相同图像。
enable_safety_checker可选
类型boolean
默认值true
安全检查器激活状态;true 启用检查。
output_format可选
类型enum
默认值jpeg
jpegpng
结果图像的文件格式。
必填

输出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "sensenova-u1-infographic",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 50,
    "usd": "0.05",
    "charged": 50,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "width": 1024,
        "height": 768,
        "content_type": "image/jpeg"
      }
    ],
    "seed": 42,
    "has_nsfw_concepts": [
      false
    ],
    "prompt": "string",
    "thinking": "string",
    "timings": {}
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
你的文件,由你选择每个 outputs[].url 都是存储中的副本:可永久保存(按 GB-月付费),也可免费保存 7 天,由账户设置或 ?storage= 决定。
每个模型的结构相同图像、视频和音频均包含 type、url、content_type、width、height 和 duration。output 是模型自身的结果对象。
输出字段
images
array of object {url, width, height, content_type}生成得到的图像。
seed
integer生成过程中使用的种子值。
has_nsfw_concepts
array of boolean指示生成的图像中是否出现 NSFW 概念。
prompt
string用于引导生成的提示词。
thinking
string | null思维链生成的推理轨迹,在 `use_thinking` 设置为 True 时可用;禁用时返回 `null`。
timings
object每个阶段耗时,以秒为单位。

对于 AI 代理:此页面的 Markdown 版本位于 https://doitong.com/zh/developers/models/sensenova-u1-infographic.md. 所有模型和指南: https://doitong.com/developers/llms.txt