You're looking at a specific version of this model. Jump to the model overview.
magpai-app /chroma-key:a38c486b
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 |
|---|---|---|---|
| background_media |
string
|
The video or image to use as the background
|
|
| foreground_video |
string
|
Foreground video to apply chroma key to
|
|
| color |
string
|
#00FF00
|
Color to use for the chroma key
|
| threshold |
number
|
100
|
Threshold to use for the chroma key
|
| stiffness |
number
|
5
|
Stiffness for the threshold clamping
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'video': {'format': 'uri', 'title': 'Video', 'type': 'string'}},
'required': ['video'],
'title': 'Output',
'type': 'object'}