Object Eraser
Object Eraser is an image editing model that removes selected objects from an image using a provided mask. It performs targeted inpainting to reconstruct missing regions while preserving surrounding structure, lighting, and scene continuity. Optional prompt conditioning allows control over the fill result, enabling texture matching, contextual completion, and alignment with the original image content.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
Wildland Commander Headshot Clean Plate

Remove the entire foreground portrait sitter and reconstruct the newly exposed sage-green muslin studio backdrop as a seamless clean plate. Continue the hand-painted fabric texture, gentle tonal mottling, soft camera-left illumination, subtle edge vignette, and fine analog grain naturally through the erased area. Match the surrounding backdrop precisely in color, texture, focus, lighting falloff, and scale. Leave no person, clothing, hair, silhouette, halo, cutout edge, or residual artifact. The finished image should look like the original empty backdrop photographed under the same studio lighting.
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:300@1',
positivePrompt: 'Remove the entire foreground portrait sitter and reconstruct the newly exposed sage-green muslin studio backdrop as a seamless clean plate. Continue the hand-painted fabric texture, gentle tonal mottling, soft camera-left illumination, subtle edge vignette, and fine analog grain naturally through the erased area. Match the surrounding backdrop precisely in color, texture, focus, lighting falloff, and scale. Leave no person, clothing, hair, silhouette, halo, cutout edge, or residual artifact. The finished image should look like the original empty backdrop photographed under the same studio lighting.',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/3c0d0f0b-971b-40bc-b891-af90fc129bd1.jpg',
mask: 'https://assets.runware.ai/assets/inputs/b845f439-e9cb-4a5d-aba9-ce1e15e8ae8c.png'
}
})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:300@1",
"positivePrompt": "Remove the entire foreground portrait sitter and reconstruct the newly exposed sage-green muslin studio backdrop as a seamless clean plate. Continue the hand-painted fabric texture, gentle tonal mottling, soft camera-left illumination, subtle edge vignette, and fine analog grain naturally through the erased area. Match the surrounding backdrop precisely in color, texture, focus, lighting falloff, and scale. Leave no person, clothing, hair, silhouette, halo, cutout edge, or residual artifact. The finished image should look like the original empty backdrop photographed under the same studio lighting.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/3c0d0f0b-971b-40bc-b891-af90fc129bd1.jpg",
"mask": "https://assets.runware.ai/assets/inputs/b845f439-e9cb-4a5d-aba9-ce1e15e8ae8c.png"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "6541a7f2-d80f-4dde-b3d9-09d72ac8b621",
"model": "runware:300@1",
"positivePrompt": "Remove the entire foreground portrait sitter and reconstruct the newly exposed sage-green muslin studio backdrop as a seamless clean plate. Continue the hand-painted fabric texture, gentle tonal mottling, soft camera-left illumination, subtle edge vignette, and fine analog grain naturally through the erased area. Match the surrounding backdrop precisely in color, texture, focus, lighting falloff, and scale. Leave no person, clothing, hair, silhouette, halo, cutout edge, or residual artifact. The finished image should look like the original empty backdrop photographed under the same studio lighting.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/3c0d0f0b-971b-40bc-b891-af90fc129bd1.jpg",
"mask": "https://assets.runware.ai/assets/inputs/b845f439-e9cb-4a5d-aba9-ce1e15e8ae8c.png"
}
}
]'runware run runware:300@1 \
positivePrompt="Remove the entire foreground portrait sitter and reconstruct the newly exposed sage-green muslin studio backdrop as a seamless clean plate. Continue the hand-painted fabric texture, gentle tonal mottling, soft camera-left illumination, subtle edge vignette, and fine analog grain naturally through the erased area. Match the surrounding backdrop precisely in color, texture, focus, lighting falloff, and scale. Leave no person, clothing, hair, silhouette, halo, cutout edge, or residual artifact. The finished image should look like the original empty backdrop photographed under the same studio lighting." \
inputs.image=https://assets.runware.ai/assets/inputs/3c0d0f0b-971b-40bc-b891-af90fc129bd1.jpg \
inputs.mask=https://assets.runware.ai/assets/inputs/b845f439-e9cb-4a5d-aba9-ce1e15e8ae8c.png{
"taskType": "imageInference",
"taskUUID": "6541a7f2-d80f-4dde-b3d9-09d72ac8b621",
"model": "runware:300@1",
"positivePrompt": "Remove the entire foreground portrait sitter and reconstruct the newly exposed sage-green muslin studio backdrop as a seamless clean plate. Continue the hand-painted fabric texture, gentle tonal mottling, soft camera-left illumination, subtle edge vignette, and fine analog grain naturally through the erased area. Match the surrounding backdrop precisely in color, texture, focus, lighting falloff, and scale. Leave no person, clothing, hair, silhouette, halo, cutout edge, or residual artifact. The finished image should look like the original empty backdrop photographed under the same studio lighting.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/3c0d0f0b-971b-40bc-b891-af90fc129bd1.jpg",
"mask": "https://assets.runware.ai/assets/inputs/b845f439-e9cb-4a5d-aba9-ce1e15e8ae8c.png"
}
}{
"taskType": "imageInference",
"taskUUID": "6541a7f2-d80f-4dde-b3d9-09d72ac8b621",
"imageUUID": "6c64b2f2-e4d6-407c-88fd-088c9ab0d9dd",
"imageURL": "https://im.runware.ai/image/os/a05d22/ws/3/ii/6c64b2f2-e4d6-407c-88fd-088c9ab0d9dd.jpg",
"seed": 1975806502,
"cost": 0.0032
}Opera Scenic Mural Restoration

