MODEL IDrunware:502@1
live

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

Marionette Workshop Photo Restoration

Marionette Workshop Photo Restoration
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

Railway Safety Feature Illustration

Railway Safety Feature Illustration
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"
}
upscale

Antique Diving Helmet Catalog Cutout

Antique Diving Helmet Catalog Cutout
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

Aerospace Recruitment Portrait Composite

Aerospace Recruitment Portrait Composite
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

Faded Seventies Kitchen Snapshot

Faded Seventies Kitchen Snapshot
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: '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'
  }
})
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": "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"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "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"
      }
    }
  ]'
runware run 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" \
  settings.negativePrompt="modern styling, dramatic scene changes, extra people, duplicated objects, oversharpening, plastic skin, heavy denoise, surreal distortions, text, watermark" \
  settings.seed=74049 \
  settings.steps=20 \
  settings.CFGScale=6.5 \
  settings.clipSkip=1 \
  inputs.image=https://assets.runware.ai/assets/inputs/85cac55f-04cc-4130-9d27-bcae4213f7ba.jpg
{
  "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"
  }
}
Response
{
  "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"
}
Upscale

Pixelated Desert Ruin Panorama

Pixelated Desert Ruin Panorama
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: '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'
  }
})
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": "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"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "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"
      }
    }
  ]'
runware run 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" \
  settings.negativePrompt="extra structures, people, animals, dramatic composition changes, heavy stylization, oversharpening, warped geometry, duplicate objects, text, watermark, frame" \
  settings.steps=20 \
  settings.seed=69186 \
  settings.CFGScale=6.5 \
  settings.clipSkip=1 \
  inputs.image=https://assets.runware.ai/assets/inputs/3b9f956f-7bf7-4705-b184-48d909750431.jpg
{
  "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"
  }
}
Response
{
  "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"
}
Upscale

Pixelated Harbor Tram Scene

Pixelated Harbor Tram Scene
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: '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'
  }
})
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": "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"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "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"
      }
    }
  ]'
runware run 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" \
  settings.negativePrompt="extra vehicles, duplicated objects, warped tram, text, watermark, oversmoothing, heavy blur, painterly distortion, anatomy errors, surreal alterations" \
  settings.steps=20 \
  settings.seed=96292 \
  settings.CFGScale=6.5 \
  settings.clipSkip=1 \
  inputs.image=https://assets.runware.ai/assets/inputs/ba517767-8979-44e5-900f-9614d677f501.jpg
{
  "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"
  }
}
Response
{
  "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"
}
Upscale

Grainy Speakeasy Jazz Interior

Grainy Speakeasy Jazz Interior
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: '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'
  }
})
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": "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"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "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"
      }
    }
  ]'
runware run 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" \
  settings.negativePrompt="modern objects, neon signs, digital artifacts, oversharpening, plastic skin, cartoon look, colorization, warped anatomy, duplicated people, extreme contrast, glossy surfaces" \
  settings.seed=28050 \
  settings.steps=24 \
  settings.CFGScale=6.5 \
  inputs.image=https://assets.runware.ai/assets/inputs/51a5e0d1-b078-458c-9697-0f825ba4260a.jpg
{
  "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"
  }
}
Response
{
  "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"
}