image_generate_palette
Generate harmonious color palettes from an image or video frame by extracting dominant colors and applying color-theory harmonies (complementary, analogous, triadic, split-complementary).
Instructions
Generate a color harmony palette from an image or video frame.
Extracts the dominant color and generates harmonious colors based on color theory (complementary, analogous, triadic, split_complementary).
Args: image_path: Absolute path to the image or video file. If video, extracts a representative frame. harmony: Harmony type (complementary, analogous, triadic, split_complementary). n_colors: Number of dominant colors to base palette on (default 5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| harmony | No | complementary | |
| n_colors | No | ||
| overwrite | No | Explicitly allow replacing existing media. Existing non-media files are protected. | |
| image_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||