Swap the fabric or material of a product in a photo.
Paint the parts to change, pick a preset or upload a photo of your own material, and get a new image that is designed to keep the product's shape, seams and construction.
Material Swap at a glance
Material Swap is an AI fabric and material changer for product photos. Use it to see a product in a new fabric, pattern or finish without a new photo shoot.
What it changes
The fabric, pattern or finish of the parts you paint. The product's shape, seams and construction are designed to stay as they were.
What you give it
A product photo, one or more painted regions, and a material for each region: a preset or a photo of your own material.
How many at once
Up to six photos of the same product in one run, with up to four regions on each photo and a material for each region.
What it costs
Material Swap needs a paid plan or bought credits. The Generate button shows the cost before anything runs.
Apply a fabric or finish from a reference photo to part of a product
Material Swap takes the color, texture, pattern scale and orientation from a material reference and applies them to the regions you paint. It changes how the surface looks, not the physical product, so treat each result 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 product photo per request, as JPEG, PNG or WebP up to 25 MB |
| Selection | Each photo takes up to four painted regions, made with Magic wand, Brush, Lasso or Rectangle, and needs at least one. | You can send up to four mask files the same size as the photo. White marks the region to change and black is kept. |
| Material | A preset from ten groups, from cotton and denim to leather, knitwear, metallics, prints and technical fabrics, or your own material image | Material reference images up to 25 MB each, as one image for all masks or one per mask, paired in order |
| What carries over | The material's color, texture and pattern | Color, texture, pattern scale and orientation |
| Text instruction | There is no text field. The painted regions and the material define the change. | There is no prompt field. |
| Image shape | Choose Original, 1:1, 3:4, 4:3, 16:9 or 9:16. A new shape extends the scene, so part of the frame is newly generated. | The same values through aspect_ratio |
| Quality | Low, Medium or High, with Medium as the default | low, medium or high |
| Access and cost | Material Swap is a premium app that needs a paid plan or bought credits. Generate shows the cost before you run it. | Requests use prepaid API credits. Add the dry_run=true query parameter to price a request without running it. |
How to swap a product material
-
Step 1
Open Material Swap and add the product photo
Choose a sharp photo where the part you want to change is clearly visible. To show the same product from several angles, add up to six photos; each one gets its own regions.
-
Step 2
Select the first part
Click a panel with Magic wand to select that part of the product, or draw it with Brush, Lasso or Rectangle. Clear mask starts the selection again.
-
Step 3
Pick a material for that region
Open a material group and click a swatch, or add one image of your own fabric, leather or finish under Your own material. A region can't run without a material.
-
Step 4
Add more regions if the product mixes materials
Add up to four regions per photo, for example a body, a collar, a trim and a lining. A region can cover several separate areas, such as both sleeves, and two regions can share a material.
-
Step 5
Set the image shape and quality
Keep Original to match the photo, or pick 1:1, 3:4, 4:3, 16:9 or 9:16. Choose Low, Medium or High quality; Medium is the default.
-
Step 6
Generate and review
Click Generate, which shows the cost first. Compare each result with the original at full size before you use it.
Select the parts to change
Material Swap changes only the regions you paint, and every photo needs at least one. Four selection tools cover clean panels, soft edges and straight-edged areas.
Magic wand
Click a part of the product and the selection snaps to that part, such as one panel of a shoe rather than the whole shoe. It is the fastest way to select a clean panel.
Brush
Paint the area freehand. Use it for soft or irregular parts, or to add a missed edge to a Magic wand selection.
Lasso
Draw around a shape. It suits curved panels, straps and pockets that have a clear outline.
Rectangle
Drag a box over a straight-edged area, such as a label panel on a box or a cushion face on a seat.
Brush strokes, clicks and swatches apply to the selected region. Add up to four regions per photo; one region can hold several separate areas, and regions can share a material.
See one product remade in a new material
A material reference changes the surface while the product, pose, and composition stay recognizable.


Check the edges and nearby parts
Paint only the part that changes, and leave out laces, zippers, trims and soles unless they should change too. Then check the edges and nearby parts in every result. In one 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.


