live
MODEL IDrunware:502@1

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.

Stable Diffusion Latent Upscaler

upscale

Aerospace Recruitment Portrait Composite$0.0058~14s
Aerospace Recruitment Portrait Composite
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'runware:502@1',
  upscaleFactor: 2,
  settings: {
    positivePrompt: 'Enhance the existing approved aerospace recruitment portrait composite at 2× resolution. Preserve the exact subject, pose, facial identity, three-quarter framing and cleanroom background placement. Resolve realistic facial detail, individual hair strands, white micro-ripstop coverall weave, zipper teeth, stitched seams, glove texture, circular unlettered patch, gold thermal-foil crinkles, fine cable bundles, perforated metal panels and ceiling-grid edges. Maintain the cool white lighting, deep cobalt ambience, subtle rim light and existing depth of field without changing the composition or adding anything.',
    negativePrompt: 'new objects, altered pose, changed identity, changed expression, different clothing, added text, logos, extra patches, extra fingers, distorted hands, duplicated cables, rearranged background, changed crop, oversharpening, halos, plastic skin, painterly texture'
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/db6990d4-e230-41eb-80b0-7bed2a6e776a.jpg'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "runware:502@1",
            "upscaleFactor": 2,
            "settings": {
                "positivePrompt": "Enhance the existing approved aerospace recruitment portrait composite at 2× resolution. Preserve the exact subject, pose, facial identity, three-quarter framing and cleanroom background placement. Resolve realistic facial detail, individual hair strands, white micro-ripstop coverall weave, zipper teeth, stitched seams, glove texture, circular unlettered patch, gold thermal-foil crinkles, fine cable bundles, perforated metal panels and ceiling-grid edges. Maintain the cool white lighting, deep cobalt ambience, subtle rim light and existing depth of field without changing the composition or adding anything.",
                "negativePrompt": "new objects, altered pose, changed identity, changed expression, different clothing, added text, logos, extra patches, extra fingers, distorted hands, duplicated cables, rearranged background, changed crop, oversharpening, halos, plastic skin, painterly texture"
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/db6990d4-e230-41eb-80b0-7bed2a6e776a.jpg"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "upscale",
      "taskUUID": "27bf5ce5-fa7d-47a7-a403-6ec21dec9686",
      "model": "runware:502@1",
      "upscaleFactor": 2,
      "settings": {
        "positivePrompt": "Enhance the existing approved aerospace recruitment portrait composite at 2× resolution. Preserve the exact subject, pose, facial identity, three-quarter framing and cleanroom background placement. Resolve realistic facial detail, individual hair strands, white micro-ripstop coverall weave, zipper teeth, stitched seams, glove texture, circular unlettered patch, gold thermal-foil crinkles, fine cable bundles, perforated metal panels and ceiling-grid edges. Maintain the cool white lighting, deep cobalt ambience, subtle rim light and existing depth of field without changing the composition or adding anything.",
        "negativePrompt": "new objects, altered pose, changed identity, changed expression, different clothing, added text, logos, extra patches, extra fingers, distorted hands, duplicated cables, rearranged background, changed crop, oversharpening, halos, plastic skin, painterly texture"
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/db6990d4-e230-41eb-80b0-7bed2a6e776a.jpg"
      }
    }
  ]'
