Tstramer: Material Diffusion
tstramer/material-diffusion
Access Material Diffusion from Tstramer using the Puter.js AI API.
Add to your appModel Card
Material Diffusion is a Stable Diffusion v1.5 fork built by Replicate contributor tstramer, tuned specifically for generating tileable, seamless textures rather than framed scenes or portraits.
A regular text-to-image model produces one self-contained picture, and its edges don't need to line up with anything. Material Diffusion is trained so its output repeats cleanly at the edges, letting a generated pattern wrap onto a 3D model, tile across a floor, or drop into a game engine without a visible seam.
This makes it suited to material and texture generation for 3D and game asset pipelines. Instead of sourcing or hand-painting a wood grain, fabric, stone, or metal texture, an artist can generate one from a text prompt and use it directly as a repeating surface.
It's a narrow, single-purpose fork rather than a general image generator, aimed specifically at this texture-generation niche.
Cost Per Image $0.0014
per generation
Configuration second
resolution
Release Date N/A
Add Material Diffusion to your app
Use Material Diffusion in your app with the Puter.js AI API, no API keys or setup required.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.txt2img("A serene mountain landscape at sunset", {
model: "tstramer/material-diffusion"
}).then(image => {
document.body.appendChild(image);
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.txt2img("A serene mountain landscape at sunset", {
model: "tstramer/material-diffusion"
}).then(image => {
document.body.appendChild(image);
});
</script>
</body>
</html>
Frequently Asked Questions
You can access Material Diffusion by Tstramer through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required.
Material Diffusion is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.
| Price | |
|---|---|
| Per image | $0.0014 |
Yes — the Material Diffusion API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Add Material Diffusion to your app for free
Developers can integrate Material Diffusion for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.