Remove the entire matte-black cardboard scale figure. Reconstruct the newly exposed section of the moonlit harbor cyclorama as though the figure had never been present. Continue the surrounding Art Nouveau scenic artwork seamlessly: layered indigo water, oxidized-teal clouds, silver moonlight, sweeping curved forms, broad hand-painted gouache strokes, subtle canvas texture and period theatrical pigment variation. Match the existing composition, brush direction, perspective, color transitions, illumination and surface wear exactly. Preserve every unmasked area of the archival photograph.
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:300@1',
positivePrompt: 'Remove the entire matte-black cardboard scale figure. Reconstruct the newly exposed section of the moonlit harbor cyclorama as though the figure had never been present. Continue the surrounding Art Nouveau scenic artwork seamlessly: layered indigo water, oxidized-teal clouds, silver moonlight, sweeping curved forms, broad hand-painted gouache strokes, subtle canvas texture and period theatrical pigment variation. Match the existing composition, brush direction, perspective, color transitions, illumination and surface wear exactly. Preserve every unmasked area of the archival photograph.',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/c3a5e0c5-67af-4577-a6b9-14246c7a14cf.jpg',
mask: 'https://assets.runware.ai/assets/inputs/0233bbb8-4157-4709-9853-5d657a9fae87.png'
}
})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:300@1",
"positivePrompt": "Remove the entire matte-black cardboard scale figure. Reconstruct the newly exposed section of the moonlit harbor cyclorama as though the figure had never been present. Continue the surrounding Art Nouveau scenic artwork seamlessly: layered indigo water, oxidized-teal clouds, silver moonlight, sweeping curved forms, broad hand-painted gouache strokes, subtle canvas texture and period theatrical pigment variation. Match the existing composition, brush direction, perspective, color transitions, illumination and surface wear exactly. Preserve every unmasked area of the archival photograph.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/c3a5e0c5-67af-4577-a6b9-14246c7a14cf.jpg",
"mask": "https://assets.runware.ai/assets/inputs/0233bbb8-4157-4709-9853-5d657a9fae87.png"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "82b0bdef-fe70-4587-9253-2f89b9c62ccf",
"model": "runware:300@1",
"positivePrompt": "Remove the entire matte-black cardboard scale figure. Reconstruct the newly exposed section of the moonlit harbor cyclorama as though the figure had never been present. Continue the surrounding Art Nouveau scenic artwork seamlessly: layered indigo water, oxidized-teal clouds, silver moonlight, sweeping curved forms, broad hand-painted gouache strokes, subtle canvas texture and period theatrical pigment variation. Match the existing composition, brush direction, perspective, color transitions, illumination and surface wear exactly. Preserve every unmasked area of the archival photograph.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/c3a5e0c5-67af-4577-a6b9-14246c7a14cf.jpg",
"mask": "https://assets.runware.ai/assets/inputs/0233bbb8-4157-4709-9853-5d657a9fae87.png"
}
}
]'runware run runware:300@1 \
positivePrompt="Remove the entire matte-black cardboard scale figure. Reconstruct the newly exposed section of the moonlit harbor cyclorama as though the figure had never been present. Continue the surrounding Art Nouveau scenic artwork seamlessly: layered indigo water, oxidized-teal clouds, silver moonlight, sweeping curved forms, broad hand-painted gouache strokes, subtle canvas texture and period theatrical pigment variation. Match the existing composition, brush direction, perspective, color transitions, illumination and surface wear exactly. Preserve every unmasked area of the archival photograph." \
inputs.image=https://assets.runware.ai/assets/inputs/c3a5e0c5-67af-4577-a6b9-14246c7a14cf.jpg \
inputs.mask=https://assets.runware.ai/assets/inputs/0233bbb8-4157-4709-9853-5d657a9fae87.png{
"taskType": "imageInference",
"taskUUID": "82b0bdef-fe70-4587-9253-2f89b9c62ccf",
"model": "runware:300@1",
"positivePrompt": "Remove the entire matte-black cardboard scale figure. Reconstruct the newly exposed section of the moonlit harbor cyclorama as though the figure had never been present. Continue the surrounding Art Nouveau scenic artwork seamlessly: layered indigo water, oxidized-teal clouds, silver moonlight, sweeping curved forms, broad hand-painted gouache strokes, subtle canvas texture and period theatrical pigment variation. Match the existing composition, brush direction, perspective, color transitions, illumination and surface wear exactly. Preserve every unmasked area of the archival photograph.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/c3a5e0c5-67af-4577-a6b9-14246c7a14cf.jpg",
"mask": "https://assets.runware.ai/assets/inputs/0233bbb8-4157-4709-9853-5d657a9fae87.png"
}
}{
"taskType": "imageInference",
"taskUUID": "82b0bdef-fe70-4587-9253-2f89b9c62ccf",
"imageUUID": "bb826c13-ae49-4cd1-b04b-db67da05ce24",
"imageURL": "https://im.runware.ai/image/os/a04d20/ws/3/ii/bb826c13-ae49-4cd1-b04b-db67da05ce24.jpg",
"seed": 731423990,
"cost": 0.0038
}Risograph Atrium Photo Restyle

