image_generate_palette
Extract dominant colors from an image or video frame and generate color harmony palettes using complementary, analogous, triadic, or split-complementary schemes.
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 |
|---|---|---|---|
| image_path | Yes | ||
| harmony | No | complementary | |
| n_colors | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||