generate_image_with_colors
Create custom images using text prompts and color palettes with Amazon Nova Canvas. Save images to a specified workspace for use in mockups, UI designs, and visual concepts.
Instructions
Generate an image using Amazon Nova Canvas with color guidance.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cfg_scale | No | How strongly the image adheres to the prompt (1.1-10.0) | |
colors | Yes | List of up to 10 hexadecimal color values (e.g., "#FF9800") | |
filename | No | The name of the file to save the image to (without extension) | |
height | No | The height of the generated image (320-4096, divisible by 16) | |
negative_prompt | No | Text to define what not to include in the image (1-1024 characters) | |
number_of_images | No | The number of images to generate (1-5) | |
prompt | Yes | The text description of the image to generate (1-1024 characters) | |
quality | No | The quality of the generated image ("standard" or "premium") | standard |
seed | No | Seed for generation (0-858,993,459) | |
width | No | The width of the generated image (320-4096, divisible by 16) | |
workspace_dir | No | The current workspace directory where the image should be saved. CRITICAL: Assistant must always provide this parameter to save images to the user's current project. |