iordcalin / material-transfer

Transfer a material from an image to a subject

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

Input

*file
Preview
material_image

Material to transfer to the input image

*file
Preview
subject_image

Subject image to transfer the material to

string
Shift + Return to add a new line

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

Default: "marble sculpture"

string
Shift + Return to add a new line

What you do not want to see in the image

Default: ""

number
(minimum: 1, maximum: 10)

Guidance scale for the diffusion process

Default: 2

integer

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

Default: 6

integer

Max width of the output image

Default: 1920

integer

Max height of the output image

Default: 1920

string

Strength of the material

Default: "medium"

boolean

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

Default: false

integer

Set a seed for reproducibility. Random by default.

string

Format of the output images

Default: "webp"

integer
(minimum: 0, maximum: 100)

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

Default: 80

Output

output
Generated in

Run time and cost

This model costs approximately $0.12 to run on Replicate, or 8 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 119 seconds. The predict time for this model varies significantly based on the inputs.

Readme

This model doesn't have a readme.