Properties
| Name | Type | Description |
|---|---|---|
| effectType | string | |
| properties | object | Effect-specific properties (e.g., BlurAmount for GaussianBlur) |
| animatableProperties | array | Properties that can be animated |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateEffectRequest",
"title": "CreateEffectRequest",
"type": "object",
"properties": {
"effectType": {
"type": "string",
"enum": [
"GaussianBlur",
"Saturation",
"Grayscale",
"Invert",
"Sepia",
"TemperatureAndTint",
"Composite"
]
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "number"
},
"description": "Effect-specific properties (e.g., BlurAmount for GaussianBlur)"
},
"animatableProperties": {
"type": "array",
"items": {
"type": "string"
},
"description": "Properties that can be animated"
}
},
"required": [
"effectType"
]
}