runware run runware:502@1 \
  upscaleFactor=2 \
  settings.positivePrompt="Enhance the existing approved aerospace recruitment portrait composite at 2× resolution. Preserve the exact subject, pose, facial identity, three-quarter framing and cleanroom background placement. Resolve realistic facial detail, individual hair strands, white micro-ripstop coverall weave, zipper teeth, stitched seams, glove texture, circular unlettered patch, gold thermal-foil crinkles, fine cable bundles, perforated metal panels and ceiling-grid edges. Maintain the cool white lighting, deep cobalt ambience, subtle rim light and existing depth of field without changing the composition or adding anything." \
  settings.negativePrompt="new objects, altered pose, changed identity, changed expression, different clothing, added text, logos, extra patches, extra fingers, distorted hands, duplicated cables, rearranged background, changed crop, oversharpening, halos, plastic skin, painterly texture" \
  inputs.image=https://assets.runware.ai/assets/inputs/db6990d4-e230-41eb-80b0-7bed2a6e776a.jpg
{
  "taskType": "upscale",
  "taskUUID": "27bf5ce5-fa7d-47a7-a403-6ec21dec9686",
  "model": "runware:502@1",
  "upscaleFactor": 2,
  "settings": {
    "positivePrompt": "Enhance the existing approved aerospace recruitment portrait composite at 2× resolution. Preserve the exact subject, pose, facial identity, three-quarter framing and cleanroom background placement. Resolve realistic facial detail, individual hair strands, white micro-ripstop coverall weave, zipper teeth, stitched seams, glove texture, circular unlettered patch, gold thermal-foil crinkles, fine cable bundles, perforated metal panels and ceiling-grid edges. Maintain the cool white lighting, deep cobalt ambience, subtle rim light and existing depth of field without changing the composition or adding anything.",
    "negativePrompt": "new objects, altered pose, changed identity, changed expression, different clothing, added text, logos, extra patches, extra fingers, distorted hands, duplicated cables, rearranged background, changed crop, oversharpening, halos, plastic skin, painterly texture"
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/db6990d4-e230-41eb-80b0-7bed2a6e776a.jpg"
  }
}
Response
{
  "taskType": "imageUpscale",
  "taskUUID": "27bf5ce5-fa7d-47a7-a403-6ec21dec9686",
  "imageUUID": "2d979768-99ce-416f-8930-b97935796bb6",
  "imageURL": "https://im.runware.ai/image/os/a09dlim3/ws/4/ii/2d979768-99ce-416f-8930-b97935796bb6.jpg",
  "cost": 0.0058,
  "inputImageUUID": "b984eaf5-f890-4049-af9d-427c7ae31029"
}

upscale

Marionette Workshop Photo Restoration$0.0032~11s
Marionette Workshop Photo Restoration
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'runware:502@1',
  upscaleFactor: 2,
  settings: {
    positivePrompt: 'Faithful archival restoration of the exact black-and-white marionette workshop photograph, preserving the original portrait framing, subject positions, documentary lighting, tonal character, and period authenticity. Enhance the craftsman\'s facial features, carved wood grain, puppet joints, fine suspension strings, worn fabric weave, hand tools, shelf edges, and workbench textures. Reduce fine scratches, dust marks, water-stain distraction, and the visible fold crease while retaining subtle silver gelatin grain and natural age. Crisp but photographic detail, balanced grayscale tones, no compositional changes and no new objects.'
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/2a2dc37c-b58e-46f1-96bd-361fc5a63dc6.jpg'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "runware:502@1",
            "upscaleFactor": 2,
            "settings": {
                "positivePrompt": "Faithful archival restoration of the exact black-and-white marionette workshop photograph, preserving the original portrait framing, subject positions, documentary lighting, tonal character, and period authenticity. Enhance the craftsman's facial features, carved wood grain, puppet joints, fine suspension strings, worn fabric weave, hand tools, shelf edges, and workbench textures. Reduce fine scratches, dust marks, water-stain distraction, and the visible fold crease while retaining subtle silver gelatin grain and natural age. Crisp but photographic detail, balanced grayscale tones, no compositional changes and no new objects."
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/2a2dc37c-b58e-46f1-96bd-361fc5a63dc6.jpg"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "upscale",
      "taskUUID": "60168231-66a0-4465-981c-ac9a355a15e7",
      "model": "runware:502@1",
      "upscaleFactor": 2,
      "settings": {
        "positivePrompt": "Faithful archival restoration of the exact black-and-white marionette workshop photograph, preserving the original portrait framing, subject positions, documentary lighting, tonal character, and period authenticity. Enhance the craftsman's facial features, carved wood grain, puppet joints, fine suspension strings, worn fabric weave, hand tools, shelf edges, and workbench textures. Reduce fine scratches, dust marks, water-stain distraction, and the visible fold crease while retaining subtle silver gelatin grain and natural age. Crisp but photographic detail, balanced grayscale tones, no compositional changes and no new objects."
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/2a2dc37c-b58e-46f1-96bd-361fc5a63dc6.jpg"
      }
    }
  ]'
