Skip to content

SeedVR2

POST/v1/run

Seedvr Upscale Video by Bytedance - AI-powered video editing and transformation. Apply style transfer, motion control, lip-sync, and visual effects to existing videos with natural language instructions.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to bytedance/seedvr/upscale/video.

Default: bytedance/seedvr/upscale/video

Optional<string>video

The input video to be processed

Optional<string>output_format

The format of the output video.

Allowed values: X264 (.mp4), VP9 (.webm), PRORES4444 (.mov), GIF (.gif)

Default: X264 (.mp4)

Optional<integer>seed

The random seed used for the generation process.

Optional<string>output_quality

The quality of the output video.

Allowed values: low, medium, high, maximum

Default: high

Optional<number>noise_scale

The noise scale to use for the generation process.

Range: 0 to 1

Default: 0.1

Optional<string>target_resolution

The target resolution to upscale to when `upscale_mode` is `target`.

Allowed values: 720p, 1080p, 1440p, 2160p

Default: 1080p

Optional<number>upscale_factor

Upscaling factor to be used. Will multiply the dimensions with this factor when `upscale_mode` is `factor`.

Range: 1 to 10

Default: 2

Optional<string>output_write_mode

The write mode of the output video.

Allowed values: fast, balanced, small

Default: balanced

Optional<string>upscale_mode

The mode to use for the upscale. If 'target', the upscale factor will be calculated based on the target resolution. If 'factor', the upscale factor will be used directly.

Allowed values: target, factor

Default: factor

Response Schema

The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.

Optional<string>error

Error message if the task failed. Empty on success.

stringidrequired

Unique identifier for the generation task.

Optional<string>model

Model ID used for the prediction.

Optional<array>outputs

Array of generated content. Empty when status is not completed.

stringstatusrequired

Status of the task: pending, running, completed, failed, or timeout.

Allowed values: pending, running, completed, failed, timeout

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: video-to-video

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async