Remove the masked folding caution sign completely. Reconstruct the newly exposed terrazzo floor as a seamless continuation of the surrounding geometric tile pattern, including correct perspective, grout alignment, soft daylight, and subtle floor shading. Match the existing limited-color risograph treatment exactly: celadon, navy, cream, and persimmon ink layers, coarse halftone grain, flat graphic shapes, and slight print misregistration. Preserve all unmasked architecture and composition. Leave no object fragments, silhouette, halo, replacement object, or artificial patch.
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:300@1',
positivePrompt: 'Remove the masked folding caution sign completely. Reconstruct the newly exposed terrazzo floor as a seamless continuation of the surrounding geometric tile pattern, including correct perspective, grout alignment, soft daylight, and subtle floor shading. Match the existing limited-color risograph treatment exactly: celadon, navy, cream, and persimmon ink layers, coarse halftone grain, flat graphic shapes, and slight print misregistration. Preserve all unmasked architecture and composition. Leave no object fragments, silhouette, halo, replacement object, or artificial patch.',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/4703dcf3-704b-48b3-ab7e-0ef9d2d6cbf9.jpg',
mask: 'https://assets.runware.ai/assets/inputs/efdc2a39-2b8e-4350-8745-889d5a1e0320.png'
}
})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:300@1",
"positivePrompt": "Remove the masked folding caution sign completely. Reconstruct the newly exposed terrazzo floor as a seamless continuation of the surrounding geometric tile pattern, including correct perspective, grout alignment, soft daylight, and subtle floor shading. Match the existing limited-color risograph treatment exactly: celadon, navy, cream, and persimmon ink layers, coarse halftone grain, flat graphic shapes, and slight print misregistration. Preserve all unmasked architecture and composition. Leave no object fragments, silhouette, halo, replacement object, or artificial patch.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/4703dcf3-704b-48b3-ab7e-0ef9d2d6cbf9.jpg",
"mask": "https://assets.runware.ai/assets/inputs/efdc2a39-2b8e-4350-8745-889d5a1e0320.png"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "64906f29-fc80-45c2-a412-4bd9b844ff25",
"model": "runware:300@1",
"positivePrompt": "Remove the masked folding caution sign completely. Reconstruct the newly exposed terrazzo floor as a seamless continuation of the surrounding geometric tile pattern, including correct perspective, grout alignment, soft daylight, and subtle floor shading. Match the existing limited-color risograph treatment exactly: celadon, navy, cream, and persimmon ink layers, coarse halftone grain, flat graphic shapes, and slight print misregistration. Preserve all unmasked architecture and composition. Leave no object fragments, silhouette, halo, replacement object, or artificial patch.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/4703dcf3-704b-48b3-ab7e-0ef9d2d6cbf9.jpg",
"mask": "https://assets.runware.ai/assets/inputs/efdc2a39-2b8e-4350-8745-889d5a1e0320.png"
}
}
]'runware run runware:300@1 \
positivePrompt="Remove the masked folding caution sign completely. Reconstruct the newly exposed terrazzo floor as a seamless continuation of the surrounding geometric tile pattern, including correct perspective, grout alignment, soft daylight, and subtle floor shading. Match the existing limited-color risograph treatment exactly: celadon, navy, cream, and persimmon ink layers, coarse halftone grain, flat graphic shapes, and slight print misregistration. Preserve all unmasked architecture and composition. Leave no object fragments, silhouette, halo, replacement object, or artificial patch." \
inputs.image=https://assets.runware.ai/assets/inputs/4703dcf3-704b-48b3-ab7e-0ef9d2d6cbf9.jpg \
inputs.mask=https://assets.runware.ai/assets/inputs/efdc2a39-2b8e-4350-8745-889d5a1e0320.png{
"taskType": "imageInference",
"taskUUID": "64906f29-fc80-45c2-a412-4bd9b844ff25",
"model": "runware:300@1",
"positivePrompt": "Remove the masked folding caution sign completely. Reconstruct the newly exposed terrazzo floor as a seamless continuation of the surrounding geometric tile pattern, including correct perspective, grout alignment, soft daylight, and subtle floor shading. Match the existing limited-color risograph treatment exactly: celadon, navy, cream, and persimmon ink layers, coarse halftone grain, flat graphic shapes, and slight print misregistration. Preserve all unmasked architecture and composition. Leave no object fragments, silhouette, halo, replacement object, or artificial patch.",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/4703dcf3-704b-48b3-ab7e-0ef9d2d6cbf9.jpg",
"mask": "https://assets.runware.ai/assets/inputs/efdc2a39-2b8e-4350-8745-889d5a1e0320.png"
}
}{
"taskType": "imageInference",
"taskUUID": "64906f29-fc80-45c2-a412-4bd9b844ff25",
"imageUUID": "efd3595e-b2e9-4a10-b246-d25b52275fd9",
"imageURL": "https://im.runware.ai/image/os/a06dlim3/ws/3/ii/efd3595e-b2e9-4a10-b246-d25b52275fd9.jpg",
"seed": 1313993267,
"cost": 0.0051
}Geothermal Exhibit Panoramic Clean Plate