runware run runware:502@1 \
  upscaleFactor=2 \
  settings.positivePrompt="Faithful archival restoration of the exact black-and-white marionette workshop photograph, preserving the original portrait framing, subject positions, documentary lighting, tonal character, and period authenticity. Enhance the craftsman's facial features, carved wood grain, puppet joints, fine suspension strings, worn fabric weave, hand tools, shelf edges, and workbench textures. Reduce fine scratches, dust marks, water-stain distraction, and the visible fold crease while retaining subtle silver gelatin grain and natural age. Crisp but photographic detail, balanced grayscale tones, no compositional changes and no new objects." \
  inputs.image=https://assets.runware.ai/assets/inputs/2a2dc37c-b58e-46f1-96bd-361fc5a63dc6.jpg
{
  "taskType": "upscale",
  "taskUUID": "60168231-66a0-4465-981c-ac9a355a15e7",
  "model": "runware:502@1",
  "upscaleFactor": 2,
  "settings": {
    "positivePrompt": "Faithful archival restoration of the exact black-and-white marionette workshop photograph, preserving the original portrait framing, subject positions, documentary lighting, tonal character, and period authenticity. Enhance the craftsman's facial features, carved wood grain, puppet joints, fine suspension strings, worn fabric weave, hand tools, shelf edges, and workbench textures. Reduce fine scratches, dust marks, water-stain distraction, and the visible fold crease while retaining subtle silver gelatin grain and natural age. Crisp but photographic detail, balanced grayscale tones, no compositional changes and no new objects."
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/2a2dc37c-b58e-46f1-96bd-361fc5a63dc6.jpg"
  }
}
Response
{
  "taskType": "imageUpscale",
  "taskUUID": "60168231-66a0-4465-981c-ac9a355a15e7",
  "imageUUID": "af9d301b-a32a-473d-9bfd-39084d59c5cb",
  "imageURL": "https://im.runware.ai/image/os/a04d20/ws/4/ii/af9d301b-a32a-473d-9bfd-39084d59c5cb.jpg",
  "cost": 0.0032,
  "inputImageUUID": "8e9b4b9b-90f6-4bb3-9cad-34235c7447d0"
}

upscale

Antique Diving Helmet Catalog Cutout$0.0045~13s
Antique Diving Helmet Catalog Cutout
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'runware:502@1',
  upscaleFactor: 2,
  settings: {
    positivePrompt: 'Preserve the exact composition of the centered antique copper-and-brass deep-sea diving helmet on the seamless matte deep-teal catalog background. Enhance the fine rivets, solder seams, oxidized green patina, scratches, embossed fittings, threaded ports, rubber gaskets, circular glass windows, controlled reflections, crisp extraction edges, soft upper-left studio lighting, and subtle grounding shadow. Maintain the original proportions, camera angle, background, and object placement without introducing new objects or altering the silhouette.'
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/ca3b8ff5-aeb7-458d-aaab-d56970cc26c1.jpg'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "runware:502@1",
            "upscaleFactor": 2,
            "settings": {
                "positivePrompt": "Preserve the exact composition of the centered antique copper-and-brass deep-sea diving helmet on the seamless matte deep-teal catalog background. Enhance the fine rivets, solder seams, oxidized green patina, scratches, embossed fittings, threaded ports, rubber gaskets, circular glass windows, controlled reflections, crisp extraction edges, soft upper-left studio lighting, and subtle grounding shadow. Maintain the original proportions, camera angle, background, and object placement without introducing new objects or altering the silhouette."
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/ca3b8ff5-aeb7-458d-aaab-d56970cc26c1.jpg"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "upscale",
      "taskUUID": "db73e0df-b861-45fd-9a4a-9a6a722af94e",
      "model": "runware:502@1",
      "upscaleFactor": 2,
      "settings": {
        "positivePrompt": "Preserve the exact composition of the centered antique copper-and-brass deep-sea diving helmet on the seamless matte deep-teal catalog background. Enhance the fine rivets, solder seams, oxidized green patina, scratches, embossed fittings, threaded ports, rubber gaskets, circular glass windows, controlled reflections, crisp extraction edges, soft upper-left studio lighting, and subtle grounding shadow. Maintain the original proportions, camera angle, background, and object placement without introducing new objects or altering the silhouette."
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/ca3b8ff5-aeb7-458d-aaab-d56970cc26c1.jpg"
      }
    }
  ]'