One reference, many directions
From soft textiles to hard finishes
Choose from preset textiles, leathers, knits, metallic finishes, prints and technical fabrics, or upload your own material.
Material Swap takes pattern scale and orientation from the reference image, so choose a reference whose weave or print is at the scale you want on the product. Crop it to the material alone, without folds, shadows or labels. A weave that looks right in a close-up can read too large on a small panel.
Every preset material in the app
The material picker groups its presets into ten topics. Choose a group, then a swatch. To use a fabric that isn't here, add one image of it under Your own material.
| 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 |
What makes a good material reference
Your own material image decides how the new surface looks, so a clean reference matters more than a large one.
Show only the material
Crop out hangers, labels, hands and backgrounds. Anything else in the reference can carry into the result.
Shoot it flat and evenly lit
Folds, creases and hard shadows read as part of the texture. A flat sample under soft light gives the cleanest result.
Match the scale you want
Pattern scale comes from the reference, so a close-up of a large check reads as an oversized check on a small panel. Crop to the repeat size you expect on the product.
Mind the direction
Stripes, twills, corduroy wales and wood grain keep their orientation. Rotate the reference before you upload it if the direction is wrong.
Change the fabric pattern in a photo
To change a fabric pattern in a photo, paint the garment or panel and pick a pattern as the material: a preset print such as plaid, stripe, gingham, floral or an animal print, or a photo of your own pattern.
Material Swap carries the pattern's color, texture, scale and direction onto the painted part and is designed to follow the product's folds and seams rather than paste a flat image over them. Large repeats need room, so a big floral can look cropped on a narrow strap.
If the pattern lands at the wrong size, crop the reference tighter or wider and run it again. If it runs the wrong way, rotate the reference image.
Where teams use Material Swap
Any product photo with a part you can paint can take a new material. These are the common starting points.
Apparel fabrics
Try a jacket in denim, corduroy or fleece, or a dress in satin or lace, from one product photo. Paint the shell and leave linings, zips and buttons out of the region.
Footwear
Select one panel at a time with Magic wand and give the toe cap, quarter and heel different materials, up to four regions per photo. Check that laces and soles stay as they were.
Bags and leather goods
Swap smooth leather for patent, croc emboss or canvas, and keep the hardware out of the painted region so buckles and zips stay metal.
Furniture and upholstery
Paint a seat, cushion or headboard and try a fabric of your own, such as a linen, velvet or boucle swatch photographed flat.
Packaging finishes
Paint a box face or pouch panel and try a metallic, foil or textured finish from a reference photo, then check that printed text and logos are still legible.
Sampling before production
Show a buyer or a team several material options from one photo before ordering physical samples. Treat each image as a concept and confirm the real material separately.
Change the color or replace the material
| Goal | Tool | What you provide | Main limitation |
|---|---|---|---|
| A new color on the same material | Create color variants with Colorways | Painted regions and a preset or hex color for each | The color is a target, not a measured match. |
| A new fabric, pattern or finish | Material Swap | Painted regions and a preset or your own material image | Scale and direction come from the reference image. |
| Any other change to one area, described in words | Precise Edit | A mask or edit window and a written instruction | Review the area inside the window. |
Material Swap is also an API endpoint, POST /v2/tool/material-swap, documented
in the Material Swap API reference. Check current
access and usage on the pricing page.
Change the material across a set of product photos
One run can take up to six photos of the same product, such as a front, back, side and detail shot. Each photo keeps its own regions, so paint the parts on every photo rather than on the first one only.
Open every photo in the editor at least once before you generate. The app needs each photo's size to match its masks, and it asks you to open any photo it has not seen yet.
Give the same part the same material on every photo, for example the same denim swatch on the body of a jacket in all four views. Then compare the results side by side, since each photo is a separate image and small differences in shade or pattern placement can appear between angles.
Mix several materials on one product
Each photo can carry up to four material regions, and each region gets its own material. That lets you try a sneaker with a suede toe cap, a canvas quarter and a leather heel in one run.
A region does not have to be one connected area. Paint both sleeves, both straps or every cushion of a sofa while the same region is selected, and they all take that region's material.
Two regions can also use the same material when you want to control them separately, for example while you test whether the collar should match the body. Pick a region in the list before you paint or click a swatch, because both apply to the selected region.
Image shape and quality
Original keeps the photo's own shape. The other shapes, 1:1, 3:4, 4:3, 16:9 and 9:16, extend the scene to fit, so part of the frame is newly generated around the product. Check those new edges before you crop the result for a listing or an ad.
Quality has three levels: Low, Medium and High, with Medium as the default. The Generate button shows the cost for your settings before you run it.
What to check before you publish
Compare each result with the original photo at full size and look at:
- Edges between the painted region and nearby parts, such as collars, piping, welts and soles
- Hardware, zips, buttons and buckles that should not have changed
- Printed text, logos and labels on or next to the painted part
- Pattern scale and direction compared with your real material
- Color under the product's lighting, since screens and photos shift color
- Any area outside the original frame if you chose a new image shape
Limits, files and cost
- In the app, product photos and your own material image can be PNG, JPEG, WebP, GIF, BMP or TIFF, up to 50 MB each.
- One run takes up to six photos of the same product, with up to four material regions on each photo.
- Each region needs a painted area and a material before the run can start. There is no text prompt.
- Your own material is one image per pick. Preset swatches come from the ten groups above.
- Material Swap is a premium app: it needs a paid plan or bought credits, and Generate shows the cost before you run it.
- Results are AI-generated images, not a physical sample. Confirm fiber, weight, finish and color with the real material.
Fix common material swap problems
| What you see | What to try |
|---|---|
| The new material spills onto a nearby part | Tighten the painted region along that edge with Brush or Lasso, or select the panel with Magic wand, and keep a small gap from piping, soles and hardware. |
| Seams or stitching look softer than before | Try High quality, and check that the region stops at the seam instead of crossing it. Paint the panels on each side as separate regions if needed. |
| The pattern is too large or too small | Scale comes from the reference. Crop the reference wider for a smaller repeat or tighter for a larger one, then run it again. |
| Stripes or grain run the wrong way | Rotate the reference image to the direction you want and upload it again. |
| The finish looks too shiny or too flat | Use a reference photographed under soft, even light. Hard highlights or deep shadows in the sample can read as gloss or texture. |
| Generate will not start | Every region on every photo needs a painted area and a material. The app names what is missing, such as Pick a material for every region. |
Swap materials through the API
The Material Swap API takes the same inputs as the app, with masks you prepare yourself instead of painting:
- Send one product photo as JPEG, PNG or WebP up to 25 MB.
- Add up to four mask files the same size as the photo. White marks the area to change and black is kept.
- Add material reference images up to 25 MB each: one image used for every mask, or one per mask, paired in order.
- Set aspect_ratio and quality if you need them; the values match the app's image shape and quality options.
- Add dry_run=true to the query string to see the price of the request without running it, then send it for real.
There is no prompt field through the API either. Requests use prepaid API credits.
Terms used in Material Swap
- Region
- A part of the photo that gets one material. A photo can have up to four, and one region can cover several separate areas.
- Mask
- The painted area of a region. In the app you paint it; through the API you send it as a white-on-black image.
- Reference
- The image the new material comes from: a preset swatch or a photo of your own material. Its color, texture, pattern scale and direction carry over.
- Preset
- A ready-made swatch from the app's ten material groups, from cotton and denim to metallics and animal prints.
- Image shape
- The output's aspect ratio. Original keeps the photo's shape; the others extend the scene, so part of the frame is new.
More Ideogram tools for product images
Keep working on your image with these Ideogram tools.
- Colorways Keep the material and change its color, up to four parts per photo.
- Precise Edit Mask an area and describe any other change in words.
- Background Remover Cut the product out as a transparent PNG for a listing or layout.
- Upscale Enlarge a result 2x, 4x or 8x for print or large displays.
- Ad Resizer Turn a finished ad into the sizes each placement needs.
- Mockup generator Place a design on a product photo for a store or a pitch.
Explore more Ideogram features
Edit text, convert logos or bring Ideogram into your workflow.
- Editable text layers Change the words in an image without redrawing it.
- Ideogram Vector Turn a PNG logo into an SVG you can recolor and resize.
- Ecommerce Edit the product photos you already have.
- Industries See product image work for apparel, footwear, home and retail.
- Batch Generation Generate images from a spreadsheet of prompts.
- Ideogram API Build image generation and editing into your product.
Frequently asked questions
Will my image still be there after I sign in?
How do I change the fabric of clothing in a photo?
What can I use as a material reference?
Do I need a mask?
What details does Material Swap preserve?
Can I use patterns as well as materials?
What is an AI fabric swap?
Can I change the material of a product that isn't clothing?
How many photos and regions can I use?
Is Material Swap the same as texture transfer?
Which file types can I upload?
How much does Material Swap cost?
Will the new material match my real fabric exactly?
Keep reading
-
Comparison guide · 13 min read 5 Best AI Tools for Footwear Design Teams in 2026 -
Comparison guide · 16 min read 8 Best AI Image Generators for Fashion Photography in 2026 -
Workflow guide · 12 min read PDP photography with Ideogram: one product photo to a full image set -
Workflow guide · 12 min read How to edit product photos with Ideogram 4.5 -
Evaluation guide · 10 min read How to test AI product images for accuracy before they reach your catalog -
Comparison guide · 15 min read 8 Best AI Mockup Generators in 2026