DetailX Video Upscaler
Enhance video resolution up to 4K and frame rate up to 60 FPS through DetailX. Use your own DetailX account, personal API Key and credits. Video processing runs in DetailX; Replicate provides this interface and charges separately for CPU runtime.
Original and enhanced videos
Keep the matching original in video when running generate or fetch. The form displays the original as input and the enhanced MP4 as output, so you can play both videos. Without the original, only the enhanced video is shown. Replicate’s native Before / After drag slider is not currently active for this model.
For generate/fetch, the video field is a comparison reference: it is not uploaded to DetailX again and does not create an additional enhancement job. Select the same original that belongs to the task. A public example exposes both the source and enhanced videos.
Start in the Playground
- Sign in to Replicate and enable billing if prompted. Sign in to DetailX, open Developer API, and create your personal API Key with read, upload and generate permissions. Keep enough DetailX credits for your video.
- Enter the personal
dxk_Key in detailx_api_key. This Secret is redacted in prediction details. - Choose action = estimate, upload the original video, choose resolution and fps, and enter a unique request_id (8–64 letters, digits, underscores or hyphens). Leave upload_id and generation_id empty. Click Run. This uploads the source and returns a quote without starting enhancement.
- Download detailx-quote.json, or open Show logs, and save upload_id, estimated_credits and pricing_revision_id. To accept the quote, choose action = generate, enter that upload_id, copy estimated_credits into expected_credits, and copy pricing_revision_id. Keep the same enhancement settings and request_id. Keep the matching video to display the original alongside the result. Leave generation_id empty, then click Run. DetailX precharges the quote and processes the video.
- Play the original and enhanced videos and download the output. Save the generation_id from the run logs so you can recover the result later.
For a new job, choose a new request_id. For a retry of the same request, retain the original request_id and identical enhancement inputs to avoid duplicate jobs. Example task IDs belong to the author: replace them with your own IDs when using your personal Key.
Recover an existing result
Choose action = fetch, enter your personal Key and the generation_id of your own DetailX task, and clear upload_id. For comparison, attach the matching original video, then click Run. Fetch retrieves the existing result and does not create a new DetailX generation or charge more enhancement credits. Replicate runtime is still billed.
You can omit video when only downloading the enhanced result. Closing or canceling a Replicate prediction does not cancel an accepted DetailX job. If a prediction times out, recover it with fetch.
API output and charges
- The latest version uses file output: estimate returns a JSON quote file; generate/fetch return the enhanced MP4 directly. The generation ID and final DetailX credits are in the logs. With the Python SDK, read the estimate file as JSON and save the generate/fetch file as video.
- API clients that require the earlier JSON object return structure can pin the earlier version.
- Resolution: 720p / 1080p / 2K / 4K; FPS: 24 / 30 / 60, or -1 to preserve the source FPS (30 FPS price tier). Defaults are 4K and 60 FPS.
- Optional lighting, color, optical-flow, trajectory and detail settings can stay at their defaults. Changing an enhancement setting requires a new quote.
- Two separate charges apply: DetailX processing credits and Replicate runtime. Estimate/fetch also use Replicate runtime. Final DetailX credits settle using the provider-reported duration and can differ from the quote.
- Download promptly. Input/output copies on Replicate follow its retention rules; DetailX media expires independently.
中文快速使用
先在 DetailX 的“开发者接入 → API”创建个人 API Key(read / upload / generate),填入 detailx_api_key。
- 报价: action 选 estimate,上传原片,选择分辨率和帧率,填写唯一 request_id,保持 upload_id、generation_id 为空,点击 Run。
- 生成与查看: 从下载的报价 JSON 或 Show logs 中复制 upload_id、estimated_credits 和 pricing_revision_id。action 改为 generate,填入 upload_id、expected_credits(等于 estimated_credits)和 pricing_revision_id,沿用全部增强参数和 request_id。保留同一原片 video,保持 generation_id 为空,再点 Run。完成后可分别播放原片和成片;当前条目尚未显示 Before / After 拖动控件。
- 取回已有成片: action 选 fetch,填自己的 generation_id、个人 Key,并附带匹配原片。只取回成片,不再次生成,不重复扣 DetailX 生成积分;仍有 Replicate CPU 运行费。
最新版报价返回 JSON 文件,生成或取回返回 MP4;依赖旧 JSON 对象结构的 API 客户端请固定旧版本。示例任务 ID 属于作者,普通用户需换成自己的任务 ID。公开示例会同时展示原片和成片;个人 Key 保持 Secret,不使用项目内部供应商密钥。
Model details
This CPU adapter calls the existing DetailX API for Ark-Video-SuperResolution-With-FrameInterpolate. Model weights and inference remain in the DetailX service. Use is subject to DetailX terms and Replicate terms.