BinerAI · Models · Docs · Pricing

tstramer / material-diffusion

Stable diffusion fork for generating tileable outputs using v1.5 model

  • Price: $0.0004 per second of GPU time, billed from prepaid credit. Failed runs are free.
  • License: Unknown
  • Collection: Generate images
  • Status: available now

Run tstramer/material-diffusion with the API

curl -s https://binerai.biner.dev/v1/predictions \
  -H "Authorization: Bearer $BINERAI_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"tstramer/material-diffusion","input":{}}'

Then poll GET https://binerai.biner.dev/v1/predictions/:id or pass a webhook URL. Full reference: API docs.

Input

FieldTypeDescription
maskstringBlack and white image to use as mask for inpainting over init_image. Black pixels are inpainted and white pixels are preserved. Tends to work better with prompt strength of 0.5-0.7. Consider using https://replicate.com/andreasjansson/stable-diffusion-inpainting instead.
seedintegerRandom seed. Leave blank to randomize the seed
widthstring, default 512Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
heightstring, default 512Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
promptstring, default ""Input prompt
schedulerstring, default "K-LMS"Choose a scheduler. If you use an init image, PNDM will be used
init_imagestringInital image to generate variations of. Will be resized to the specified width and height
num_outputsinteger, default 1Number of images to output. If the NSFW filter is triggered, you may get fewer outputs than this.
guidance_scalenumber, default 7.5Scale for classifier-free guidance
prompt_strengthnumber, default 0.8Prompt strength when using init image. 1.0 corresponds to full destruction of information in init image
num_inference_stepsinteger, default 50Number of denoising steps

Examples

Example runs from Replicate.

  • Mossy Runic Bricks seamless texture, trending on artstation, stone, moss, base color, albedo, 4k output

Description via replicate.