跳转到内容

Topaz Video Upscale

集成

模型 id topaz/upscale/video/precision
# 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/topaz/upscale/video/precision?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "upscale_factor": 2
  }'

# 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.60 600 API 积分 运行前会测量你的文件 在此页面运行

获取 API 密钥
Topaz Labs 超分辨率 #upscale#restoration#video

Topaz Labs 的视频放大和修复器,最高 4x,并支持可选帧率转换。

Topaz Labs · 视频

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

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

构建请求

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

•必填 video_url
拖放文件,或

用于放大的源视频 URL。

默认 Proteus

非生成式精确增强模型:Theia 提供保真度和细节的手动控制,Rhea 通过内部 4x 处理最大化精细细节。对于恢复任务,使用 Artemis 锐化并降噪劣化素材,使用 Dione 去除旧素材或交错素材的隔行,或使用 Iris 恢复人脸。对于大多数现实世界素材,Proteus 适用,Proteus Natural 提供更柔和的替代方案;Gaia 改善高质量素材和 CG,而 Gaia 2 为动画提供 2x 放大。

视频缩放倍数;值为 2.0 时,帧的两个维度都会翻倍。

目标输出帧率;与源 FPS 匹配时会禁用插值,只有不同的 FPS 才会启用插值。

高级 compression · noise · halo · grain · recover_detail · H264_output

压缩伪影去除强度,范围为 0.0 到 1.0。默认值由模型决定。

降噪强度,范围为 0.0 到 1.0。默认值由模型决定。

光晕减少强度,范围为 0.0 到 1.0。默认值由模型决定。

胶片颗粒量,范围为 0.0 到 0.1。默认值取决于模型。

原始细节恢复强度,范围为 0.0 到 1.0。提高此值会保留更多源细节。

POST /run/topaz/upscale/video/precision?wait=20 报价 → $0.60
# 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/topaz/upscale/video/precision?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "upscale_factor": 2
  }'

# 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 密钥

关于 Topaz Video Upscale

使用 Topaz 的 Proteus、Iris、Dione、Artemis、Gaia、Rhea 和 Theia 模型放大并修复视频,适用范围从 老旧 DV 和电视素材到动画。可控制细节恢复、噪点、光晕、压缩和颗粒,并可选设置 16 到 60 fps 的目标帧率。

参数

发送规范名称或原生名称之一,不要同时发送两者。 规范名称

名称类型 默认值允许值 描述
video_url必填 video
类型url · video
用于放大的源视频 URL。
model可选
类型enum
默认值Proteus
ProteusProteus NaturalIrisIris Low QualityDione DVDione TVDione RobustDione DehaloDione Robust DehaloArtemis High QualityArtemis Medium QualityArtemis Low QualityArtemis Strong HaloArtemis Medium HaloArtemis Aliasing & MoireGaia HQ
另外 5 个Gaia CGGaia 2RheaTheia Fine Tune DetailTheia Fine Tune Fidelity
非生成式精确增强模型:Theia 提供保真度和细节的手动控制,Rhea 通过内部 4x 处理最大化精细细节。对于恢复任务,使用 Artemis 锐化并降噪劣化素材,使用 Dione 去除旧素材或交错素材的隔行,或使用 Iris 恢复人脸。对于大多数现实世界素材,Proteus 适用,Proteus Natural 提供更柔和的替代方案;Gaia 改善高质量素材和 CG,而 Gaia 2 为动画提供 2x 放大。
upscale_factor可选
类型number
默认值2
1 – 4
视频缩放倍数;值为 2.0 时,帧的两个维度都会翻倍。
target_fps可选
类型integer | null
16 – 60
目标输出帧率;与源 FPS 匹配时会禁用插值,只有不同的 FPS 才会启用插值。
compression可选
类型number | null
0 – 1
压缩伪影去除强度,范围为 0.0 到 1.0。默认值由模型决定。
noise可选
类型number | null
0 – 1
降噪强度,范围为 0.0 到 1.0。默认值由模型决定。
halo可选
类型number | null
0 – 1
光晕减少强度,范围为 0.0 到 1.0。默认值由模型决定。
grain可选
类型number | null
0 – 0.1
胶片颗粒量,范围为 0.0 到 0.1。默认值取决于模型。
recover_detail可选
类型number | null
0 – 1
原始细节恢复强度,范围为 0.0 到 1.0。提高此值会保留更多源细节。
H264_output可选
类型boolean
默认值false
控制输出视频是否使用 H264 编码,而不是默认的 H265。
必填 规范名称,也可接受

文件参数接受公开的 https:// URL、最大 10 MB 的 data: URI,或上传文件的 file_url。 文件

输出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "topaz/upscale/video/precision",
  "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": 600,
    "usd": "0.60",
    "charged": 600,
    "refunded": 0
  },
  "input": {
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "upscale_factor": 2
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "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 是模型自身的结果对象。
输出字段
video
object {url, content_type, file_name, file_size}放大生成的视频文件。

更多模型:超分辨率

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