You're looking at a specific version of this model. Jump to the model overview.
mistake0316 /style-transfer-clip:4f26fddb
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 |
---|---|---|---|
image |
string
|
input image
|
|
text |
string
|
prompt text
|
|
optimize_steps |
integer
|
100
|
total steps
|
display_every_step |
integer
|
10
|
None
|
resize_flag |
boolean
(enum)
|
Options: True, False |
resize image or not
|
short_edge_target_len |
integer
|
384
|
the short edge size if resize_flag is True
|
center_crop_flag |
boolean
(enum)
|
Options: True, False |
center crop content image or not
|
output_aug_flag |
boolean
(enum)
|
Options: True, False |
augment before compute clip loss
|
output_aug_time |
integer
|
8
|
augment times if output_aug_flag is True
|
lr |
number
|
0.01
|
None
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'properties': {'file': {'format': 'uri',
'type': 'string',
'x-order': 0},
'text': {'type': 'string', 'x-order': 1}},
'type': 'object'},
'type': 'array',
'x-cog-array-type': 'iterator'}