# Material Swap: change product fabrics, patterns, and finishes

Ideogram publishes a public search API over its indexed pages; the guide is at https://ideogram.toolspoint.net/agents/agent-access.

Source: https://ideogram.toolspoint.net/tools/material-swap/
Source observed: 2026-12-03T22:04:47.530Z
Last checked: 2026-12-03T22:04:47.53+00:00
Indexed: 2026-12-03T22:30:38.733+00:00

---

# Material Swap

Material Swap is our AI product-photo editor for changing the fabric, pattern, or finish of selected product areas. Paint the regions to change, choose a preset or upload a material reference, and generate a new image designed to retain the product’s shape, seams, and construction.

[Sign in](https://ideogram.toolspoint.net/apps/material-swap?demo_login=1&intent=app&source=tools-material-swap-header) · [Sign up](https://ideogram.toolspoint.net/apps/material-swap?demo_login=1&intent=app&source=tools-material-swap-header) · [Contact sales](https://ideogram.toolspoint.net/enterprise/?from=tools-material-swap)

![The same model wearing the hoodie in cream cable knit, from a knit reference](https://storage.googleapis.com/ideogram-static/website/images/87639adb06429dff.webp)

![Model wearing a charcoal fleece zip-up hoodie](https://storage.googleapis.com/ideogram-static/website/images/91662319c72fc637.webp)

## At a glance

- **What it changes:** The fabric, pattern, or finish of the parts you paint. The product’s shape, seams, and construction are designed to remain.
- **What you provide:** A product photo, one or more painted regions, and a preset or material image for each region.
- **How many at once:** Up to **six photos of the same product** per run, with up to **four regions per photo**.
- **Cost:** Material Swap requires a paid plan or bought credits. The **Generate** button shows the cost before running.
- **Input formats in the app:** PNG, JPEG, WebP, GIF, BMP, or TIFF, up to **50 MB** each.
- **Text prompting:** There is no text field in the app or prompt field through the API.

![Material Swap before-and-after: charcoal hoodie changed to cream cable knit](https://storage.googleapis.com/ideogram-static/website/images/87639adb06429dff.webp)

## App and API details

Material Swap takes color, texture, pattern scale, and orientation from a material reference and applies them to painted regions. It changes the surface appearance, not the physical product; treat each output as a visual concept to review.

| Detail | In the Ideogram app | Through the API |
|---|---|---|
| Product input | Up to six photos of the same product | One JPEG, PNG, or WebP product photo per request, up to 25 MB |
| Selection | Up to four painted regions per photo using Magic wand, Brush, Lasso, or Rectangle; at least one region is required | Up to four mask files matching the photo size; white changes and black is kept |
| Material | Preset from ten groups or your own material image | Material references up to 25 MB each; one for all masks or one per mask, paired in order |
| What carries over | Material color, texture, and pattern | Color, texture, pattern scale, and orientation |
| Text instruction | None; painted regions and material define the change | No prompt field |
| Image shape | Original, 1:1, 3:4, 4:3, 16:9, or 9:16; a new shape extends the scene | Same values through `aspect_ratio` |
| Quality | Low, Medium, or High; Medium is default | `low`, `medium`, or `high` |
| Access and cost | Paid plan or bought credits; Generate shows the cost first | Prepaid API credits; `dry_run=true` prices a request without running it |

## How to swap a product material

1. **Open Material Swap and add the product photo.** Choose a sharp photo where the area to change is clearly visible. Add up to six views of the same product if needed.
2. **Select the first part.** Use Magic wand, Brush, Lasso, or Rectangle. Clear mask starts the selection again.
3. **Pick a material for the region.** Choose a swatch from a material group or upload one image of your own fabric, leather, or finish. Every region needs a material.
4. **Add more regions if needed.** Add up to four regions per photo. A region can cover separate areas, such as both sleeves, and two regions can share a material.
5. **Set image shape and quality.** Keep Original or choose 1:1, 3:4, 4:3, 16:9, or 9:16. Choose Low, Medium, or High; Medium is the default.
6. **Generate and review.** Generate shows the cost first. Compare each result with the original at full size.

## Selection tools

- **Magic wand:** Click a product part; the selection snaps to that panel. It is fastest for clean panels.
- **Brush:** Paint freehand for soft or irregular parts or to add a missed edge.
- **Lasso:** Draw around curved panels, straps, or pockets with clear outlines.
- **Rectangle:** Box a straight-edged area such as a label panel or cushion face.

Brush strokes, clicks, and swatches apply to the selected region. Up to four regions are available per photo; one region can include several separate areas, and regions can share a material.

## Product example: hoodie and cable-knit reference

A sample before-and-after shows a model wearing a charcoal fleece zip-up hoodie, a cream cable-knit material reference, and the resulting cream cable-knit hoodie. The product, pose, and composition remain recognizable.

![Model wearing a charcoal fleece zip-up hoodie](https://storage.googleapis.com/ideogram-static/website/images/91662319c72fc637.webp)

*Product*

![Cream cable-knit fabric reference](https://storage.googleapis.com/ideogram-static/mini-apps/material-swap/materials/knit.webp)

*Reference*

![The same model wearing the hoodie in cream cable knit](https://storage.googleapis.com/ideogram-static/website/images/87639adb06429dff.webp)

*Result*

### Check edges and nearby parts

Paint only the part that should change. Leave out laces, zippers, trims, and soles unless they should also change. Check every result at full size. In one sample test, a mask over a sneaker’s heel panel with a blue canvas reference re-rendered the whole upper in canvas while the sole and lining stayed white.

![The starting image: a white leather low-top sneaker with a burnt orange suede heel panel, a light gray suede toe cap, white laces, and a white sole, on a light gray background.](https://storage.googleapis.com/ideogram-static/website/images/59ec12ec80d9efa1.webp)

*Sample product image.*

![The same sneaker with its whole upper, including the heel panel and toe cap, re-rendered in blue woven canvas. The laces are blue, and the sole and lining stay white.](https://storage.googleapis.com/ideogram-static/website/images/d97918ca3406bfe0.webp)

*Sample result.*

## Presets and references

We provide preset textiles, leathers, knits, metallic finishes, prints, and technical fabrics, or you can upload your own material.

![Denim material preset](https://storage.googleapis.com/ideogram-static/mini-apps/material-swap/materials/denim.webp)

*Denim*

![Floral print material preset](https://storage.googleapis.com/ideogram-static/mini-apps/material-swap/materials/floral.webp)

*Floral print*

![Cable knit material preset](https://storage.googleapis.com/ideogram-static/mini-apps/material-swap/materials/knit.webp)

*Cable knit*

![Gold sequins material preset](https://storage.googleapis.com/ideogram-static/mini-apps/material-swap/materials/metallic.webp)

*Gold sequins*

### Preset groups

| Group | Presets |
|---|---|
| Cotton & linen | Cotton poplin, linen, chambray, cotton jersey |
| Denim & workwear | Denim, light-wash denim, corduroy, cotton canvas |
| Leather & suede | Leather, patent leather, croc emboss |
| Knitwear | Cable knit, ribbed knit, chunky wool, fleece, waffle knit, French terry |
| Silk & drape | Satin, silk charmeuse, velvet, chiffon |
| Sheer & lace | Lace, organza |
| Metallic & embellished | Metallic, lamé, foil coated, beaded |
| Prints | Floral print, plaid, stripe, gingham, camouflage |
| Animal print | Leopard, snow leopard, cheetah, tiger, zebra, giraffe, snakeskin, dalmatian, cow print, tortoiseshell |
| Technical | Ripstop nylon, mesh, neoprene, softshell |

### How to prepare a material reference

- **Show only the material:** Crop out hangers, labels, hands, and backgrounds; unrelated content can carry into the result.
- **Shoot it flat and evenly lit:** Folds, creases, and hard shadows can become part of the texture.
- **Match the scale:** Pattern scale comes from the reference. Crop to the repeat size expected on the product.
- **Mind direction:** Stripes, twills, corduroy wales, and wood grain retain orientation. Rotate the reference if necessary.

## Patterns, products, and common uses

To change a pattern, paint the garment or panel and choose a preset such as plaid, stripe, gingham, floral, or animal print, or upload your own pattern. The result is designed to follow folds and seams rather than paste a flat image over the product. Crop or rotate the reference if the pattern is the wrong size or direction.

Common uses include:

- **Apparel fabrics:** Try denim, corduroy, fleece, satin, or lace while excluding linings, zips, and buttons.
- **Footwear:** Give toe cap, quarter, and heel different materials, up to four regions per photo; check laces and soles.
- **Bags and leather goods:** Try patent leather, croc emboss, or canvas while leaving buckles and zips outside the region.
- **Furniture and upholstery:** Change a seat, cushion, or headboard using a flat linen, velvet, or boucle reference.
- **Packaging finishes:** Apply metallic, foil, or textured finishes to a box face or pouch panel, then check printed text and logos.
- **Sampling before production:** Show material options from one product photo before ordering physical samples; confirm the real material separately.

## Color change versus material replacement

| Goal | Tool | What you provide | Main limitation |
|---|---|---|---|
| New color on the same material | [Colorways](https://ideogram.toolspoint.net/tools/colorways/) | Painted regions and a preset or hex color for each | Color is a target, not a measured match |
| New fabric, pattern, or finish | Material Swap | Painted regions and a preset or your own material image | Scale and direction come from the reference |
| Other change to one area described in words | [Precise Edit](https://ideogram.toolspoint.net/tools/precise-edit/) | Mask or edit window and written instruction | Review the area inside the window |

Material Swap is also available as `POST /v2/tool/material-swap`. See the [Material Swap API reference](https://developer.ideogram.ai/api-reference/tools/material-swap) and [pricing page](https://ideogram.toolspoint.net/pricing/).

## Multiple product photos and mixed materials

One run can contain up to six photos of the same product. Each photo has its own regions, so paint each view rather than only the first. Open every photo in the editor before generating so its size matches its masks.

Use the same material on the same product part across views, then compare outputs side by side because shade or pattern placement can vary between angles.

Each photo can have up to four regions, each with its own material. A region can cover disconnected areas such as both sleeves, straps, or sofa cushions. Two separately controlled regions can share the same material.

## Image shape and quality

**Original** preserves the photo’s shape. **1:1, 3:4, 4:3, 16:9, and 9:16** extend the scene, so newly generated content appears outside the original frame. Inspect those edges before cropping for a listing or ad.

Quality levels are **Low**, **Medium**, and **High**; Medium is the default. Generate shows the cost for the selected settings before running.

## What to check before publishing

Compare every result with the original at full size:

- Edges between the painted region and collars, piping, welts, soles, or other nearby parts
- Hardware, zips, buttons, and buckles that should remain unchanged
- Printed text, logos, and labels
- Pattern scale and direction compared with the real material
- Color under the product’s lighting
- Newly generated areas when using a new image shape

## Limits, files, and cost

- App product photos and material images: PNG, JPEG, WebP, GIF, BMP, or TIFF, up to **50 MB each**.
- Up to **six photos of the same product** per run.
- Up to **four material regions per photo**.
- Every region needs a painted area and a material.
- One image per custom-material selection.
- No text prompt.
- Paid plan or bought credits required; Generate shows the cost before running.
- Results are AI-generated images, not physical samples. Confirm fiber, weight, finish, and color with the real material.

## Troubleshooting

| What you see | What to try |
|---|---|
| Material spills onto a nearby part | Tighten the region with Brush or Lasso, use Magic wand for the panel, and leave a small gap from piping, soles, and hardware |
| Seams or stitching look softer | Try High quality and stop the region at the seam; use separate regions for adjacent panels |
| Pattern is too large or small | Crop the reference wider for a smaller repeat or tighter for a larger one, then rerun |
| Stripes or grain run the wrong way | Rotate the reference and upload it again |
| Finish looks too shiny or flat | Use a reference shot under soft, even light; hard highlights or deep shadows may become gloss or texture |
| Generate will not start | Every region on every photo needs both a painted area and a material |

## API workflow

The [Material Swap API](https://developer.ideogram.ai/api-reference/tools/material-swap) uses masks instead of painted regions:

1. Send one JPEG, PNG, or WebP product photo up to **25 MB**.
2. Add up to **four mask files** the same size as the photo. White marks the area to change; black is kept.
3. Add material reference images up to **25 MB each**, either one for every mask or one per mask paired in order.
4. Set `aspect_ratio` and `quality` when needed.
5. Add `dry_run=true` to the query string to see the price without running the request, then send the request for real.

API requests use prepaid API credits and have no prompt field.

## Terms

- **Region:** A photo part receiving one material; up to four per photo, and one region can cover separate areas.
- **Mask:** The painted area; in the API, a white-on-black image.
- **Reference:** A preset swatch or custom material photo whose color, texture, scale, and direction carry over.
- **Preset:** A ready-made swatch from one of the ten material groups.
- **Image shape:** Output aspect ratio. Original preserves the photo shape; other options extend the scene.

## Related Ideogram tools

- [Colorways](https://ideogram.toolspoint.net/tools/colorways/) — Keep the material and change its color, up to four parts per photo.
- [Precise Edit](https://ideogram.toolspoint.net/tools/precise-edit/) — Mask an area and describe another change in words.
- [Background Remover](https://ideogram.toolspoint.net/tools/background-remover/) — Cut a product out as a transparent PNG.
- [Upscale](https://ideogram.toolspoint.net/features/upscale/) — Enlarge a result 2×, 4×, or 8×.
- [Ad Resizer](https://ideogram.toolspoint.net/tools/ad-resizer/) — Create the sizes required by placements.
- [Mockup generator](https://ideogram.toolspoint.net/tools/mockup-generator/) — Place a design on a product photo.
- [Editable text layers](https://ideogram.toolspoint.net/features/text-layers/) — Change words in an image without redrawing it.
- [Ideogram Vector](https://ideogram.toolspoint.net/models/vector/) — Turn a PNG logo into a recolorable, resizable SVG.
- [Ecommerce](https://ideogram.toolspoint.net/ecommerce/) — Edit existing product photos.
- [Industries](https://ideogram.toolspoint.net/industries/) — Product-image work for apparel, footwear, home, and retail.
- [Batch Generation](https://ideogram.toolspoint.net/features/batch/) — Generate images from a spreadsheet of prompts.
- [Ideogram API](https://ideogram.toolspoint.net/platform) — Build image generation and editing into a product.

---

[Read this page’s summary](https://ideogram.toolspoint.net/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fideogram.ai%2Ftools%2Fmaterial-swap%2F&trace=t_380edc68d53d)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Ideogram’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://ideogram.toolspoint.net/agents/agent/faq?q={question}&trace=t_380edc68d53d`

[Tool guide and examples](https://ideogram.toolspoint.net/agents/agent-access) · [OpenAPI](https://ideogram.toolspoint.net/agents/api/public/v1/openapi.json) · [Page TLDR form](https://ideogram.toolspoint.net/agents/agent-tools/page-tldr?url=https%3A%2F%2Fideogram.ai%2Ftools%2Fmaterial-swap%2F). Opening a form does not execute a tool.