Skip to content

SeedVR2

POST/v1/run

Seedvr Upscale Image is Bytedance's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.

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/image/seamless.

Default: bytedance/seedvr/upscale/image/seamless

stringimagerequired

The input image to be processed

Optional<string>output_format

The format of the output image.

Allowed values: png, jpeg

Default: png

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<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

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<integer>seed

The random seed used for the generation process.

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: image-to-image

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async