Remove the entire orange monitoring pod and reconstruct the geothermal terrace hidden behind it as a seamless panoramic clean plate. Continue the pale mineral shelf contours, thin turquoise water channels, subtle reflections, surface cracks, damp textures, drifting dawn mist, and soft ambient shadows with correct perspective. Match the surrounding cool overcast illumination, natural cyan and chalk-white color, documentary realism, lens character, grain, and depth. The repaired area must be indistinguishable from the original landscape, with no remaining equipment, silhouette, artificial patch, repeated texture, edge halo, or invented focal object.
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:300@1',
positivePrompt: 'Remove the entire orange monitoring pod and reconstruct the geothermal terrace hidden behind it as a seamless panoramic clean plate. Continue the pale mineral shelf contours, thin turquoise water channels, subtle reflections, surface cracks, damp textures, drifting dawn mist, and soft ambient shadows with correct perspective. Match the surrounding cool overcast illumination, natural cyan and chalk-white color, documentary realism, lens character, grain, and depth. The repaired area must be indistinguishable from the original landscape, with no remaining equipment, silhouette, artificial patch, repeated texture, edge halo, or invented focal object.',
seed: 184726,
steps: 5,
CFGScale: 3.5,
inputs: {
image: 'https://assets.runware.ai/assets/inputs/d22dd263-eb69-4b9c-9472-1a4baefcd28c.jpg',
mask: 'https://assets.runware.ai/assets/inputs/ad32226b-ba2d-41ba-9d17-a8141230ff89.png'
}
})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:300@1",
"positivePrompt": "Remove the entire orange monitoring pod and reconstruct the geothermal terrace hidden behind it as a seamless panoramic clean plate. Continue the pale mineral shelf contours, thin turquoise water channels, subtle reflections, surface cracks, damp textures, drifting dawn mist, and soft ambient shadows with correct perspective. Match the surrounding cool overcast illumination, natural cyan and chalk-white color, documentary realism, lens character, grain, and depth. The repaired area must be indistinguishable from the original landscape, with no remaining equipment, silhouette, artificial patch, repeated texture, edge halo, or invented focal object.",
"seed": 184726,
"steps": 5,
"CFGScale": 3.5,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/d22dd263-eb69-4b9c-9472-1a4baefcd28c.jpg",
"mask": "https://assets.runware.ai/assets/inputs/ad32226b-ba2d-41ba-9d17-a8141230ff89.png"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "09e38d35-8398-444d-acb5-43d2c1ab5016",
"model": "runware:300@1",
"positivePrompt": "Remove the entire orange monitoring pod and reconstruct the geothermal terrace hidden behind it as a seamless panoramic clean plate. Continue the pale mineral shelf contours, thin turquoise water channels, subtle reflections, surface cracks, damp textures, drifting dawn mist, and soft ambient shadows with correct perspective. Match the surrounding cool overcast illumination, natural cyan and chalk-white color, documentary realism, lens character, grain, and depth. The repaired area must be indistinguishable from the original landscape, with no remaining equipment, silhouette, artificial patch, repeated texture, edge halo, or invented focal object.",
"seed": 184726,
"steps": 5,
"CFGScale": 3.5,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/d22dd263-eb69-4b9c-9472-1a4baefcd28c.jpg",
"mask": "https://assets.runware.ai/assets/inputs/ad32226b-ba2d-41ba-9d17-a8141230ff89.png"
}
}
]'runware run runware:300@1 \
positivePrompt="Remove the entire orange monitoring pod and reconstruct the geothermal terrace hidden behind it as a seamless panoramic clean plate. Continue the pale mineral shelf contours, thin turquoise water channels, subtle reflections, surface cracks, damp textures, drifting dawn mist, and soft ambient shadows with correct perspective. Match the surrounding cool overcast illumination, natural cyan and chalk-white color, documentary realism, lens character, grain, and depth. The repaired area must be indistinguishable from the original landscape, with no remaining equipment, silhouette, artificial patch, repeated texture, edge halo, or invented focal object." \
seed=184726 \
steps=5 \
CFGScale=3.5 \
inputs.image=https://assets.runware.ai/assets/inputs/d22dd263-eb69-4b9c-9472-1a4baefcd28c.jpg \
inputs.mask=https://assets.runware.ai/assets/inputs/ad32226b-ba2d-41ba-9d17-a8141230ff89.png{
"taskType": "imageInference",
"taskUUID": "09e38d35-8398-444d-acb5-43d2c1ab5016",
"model": "runware:300@1",
"positivePrompt": "Remove the entire orange monitoring pod and reconstruct the geothermal terrace hidden behind it as a seamless panoramic clean plate. Continue the pale mineral shelf contours, thin turquoise water channels, subtle reflections, surface cracks, damp textures, drifting dawn mist, and soft ambient shadows with correct perspective. Match the surrounding cool overcast illumination, natural cyan and chalk-white color, documentary realism, lens character, grain, and depth. The repaired area must be indistinguishable from the original landscape, with no remaining equipment, silhouette, artificial patch, repeated texture, edge halo, or invented focal object.",
"seed": 184726,
"steps": 5,
"CFGScale": 3.5,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/d22dd263-eb69-4b9c-9472-1a4baefcd28c.jpg",
"mask": "https://assets.runware.ai/assets/inputs/ad32226b-ba2d-41ba-9d17-a8141230ff89.png"
}
}{
"taskType": "imageInference",
"taskUUID": "09e38d35-8398-444d-acb5-43d2c1ab5016",
"imageUUID": "84293d85-2d7a-4c60-8f50-cc5d75f36ad7",
"imageURL": "https://im.runware.ai/image/os/a04d20/ws/3/ii/84293d85-2d7a-4c60-8f50-cc5d75f36ad7.jpg",
"seed": 184726,
"cost": 0.0064
}