seedinteger
The random seed used for the generation process.
openimaginglab/flashvsr-plusFlashvsr Plus is openimaginglab's video-to-video AI model. Transform, enhance, and edit video content using text prompts - from style changes to object manipulation and scene modification.
Modeli deneyin
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Geliştirmeye başlayın
Bu modeli SandBase Unified Run API üzerinden gönderin.
# 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": "turbo",
"video": "https://storage.googleapis.com/falserverless/example_inputs/birefnet-video-input.mp4",
"color_fix": false,
"video_quality": "high",
"preserve_audio": true,
"upscale_factor": 2,
"video_write_mode": "balanced",
"video_output_type": "X264 (.mp4)",
"temporal_compression": 4
}
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"Bir SandBase API anahtarı oluşturun ve sunucu ortamınıza ayarlayın. Tüm istekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın veya bir depoya commit etmeyin.
Bu model kimliği ve girdileriyle /v1/run adresine POST gönderin. Yukarıdaki istek örneği gönderme ve yoklamayı içerir.
Durum completed, failed veya timeout olana kadar verilen run ID ile yoklama yapın. Çıktıyı yalnızca completed olduktan sonra okuyun.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Modelin image, video veya audio alanına herkese açık erişilebilir bir dosya URL'si verin. Desteklenen formatlar ve sınırlar her Playground girişinin yanında gösterilir.
Playground'daki desteklenen image alanlarında yükleme veya değiştirme kontrolünü kullanın. Video URL alanları barındırılan bir sürüş videosu kabul eder; video yükleme desteği anlamına gelmez.
seedintegerThe random seed used for the generation process.
modelstringturbo: fastest (hybrid sliding attention). base: highest quality. v1: FlashVSR v1.1 weights with the base configuration.
Varsayılan: "turbo"
Olası değerler: "turbo", "base", "v1"
videostringThe input video to upscale.
color_fixbooleanApply low-frequency wavelet color correction.
Varsayılan: false
video_qualitystringOutput encoding quality.
Varsayılan: "high"
Olası değerler: "low", "medium", "high", "maximum"
preserve_audiobooleanCopy the input audio track into the output.
Varsayılan: true
upscale_factornumberSpatial upscaling factor. Output is capped at about 4K.
Varsayılan: 2
Minimum: 1
Maksimum: 4
video_write_modestringOutput write mode.
Varsayılan: "balanced"
Olası değerler: "fast", "balanced", "small"
video_output_typestringOutput container/codec.
Varsayılan: "X264 (.mp4)"
Olası değerler: "X264 (.mp4)", "VP9 (.webm)", "PRORES4444 (.mov)", "GIF (.gif)"
temporal_compressionintegerInput frames per latent frame. Use 2 or 1 for large motion; inference cost rises about 2x or 4x.
Varsayılan: 4
Olası değerler: 1, 2, 4
{
"model": "turbo",
"video": "https://storage.googleapis.com/falserverless/example_inputs/birefnet-video-input.mp4",
"color_fix": false,
"video_quality": "high",
"preserve_audio": true,
"upscale_factor": 2,
"video_write_mode": "balanced",
"video_output_type": "X264 (.mp4)",
"temporal_compression": 4
}Tamamlanan bir run, sonucunu output içinde gösterir. Aşağıdaki, modelin kaydedilmiş örneğidir; yeni bir üretim değildir.
Henüz örnek çıktı yayınlanmadı. Yanıtınızı incelemek için Playground → Result → JSON'u, tamamlanan bir run sonrasında kullanın.