Stable Diffusion Latent Upscaler
Stable Diffusion Latent Upscaler is a diffusion upscaling model that operates in Stable Diffusion’s latent space to perform fast 2× resolution enhancement before VAE decoding, improving detail without changing global composition.
API Reference
INTEGRATE
Complete technical specification for integration
Request Response
Examples 4
CODE
Ready-to-use code snippets for common workflows
Grainy Speakeasy Jazz Interior
{
"taskType": "upscale",
"taskUUID": "19cd0c7b-2200-451c-8557-920c86711402",
"model": "runware:502@1",
"upscaleFactor": 2,
"settings": {
"positivePrompt": "1930s basement jazz club cinema still, monochrome silver-gelatin feel, intimate speakeasy interior, singer at vintage microphone, trumpet gleam, upright bass, crowded round tables, smoky atmosphere, wood trim, period wardrobe, realistic facial detail, preserved framing, enhanced grain structure, recovered textile texture, subtle tonal separation, authentic old film aesthetic",
"negativePrompt": "modern objects, neon signs, digital artifacts, oversharpening, plastic skin, cartoon look, colorization, warped anatomy, duplicated people, extreme contrast, glossy surfaces",
"seed": 28050,
"steps": 24,
"CFGScale": 6.5
},
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/51a5e0d1-b078-458c-9697-0f825ba4260a.jpg"
}
}{
"taskType": "imageUpscale",
"taskUUID": "19cd0c7b-2200-451c-8557-920c86711402",
"imageUUID": "1ab03ca6-8700-4fb6-b280-e0e9b640ac10",
"imageURL": "https://im.runware.ai/image/os/a04d20/ws/3/ii/1ab03ca6-8700-4fb6-b280-e0e9b640ac10.jpg",
"cost": 0.0019,
"inputImageUUID": "f8f20ced-65f4-4252-b9f2-8161baf3a37c"
}Pixelated Harbor Tram Scene
{
"taskType": "upscale",
"taskUUID": "129a4d18-bca3-41c0-b5b1-0e6c5d42ffdc",
"model": "runware:502@1",
"upscaleFactor": 2,
"settings": {
"positivePrompt": "clean detailed harbor tram scene, sharp edges, restored fine textures, clearer windows, crisp tram cables, defined waves, distant industrial shoreline, natural lighting, realistic detail, preserve original framing and layout",
"negativePrompt": "extra vehicles, duplicated objects, warped tram, text, watermark, oversmoothing, heavy blur, painterly distortion, anatomy errors, surreal alterations",
"steps": 20,
"seed": 96292,
"CFGScale": 6.5,
"clipSkip": 1
},
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/ba517767-8979-44e5-900f-9614d677f501.jpg"
}
}{
"taskType": "imageUpscale",
"taskUUID": "129a4d18-bca3-41c0-b5b1-0e6c5d42ffdc",
"imageUUID": "ea5d11bb-4443-4229-945b-8ed5ca44261d",
"imageURL": "https://im.runware.ai/image/os/a05d22/ws/2/ii/ea5d11bb-4443-4229-945b-8ed5ca44261d.jpg",
"cost": 0.0013,
"inputImageUUID": "ca0f38a4-d2ba-4fa6-a23e-ea976080aebc"
}Faded Seventies Kitchen Snapshot
{
"taskType": "upscale",
"taskUUID": "96861adb-6939-4417-b221-606f39cd0b6b",
"model": "runware:502@1",
"upscaleFactor": 2,
"settings": {
"positivePrompt": "restore detail in a low quality 1970s kitchen snapshot, preserve original framing and candid family-photo composition, enhance facial clarity, fabric texture, wallpaper pattern, chrome reflections, worn print texture, subtle film grain, authentic vintage color response",
"negativePrompt": "modern styling, dramatic scene changes, extra people, duplicated objects, oversharpening, plastic skin, heavy denoise, surreal distortions, text, watermark",
"seed": 74049,
"steps": 20,
"CFGScale": 6.5,
"clipSkip": 1
},
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/85cac55f-04cc-4130-9d27-bcae4213f7ba.jpg"
}
}{
"taskType": "imageUpscale",
"taskUUID": "96861adb-6939-4417-b221-606f39cd0b6b",
"imageUUID": "d9d6ae1a-5bb5-4407-a707-20d5f36fca4b",
"imageURL": "https://im.runware.ai/image/os/a03d21/ws/3/ii/d9d6ae1a-5bb5-4407-a707-20d5f36fca4b.jpg",
"cost": 0.0013,
"inputImageUUID": "4c5b4e1c-87d3-4de9-a913-4e473403ae2f"
}Pixelated Desert Ruin Panorama
{
"taskType": "upscale",
"taskUUID": "b4e5135a-2304-45c2-bc6d-543f13ee0786",
"model": "runware:502@1",
"upscaleFactor": 2,
"settings": {
"positivePrompt": "ancient desert ruins with weathered sandstone arches, eroded statues, fine cracks in stone, drifting dust, layered distant mesas, soft amber daylight, faded blue cloth details, cinematic depth, realistic textures, preserved original framing and composition",
"negativePrompt": "extra structures, people, animals, dramatic composition changes, heavy stylization, oversharpening, warped geometry, duplicate objects, text, watermark, frame",
"steps": 20,
"seed": 69186,
"CFGScale": 6.5,
"clipSkip": 1
},
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/3b9f956f-7bf7-4705-b184-48d909750431.jpg"
}
}{
"taskType": "imageUpscale",
"taskUUID": "b4e5135a-2304-45c2-bc6d-543f13ee0786",
"imageUUID": "760e3d09-1a23-463b-9b49-8b1ba4dc1446",
"imageURL": "https://im.runware.ai/image/os/a17d13/ws/2/ii/760e3d09-1a23-463b-9b49-8b1ba4dc1446.jpg",
"cost": 0.0013,
"inputImageUUID": "3e3ebf3f-e815-48cc-b03d-65e23e61e225"
}