color_guided_generation
Create custom images using a specified color palette and text prompts with the AWS Nova Canvas MCP Server. Adjust dimensions, exclude unwanted attributes, and optionally reference an image for precise visual output.
Instructions
Generate an image using a specified color palette.
Args:
prompt: Text describing the image to be generated
colors: List of color codes (1-10 hex color codes, e.g., "#ff8080")
reference_image_path: File path of the reference image (optional)
negative_prompt: Text specifying attributes to exclude from generation
height: Output image height (pixels)
width: Output image width (pixels)
cfg_scale: Prompt matching degree (1-20)
ctx: MCP context
Returns:
Dict: Dictionary containing the file path of the generated image
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cfg_scale | No | ||
colors | Yes | ||
height | No | ||
negative_prompt | No | ||
prompt | Yes | ||
reference_image_path | No | ||
width | No |
Input Schema (JSON Schema)
{
"properties": {
"cfg_scale": {
"default": 8,
"title": "Cfg Scale",
"type": "number"
},
"colors": {
"items": {
"type": "string"
},
"title": "Colors",
"type": "array"
},
"height": {
"default": 512,
"title": "Height",
"type": "integer"
},
"negative_prompt": {
"default": "",
"title": "Negative Prompt",
"type": "string"
},
"prompt": {
"title": "Prompt",
"type": "string"
},
"reference_image_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Reference Image Path"
},
"width": {
"default": 512,
"title": "Width",
"type": "integer"
}
},
"required": [
"prompt",
"colors"
],
"title": "color_guided_generationArguments",
"type": "object"
}