调用 ID
在请求体的「model」字段里填这个值 —— 不是上面的展示名。
by tencent · 视频超分增强(实拍场景)(异步任务)。上传/选一段已有视频,超分到 720p/1080p/2K/4K,去噪+细节增强。
POST /v1/videos/generationshttps://api.dflop.top/v1curl https://api.dflop.top/v1/videos/generations \
-H "Authorization: Bearer sk-gpushare-xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "tvod-superres-realhuman",
"source_video_url": "https://example.com/source.mp4",
"resolution": "1080p"
}'
# 返回 {"id": "...", "status": "queued"}
# resolution 词表:720p / 1080p / 2k / 4k(决定单价)
# 不吃 duration / prompt,成片时长就是源视频时长curl https://api.dflop.top/v1/videos/generations/$TASK_ID \
-H "Authorization: Bearer sk-gpushare-xxxxxxxx"
# status: queued -> running -> succeeded / failed / expired / cancelled
# 建议 5-10 秒轮询一次。轮询免费。这是异步任务:提交拿到任务 id,再轮询到终态。轮询本身免费。
按成片秒数计费:分辨率分档的 SKU 按交付分辨率取对应档单价。
登录后,若你的账号有专属折扣会显示在这里。 去登录
404 model_not_found你填的是展示名,不是调用 ID。✗ 视频超分 · 实拍→✓ tvod-superres-realhuman
→ 复制本页顶部的「调用 ID」
402 quota_exceeded账户余额不足。余额由你名下全部 API Key 共享。
→ 去账户页充值
401 / 403API Key 无效,或该 Key 设了模型白名单且不含这个 ID。
→ 检查 Key 的状态与允许模型
400 invalid_requestLite(-lite)SKU 的 resolution 是必填,词表仅 720p / 1080p;传其它档同样 400。
→ 对照上方示例代码检查请求体
价格单位是积分(60 积分 = ¥1)。 本页的 Markdown 版本:/models/tvod-superres-realhuman.md