halonumber
Halo reduction level (0.0-1.0). Default varies by model.
Minimum: 0
Maksimum: 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.
Wypróbuj model
Co chcesz zrobić dalej?
Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
{
"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.
Zacznij tworzyć
Prześlij ten model przez 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"Utwórz klucz API SandBase i ustaw go w środowisku serwera. Wszystkie żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym ani nie commituj do repozytorium.
Wyślij POST do /v1/run z tym identyfikatorem modelu i jego danymi wejściowymi. Powyższy przykład żądania obejmuje wysyłanie i odpytywanie statusu.
Użyj zwróconego ID uruchomienia, aby odpytywać status do momentu completion, failed lub timeout. Odczytaj wynik dopiero po completion.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Przekaż publicznie dostępny URL pliku w polu image, video lub audio modelu. Obsługiwane formaty i limity są pokazane obok każdego pola wejściowego w Playground.
Użyj kontrolki upload lub replace w obsługiwanych polach image w Playground. Pola URL wideo akceptują hostowany film źródłowy; nie oznacza to obsługi przesyłania wideo.
halonumberHalo reduction level (0.0-1.0). Default varies by model.
Minimum: 0
Maksimum: 1
grainnumberFilm grain amount (0.0-0.1). Default varies by model.
Minimum: 0
Maksimum: 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.
Domyślnie: "Proteus"
Możliwe wartości: "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.
Minimum: 0
Maksimum: 1
videostringwymaganeURL of the video to upscale
target_fpsintegerTarget FPS for frame interpolation. If set, frame interpolation will be enabled.
Minimum: 16
Maksimum: 60
H264_outputbooleanWhether to use H264 codec for output video. Default is H265.
Domyślnie: false
compressionnumberCompression artifact removal level (0.0-1.0). Default varies by model.
Minimum: 0
Maksimum: 1
recover_detailnumberRecover original detail level (0.0-1.0). Higher values preserve more original detail.
Minimum: 0
Maksimum: 1
upscale_factornumberFactor to upscale the video by (e.g. 2.0 doubles width and height)
Domyślnie: 2
Minimum: 1
Maksimum: 4
{
"model": "Proteus",
"video": "https://static.sandbase.ai/examples/topaz/upscale/video/input_video_0.mp4",
"H264_output": false,
"upscale_factor": 2
}Zakończone uruchomienie udostępnia swój wynik w output. Poniżej znajduje się zapisany przykład modelu, a nie nowa generacja.
[
{
"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"
}
]