iordcalin / material-transfer

Transfer a material from an image to a subject

  • Public
  • 8.8K runs
  • L40S
  • GitHub
  • License

Run iordcalin/material-transfer with an API

Input schema

seedinteger

Set a seed for reproducibility. Random by default.

stepsinteger

Number of steps. 6 steps gives good results, but try increasing to 15 or 20 if you need more detail

Default
6
promptstring

Use a prompt that describe the image when the material is applied

Default
"marble sculpture"
max_widthinteger

Max width of the output image

Default
1920
max_heightinteger

Max height of the output image

Default
1920
output_formatstring

Format of the output images

Default
"webp"
subject_imageuri

Subject image to transfer the material to

guidance_scalenumber

Guidance scale for the diffusion process

Default
2
Minimum
1
Maximum
10
material_imageuri

Material to transfer to the input image

output_qualityinteger

Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.

Default
80
Maximum
100
negative_promptstring

What you do not want to see in the image

material_strengthstring

Strength of the material

Default
"medium"
return_intermediate_imagesboolean

Return intermediate images like mask, and annotated images. Useful for debugging.

Output schema

Type
uri[]