You're looking at a specific version of this model. Jump to the model overview.
philz1337x /multidiffusion-upscaler:88f19697
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run philz1337x/multidiffusion-upscaler using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"philz1337x/multidiffusion-upscaler:88f19697c15c8befccd557649fe6b01fcfa55ade961c2d1c3c23d9c986fdaff7",
{
input: {
seed: 1337,
width: 512,
height: 512,
prompt: "masterpiece, best quality, highres, <lora:more_details:0.5> <lora:SDXLrender_v2.0:1>",
sd_vae: "vae-ft-mse-840000-ema-pruned.safetensors",
cn_model: "control_v11f1e_sd15_tile",
sd_model: "juggernaut_reborn.safetensors [338b85bc4f]",
cn_module: "tile_resample",
cn_weight: 0.6,
scheduler: "DPM++ 3M SDE Karras",
td_method: "MultiDiffusion",
cn_lowvram: false,
td_overlap: 4,
num_outputs: 1,
cn_downsample: 1,
td_tile_width: 112,
cn_resize_mode: 1,
cn_threshold_a: 1,
cn_threshold_b: 1,
guidance_scale: 6,
td_image_width: 1,
td_tile_height: 144,
cn_control_mode: 1,
cn_guidance_end: 1,
negative_prompt: "(worst quality, low quality, normal quality:2) JuggernautNegative-neg",
td_image_height: 1,
td_scale_factor: 2,
tv_fast_decoder: true,
tv_fast_encoder: true,
cn_pixel_perfect: true,
enable_tiled_vae: true,
td_noise_inverse: false,
td_upscaler_name: "4x-UltraSharp",
cn_guidance_start: 0,
enable_controlnet: true,
td_overwrite_size: true,
denoising_strength: 0.35,
td_keep_input_size: true,
td_tile_batch_size: 8,
tv_move_vae_to_gpu: true,
cn_preprocessor_res: 512,
num_inference_steps: 18,
tv_decoder_tile_size: 192,
tv_encoder_tile_size: 3072,
enable_tiled_diffusion: true,
td_noise_inverse_steps: 0,
clip_stop_at_last_layers: 1,
tv_fast_encoder_color_fix: true,
td_noise_inverse_renoise_kernel: 3,
td_noise_inverse_renoise_strength: 0
}
}
);
console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run philz1337x/multidiffusion-upscaler using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"philz1337x/multidiffusion-upscaler:88f19697c15c8befccd557649fe6b01fcfa55ade961c2d1c3c23d9c986fdaff7",
input={
"seed": 1337,
"width": 512,
"height": 512,
"prompt": "masterpiece, best quality, highres, <lora:more_details:0.5> <lora:SDXLrender_v2.0:1>",
"sd_vae": "vae-ft-mse-840000-ema-pruned.safetensors",
"cn_model": "control_v11f1e_sd15_tile",
"sd_model": "juggernaut_reborn.safetensors [338b85bc4f]",
"cn_module": "tile_resample",
"cn_weight": 0.6,
"scheduler": "DPM++ 3M SDE Karras",
"td_method": "MultiDiffusion",
"cn_lowvram": False,
"td_overlap": 4,
"num_outputs": 1,
"cn_downsample": 1,
"td_tile_width": 112,
"cn_resize_mode": 1,
"cn_threshold_a": 1,
"cn_threshold_b": 1,
"guidance_scale": 6,
"td_image_width": 1,
"td_tile_height": 144,
"cn_control_mode": 1,
"cn_guidance_end": 1,
"negative_prompt": "(worst quality, low quality, normal quality:2) JuggernautNegative-neg",
"td_image_height": 1,
"td_scale_factor": 2,
"tv_fast_decoder": True,
"tv_fast_encoder": True,
"cn_pixel_perfect": True,
"enable_tiled_vae": True,
"td_noise_inverse": False,
"td_upscaler_name": "4x-UltraSharp",
"cn_guidance_start": 0,
"enable_controlnet": True,
"td_overwrite_size": True,
"denoising_strength": 0.35,
"td_keep_input_size": True,
"td_tile_batch_size": 8,
"tv_move_vae_to_gpu": True,
"cn_preprocessor_res": 512,
"num_inference_steps": 18,
"tv_decoder_tile_size": 192,
"tv_encoder_tile_size": 3072,
"enable_tiled_diffusion": True,
"td_noise_inverse_steps": 0,
"clip_stop_at_last_layers": 1,
"tv_fast_encoder_color_fix": True,
"td_noise_inverse_renoise_kernel": 3,
"td_noise_inverse_renoise_strength": 0
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run philz1337x/multidiffusion-upscaler using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Prefer: wait" \
-d $'{
"version": "88f19697c15c8befccd557649fe6b01fcfa55ade961c2d1c3c23d9c986fdaff7",
"input": {
"seed": 1337,
"width": 512,
"height": 512,
"prompt": "masterpiece, best quality, highres, <lora:more_details:0.5> <lora:SDXLrender_v2.0:1>",
"sd_vae": "vae-ft-mse-840000-ema-pruned.safetensors",
"cn_model": "control_v11f1e_sd15_tile",
"sd_model": "juggernaut_reborn.safetensors [338b85bc4f]",
"cn_module": "tile_resample",
"cn_weight": 0.6,
"scheduler": "DPM++ 3M SDE Karras",
"td_method": "MultiDiffusion",
"cn_lowvram": false,
"td_overlap": 4,
"num_outputs": 1,
"cn_downsample": 1,
"td_tile_width": 112,
"cn_resize_mode": 1,
"cn_threshold_a": 1,
"cn_threshold_b": 1,
"guidance_scale": 6,
"td_image_width": 1,
"td_tile_height": 144,
"cn_control_mode": 1,
"cn_guidance_end": 1,
"negative_prompt": "(worst quality, low quality, normal quality:2) JuggernautNegative-neg",
"td_image_height": 1,
"td_scale_factor": 2,
"tv_fast_decoder": true,
"tv_fast_encoder": true,
"cn_pixel_perfect": true,
"enable_tiled_vae": true,
"td_noise_inverse": false,
"td_upscaler_name": "4x-UltraSharp",
"cn_guidance_start": 0,
"enable_controlnet": true,
"td_overwrite_size": true,
"denoising_strength": 0.35,
"td_keep_input_size": true,
"td_tile_batch_size": 8,
"tv_move_vae_to_gpu": true,
"cn_preprocessor_res": 512,
"num_inference_steps": 18,
"tv_decoder_tile_size": 192,
"tv_encoder_tile_size": 3072,
"enable_tiled_diffusion": true,
"td_noise_inverse_steps": 0,
"clip_stop_at_last_layers": 1,
"tv_fast_encoder_color_fix": true,
"td_noise_inverse_renoise_kernel": 3,
"td_noise_inverse_renoise_strength": 0
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
No output yet! Press "Submit" to start a prediction.