halonumber
Halo reduction level (0.0-1.0). Default varies by model.
Mínimo: 0
Máximo: 1
topaz/upscale/videoUpscale Video is Topaz Labs's video-to-video AI model. Transform, enhance, and edit video content using text prompts - from style changes to object manipulation and scene modification.
Testar o modelo
O que você gostaria de fazer em seguida?
Selecione um exemplo para carregar as entradas e o resultado no playground.
{
"video": "https://static.sandbase.ai/examples/1e4dfe61-979e-46cb-b89b-febca05cad88/input/b80bd4f4-a0df-434c-98c9-e7f418ff0cb3.mp4"
}Topaz upscales and enhances video, with optional frame interpolation to 60fps.
| Field | Type | Default | Notes |
|---|---|---|---|
video | video URL, required | — | Video to upscale. |
noise | number 0–1 | — | Noise reduction level (0.0-1.0). |
upscale_factor | number 1–4 | 2 | 1–4×. |
halo | number 0–1 | — | Halo reduction level (0.0-1.0). |
compression | number 0–1 | — | Compression artifact removal level (0.0-1.0). |
grain | number 0–0.1 | — | Film grain amount (0.0-0.1). |
recover_detail | number 0–1 | — | Recover original detail level (0.0-1.0). |
target_fps | integer 16–60 | — | Interpolate to this frame rate (16–60). |
H264_output | boolean | false | Whether to use H264 codec for output video. |
Per output second (minimum 5): $0.01 up to 720p, $0.02 up to 1080p, $0.08 above; 60fps doubles the rate.
| Output | 720p | 1080p | 4K |
|---|---|---|---|
| 10s | $0.10 | $0.20 | $0.80 |
Failed runs are not charged.
Related: bytedance/upscaler/video.
Comece a construir
Envie este modelo pela SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "Proteus",
"video": "https://static.sandbase.ai/examples/topaz/upscale/video/input_video_0.mp4",
"H264_output": false,
"upscale_factor": 2
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Crie uma chave da API SandBase e defina-a no ambiente do seu servidor. Todas as requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha a chave no servidor. Não a exponha em código do navegador nem a comite em um repositório.
Faça POST para /v1/run com este ID de modelo e suas entradas. O exemplo de requisição acima inclui envio e polling.
Use o ID de execução retornado para fazer polling até que o status seja completed, failed ou timeout. Leia a saída somente após completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passe uma URL de arquivo acessível publicamente no campo de imagem, vídeo ou áudio do modelo. Os formatos e limites suportados são mostrados ao lado de cada entrada do Playground.
Use o controle de upload ou substituição nos campos de imagem suportados no Playground. Campos de URL de vídeo aceitam um vídeo de condução hospedado; isso não implica suporte a upload de vídeo.
halonumberHalo reduction level (0.0-1.0). Default varies by model.
Mínimo: 0
Máximo: 1
grainnumberFilm grain amount (0.0-0.1). Default varies by model.
Mínimo: 0
Máximo: 0.1
modelstringVideo enhancement model, grouped by family. Precision: Proteus fits most footage, Artemis denoises and sharpens degraded sources, Gaia HQ/CG refine rendered content, Gaia 2 handles animation and motion graphics at 2x. Denoise: Nyx models are dedicated noise reduction. Generative: Starlight models use diffusion for restoration and upscaling. Starlight Precise 1, Starlight Precise 2 and Starlight Fast 1 are deprecated by Topaz; prefer Starlight Precise 2.5 or Starlight Fast 2.
Padrão: "Proteus"
Valores possíveis: "Proteus", "Artemis HQ", "Artemis MQ", "Artemis LQ", "Gaia HQ", "Gaia CG", "Gaia 2", "Nyx", "Nyx Fast", "Nyx XL", "Nyx HF", "Starlight Precise 2.5", "Starlight HQ", "Starlight Mini", "Starlight Sharp", "Starlight Fast 2", "Starlight Precise 1", "Starlight Precise 2", "Starlight Fast 1"
noisenumberNoise reduction level (0.0-1.0). Default varies by model.
Mínimo: 0
Máximo: 1
videostringobrigatórioURL of the video to upscale
target_fpsintegerTarget FPS for frame interpolation. If set, frame interpolation will be enabled.
Mínimo: 16
Máximo: 60
H264_outputbooleanWhether to use H264 codec for output video. Default is H265.
Padrão: false
compressionnumberCompression artifact removal level (0.0-1.0). Default varies by model.
Mínimo: 0
Máximo: 1
recover_detailnumberRecover original detail level (0.0-1.0). Higher values preserve more original detail.
Mínimo: 0
Máximo: 1
upscale_factornumberFactor to upscale the video by (e.g. 2.0 doubles width and height)
Padrão: 2
Mínimo: 1
Máximo: 4
{
"model": "Proteus",
"video": "https://static.sandbase.ai/examples/topaz/upscale/video/input_video_0.mp4",
"H264_output": false,
"upscale_factor": 2
}Uma execução concluída expõe seu resultado em output. O texto a seguir é o exemplo salvo do modelo, não uma nova geração.
[
{
"poster": "https://static.sandbase.ai/examples/posters/85fcd8ed50a5b526b41c.jpg",
"source": "topaz schema mirror",
"source_url": "https://topaz.example/",
"url": "https://static.sandbase.ai/examples/1e4dfe61-979e-46cb-b89b-febca05cad88/output/6d5e0a6a-f6ea-44ac-9878-e9d6f9401f9e.mp4"
}
]