runware run runware:502@1 \
  upscaleFactor=2 \
  settings.positivePrompt="Preserve the exact composition of the centered antique copper-and-brass deep-sea diving helmet on the seamless matte deep-teal catalog background. Enhance the fine rivets, solder seams, oxidized green patina, scratches, embossed fittings, threaded ports, rubber gaskets, circular glass windows, controlled reflections, crisp extraction edges, soft upper-left studio lighting, and subtle grounding shadow. Maintain the original proportions, camera angle, background, and object placement without introducing new objects or altering the silhouette." \
  inputs.image=https://assets.runware.ai/assets/inputs/ca3b8ff5-aeb7-458d-aaab-d56970cc26c1.jpg
{
  "taskType": "upscale",
  "taskUUID": "db73e0df-b861-45fd-9a4a-9a6a722af94e",
  "model": "runware:502@1",
  "upscaleFactor": 2,
  "settings": {
    "positivePrompt": "Preserve the exact composition of the centered antique copper-and-brass deep-sea diving helmet on the seamless matte deep-teal catalog background. Enhance the fine rivets, solder seams, oxidized green patina, scratches, embossed fittings, threaded ports, rubber gaskets, circular glass windows, controlled reflections, crisp extraction edges, soft upper-left studio lighting, and subtle grounding shadow. Maintain the original proportions, camera angle, background, and object placement without introducing new objects or altering the silhouette."
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/ca3b8ff5-aeb7-458d-aaab-d56970cc26c1.jpg"
  }
}
Response
{
  "taskType": "imageUpscale",
  "taskUUID": "db73e0df-b861-45fd-9a4a-9a6a722af94e",
  "imageUUID": "9fc3b505-c7f6-4345-9115-99ef9e8131f8",
  "imageURL": "https://im.runware.ai/image/os/a01d21/ws/4/ii/9fc3b505-c7f6-4345-9115-99ef9e8131f8.jpg",
  "cost": 0.0045,
  "inputImageUUID": "91bb442f-0bbc-40fc-9802-0cd191e840fb"
}

upscale

