Endpoint: POST https://fal.run/fal-ai/seedvr/upscale/image
Endpoint ID: fal-ai/seedvr/upscale/image
Try it in the Playground Run this model interactively with your own prompts.
Quick Start import fal_client
def on_queue_update ( update ):
if isinstance (update, fal_client.InProgress):
for log in update.logs:
print (log[ "message" ])
result = fal_client.subscribe(
"fal-ai/seedvr/upscale/image" ,
arguments = {
"image_url" : "https://storage.googleapis.com/falserverless/example_inputs/seedvr2/image_in.png"
},
with_logs = True ,
on_queue_update = on_queue_update,
)
print (result)
The input image to be processed
upscale_mode
UpscaleModeEnum
default: "factor"
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. Default value: "factor" Possible values: target, factor
Upscaling factor to be used. Will multiply the dimensions with this factor when upscale_mode is factor. Default value: 2 Range: 1 to 10
target_resolution
TargetResolutionEnum
default: "1080p"
The target resolution to upscale to when upscale_mode is target. Default value: "1080p" Possible values: 720p, 1080p, 1440p, 2160p
The random seed used for the generation process.
The noise scale to use for the generation process. Default value: 0.1 Range: 0 to 1, step: 0.001
output_format
OutputFormatEnum
default: "jpg"
The format of the output image. Default value: "jpg" Possible values: png, jpg, webp
If True, the media will be returned as a data URI and the output data won’t be available in the request history.
Output Schema Upscaled image file after processing
The random seed used for the generation process.
{
"image_url" : "https://storage.googleapis.com/falserverless/example_inputs/seedvr2/image_in.png" ,
"upscale_mode" : "factor" ,
"upscale_factor" : 2 ,
"target_resolution" : "1080p" ,
"noise_scale" : 0.1 ,
"output_format" : "jpg" ,
"sync_mode" : false
}
Output Example {
"image" : {
"content_type" : "image/png" ,
"url" : "https://storage.googleapis.com/falserverless/example_outputs/seedvr2/image_out.png"
}
}
Endpoint: POST https://fal.run/fal-ai/seedvr/upscale/image/seamless
Endpoint ID: fal-ai/seedvr/upscale/image/seamless
Try it in the Playground Run this model interactively with your own prompts.
Quick Start import fal_client
def on_queue_update ( update ):
if isinstance (update, fal_client.InProgress):
for log in update.logs:
print (log[ "message" ])
result = fal_client.subscribe(
"fal-ai/seedvr/upscale/image/seamless" ,
arguments = {
"image_url" : "https://v3b.fal.media/files/b/0a93eb33/dQ_ZwLyeu8P2UJYsa8RDW_seamless_image_in.png"
},
with_logs = True ,
on_queue_update = on_queue_update,
)
print (result)
The input image to be processed
upscale_mode
UpscaleModeEnum
default: "factor"
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. Default value: "factor" Possible values: target, factor
Upscaling factor to be used. Will multiply the dimensions with this factor when upscale_mode is factor. Default value: 2 Range: 1 to 10
target_resolution
TargetResolutionEnum
default: "1080p"
The target resolution to upscale to when upscale_mode is target. Default value: "1080p" Possible values: 720p, 1080p, 1440p, 2160p
The random seed used for the generation process.
The noise scale to use for the generation process. Default value: 0.1 Range: 0 to 1, step: 0.001
If set to true, the safety checker will be enabled. Default value: true
output_format
OutputFormatEnum
default: "png"
The format of the output image. Default value: "png" Possible values: png, jpeg, webp
If True, the media will be returned as a data URI and the output data won’t be available in the request history.
Output Schema Upscaled image file after processing
The random seed used for the generation process.
{
"image_url" : "https://v3b.fal.media/files/b/0a93eb33/dQ_ZwLyeu8P2UJYsa8RDW_seamless_image_in.png" ,
"upscale_mode" : "factor" ,
"upscale_factor" : 2 ,
"target_resolution" : "1080p" ,
"noise_scale" : 0.1 ,
"enable_safety_checker" : true ,
"output_format" : "png" ,
"sync_mode" : false
}
Output Example {
"image" : {
"content_type" : "image/png" ,
"url" : "https://storage.googleapis.com/falserverless/example_outputs/seedvr2/image_out.png"
}
}