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
| Field | Type | Description |
|---|---|---|
mask | string | Black 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. |
seed | integer | Random seed. Leave blank to randomize the seed |
width | string, default 512 | Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits |
height | string, default 512 | Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits |
prompt | string, default "" | Input prompt |
scheduler | string, default "K-LMS" | Choose a scheduler. If you use an init image, PNDM will be used |
init_image | string | Inital image to generate variations of. Will be resized to the specified width and height |
num_outputs | integer, default 1 | Number of images to output. If the NSFW filter is triggered, you may get fewer outputs than this. |
guidance_scale | number, default 7.5 | Scale for classifier-free guidance |
prompt_strength | number, default 0.8 | Prompt strength when using init image. 1.0 corresponds to full destruction of information in init image |
num_inference_steps | integer, default 50 | Number 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.