You're looking at a specific version of this model. Jump to the model overview.
iordcalin /material-transfer:2f640c88
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
material_image |
string
|
Material to transfer to the input image
|
|
subject_image |
string
|
Subject image to transfer the material to
|
|
prompt |
string
|
marble sculpture
|
Use a prompt that describe the image when the material is applied
|
negative_prompt |
string
|
|
What you do not want to see in the image
|
guidance_scale |
number
|
2
Min: 1 Max: 10 |
Guidance scale for the diffusion process
|
steps |
integer
|
6
|
Number of steps. 6 steps gives good results, but try increasing to 15 or 20 if you need more detail
|
max_width |
integer
|
1920
|
Max width of the output image
|
max_height |
integer
|
1920
|
Max height of the output image
|
material_strength |
string
(enum)
|
medium
Options: medium, strong |
Strength of the material
|
return_intermediate_images |
boolean
|
False
|
Return intermediate images like mask, and annotated images. Useful for debugging.
|
seed |
integer
|
Set a seed for reproducibility. Random by default.
|
|
output_format |
string
(enum)
|
webp
Options: webp, jpg, png |
Format of the output images
|
output_quality |
integer
|
80
Max: 100 |
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}