Railway Safety Feature Illustration$0.0032~14s
Railway Safety Feature Illustration
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'runware:502@1',
  upscaleFactor: 2,
  settings: {
    positivePrompt: 'Restyle the supplied railway inspection photograph as a refined 1930s WPA-inspired screen-printed lithograph for an engineering magazine feature. Preserve the exact vertical crop, low three-quarter camera angle, engineer\'s kneeling pose, track geometry, switch mechanism, and position of every existing object. Render the weathered steel rails, switch points, bolts, springs, grease marks, angular ballast stones, reflective jacket seams, gloves, and inspection gauge with crisp carved linework and controlled screen-print texture. Limited palette of petroleum teal, oxidized orange, charcoal, and warm parchment; purposeful industrial mood, strong tonal separation, subtle paper grain, clean detailed edges. No new objects, no text, and no compositional changes.'
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/1520aa90-2f7e-4bfd-98af-801dfadc140d.jpg'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "runware:502@1",
            "upscaleFactor": 2,
            "settings": {
                "positivePrompt": "Restyle the supplied railway inspection photograph as a refined 1930s WPA-inspired screen-printed lithograph for an engineering magazine feature. Preserve the exact vertical crop, low three-quarter camera angle, engineer's kneeling pose, track geometry, switch mechanism, and position of every existing object. Render the weathered steel rails, switch points, bolts, springs, grease marks, angular ballast stones, reflective jacket seams, gloves, and inspection gauge with crisp carved linework and controlled screen-print texture. Limited palette of petroleum teal, oxidized orange, charcoal, and warm parchment; purposeful industrial mood, strong tonal separation, subtle paper grain, clean detailed edges. No new objects, no text, and no compositional changes."
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/1520aa90-2f7e-4bfd-98af-801dfadc140d.jpg"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "upscale",
      "taskUUID": "54b9797a-7dec-4e20-9bff-305d7d90439a",
      "model": "runware:502@1",
      "upscaleFactor": 2,
      "settings": {
        "positivePrompt": "Restyle the supplied railway inspection photograph as a refined 1930s WPA-inspired screen-printed lithograph for an engineering magazine feature. Preserve the exact vertical crop, low three-quarter camera angle, engineer's kneeling pose, track geometry, switch mechanism, and position of every existing object. Render the weathered steel rails, switch points, bolts, springs, grease marks, angular ballast stones, reflective jacket seams, gloves, and inspection gauge with crisp carved linework and controlled screen-print texture. Limited palette of petroleum teal, oxidized orange, charcoal, and warm parchment; purposeful industrial mood, strong tonal separation, subtle paper grain, clean detailed edges. No new objects, no text, and no compositional changes."
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/1520aa90-2f7e-4bfd-98af-801dfadc140d.jpg"
      }
    }
  ]'
runware run runware:502@1 \
  upscaleFactor=2 \
  settings.positivePrompt="Restyle the supplied railway inspection photograph as a refined 1930s WPA-inspired screen-printed lithograph for an engineering magazine feature. Preserve the exact vertical crop, low three-quarter camera angle, engineer's kneeling pose, track geometry, switch mechanism, and position of every existing object. Render the weathered steel rails, switch points, bolts, springs, grease marks, angular ballast stones, reflective jacket seams, gloves, and inspection gauge with crisp carved linework and controlled screen-print texture. Limited palette of petroleum teal, oxidized orange, charcoal, and warm parchment; purposeful industrial mood, strong tonal separation, subtle paper grain, clean detailed edges. No new objects, no text, and no compositional changes." \
  inputs.image=https://assets.runware.ai/assets/inputs/1520aa90-2f7e-4bfd-98af-801dfadc140d.jpg
{
  "taskType": "upscale",
  "taskUUID": "54b9797a-7dec-4e20-9bff-305d7d90439a",
  "model": "runware:502@1",
  "upscaleFactor": 2,
  "settings": {
    "positivePrompt": "Restyle the supplied railway inspection photograph as a refined 1930s WPA-inspired screen-printed lithograph for an engineering magazine feature. Preserve the exact vertical crop, low three-quarter camera angle, engineer's kneeling pose, track geometry, switch mechanism, and position of every existing object. Render the weathered steel rails, switch points, bolts, springs, grease marks, angular ballast stones, reflective jacket seams, gloves, and inspection gauge with crisp carved linework and controlled screen-print texture. Limited palette of petroleum teal, oxidized orange, charcoal, and warm parchment; purposeful industrial mood, strong tonal separation, subtle paper grain, clean detailed edges. No new objects, no text, and no compositional changes."
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/1520aa90-2f7e-4bfd-98af-801dfadc140d.jpg"
  }
}
Response
{
  "taskType": "imageUpscale",
  "taskUUID": "54b9797a-7dec-4e20-9bff-305d7d90439a",
  "imageUUID": "eadafcf7-e610-4b51-8102-06d2ccf773b2",
  "imageURL": "https://im.runware.ai/image/os/a05d22/ws/4/ii/eadafcf7-e610-4b51-8102-06d2ccf773b2.jpg",
  "cost": 0.0032,
  "inputImageUUID": "ad882893-eac9-4b8a-bd93-98e3b44fb7a1"
}