Sign in

Apps / Material Swap

Change the material. Keep the product.

Material Swap is an AI material and texture transfer tool. Paint the parts of a product photo you want to change, pick a preset material or upload a photo of your own fabric or finish, and get a new image that keeps the product's shape, seams and construction.

Material Swap is a premium app in Ideogram, and it is also available through the API.

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

  1. Step 1

    Add the product photo

    Choose a clear product photo, or up to six photos of the same product from different angles.

  2. Step 2

    Paint the parts to change

    Mark each part with Magic wand, Brush, Lasso or Rectangle. Each photo can have up to four regions, and each region gets its own material.

  3. Step 3

    Choose a reference that shows the surface clearly

    Pick a preset or upload your own material. A flat, evenly lit close-up that shows only the material works best. Then click Generate, which shows the cost first.

See one product remade in a new material

A material reference changes the surface while the product, pose, and composition stay recognizable.

Product Model wearing a charcoal fleece zip-up hoodie
Reference Cream cable-knit fabric reference
Result The same model wearing the hoodie in cream cable knit

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.

Product 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.
Result 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.

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.

Denim
Floral print
Cable knit
Gold sequins

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.

Frequently asked questions

What can I use as a material reference?
You can use a clear image of a fabric, pattern, texture or surface finish. Use a flat, evenly lit close-up that shows only the material, because its grain, scale and direction carry into the result.
Do I need a mask?
In the Ideogram app, yes. Each photo needs at least one painted region, because Material Swap changes only the regions you paint. Use Magic wand to select a panel with one click, or Brush, Lasso or Rectangle for other shapes.
What details does Material Swap preserve?
It is designed to keep the product’s shape, seams, construction and hardware, and everything outside the painted regions. Check edges, trims and logos in each result before you publish.
Can I use patterns as well as materials?
Yes. The reference can communicate a solid material, repeating pattern, textile weave, grain, or other surface texture.