返回顶部
n

nova-canvas

>-

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
68
下载量
0
收藏
概述
安装方式
版本历史

nova-canvas

# Nova Canvas Generate images via Amazon Nova Canvas on AWS Bedrock. ## AWS Auth Methods | Method | How to Use | |--------|------------| | **Bearer token** | `AWS_BEARER_TOKEN_BEDROCK` env var or `--bearer-token` | | **Environment variables** | Set `AWS_ACCESS_KEY_ID` + `AWS_SECRET_ACCESS_KEY` | | **Credentials file** | Configure `~/.aws/credentials` | | **Named profile** | `--profile my-profile` or `AWS_PROFILE` env var | | **Direct keys** | `--access-key AKIA... --secret-key ...` | | **Temporary credentials** | Add `--session-token` with direct keys | | **IAM instance role** | Auto-detected on EC2/ECS/Lambda | | **AWS SSO** | Run `aws sso login` first | Auto-detection order: direct keys → profile → bearer token → env vars → credentials file → instance role → SSO. ## Quick Start ```bash python3 {baseDir}/scripts/generate.py "your prompt" -o output.png python3 {baseDir}/scripts/generate.py "your prompt" -o output.png --profile work python3 {baseDir}/scripts/generate.py "your prompt" -o output.png --access-key AKIA... --secret-key ... ``` ## Parameters | Flag | Default | Description | |------|---------|-------------| | `prompt` | — | Text description of the image | | `-o, --output` | output.png | Output file path | | `-W, --width` | 1024 | Width 512-4096, divisible by 64 | | `-H, --height` | 1024 | Height 512-4096, divisible by 64 | | `-n, --count` | 1 | Number of images (1-5) | | `-q, --quality` | standard | `standard` or `premium` | | `-s, --seed` | random | Seed for reproducibility | | `--negative` | — | Negative prompt (what to avoid) | | `--cfg` | 8.0 | CFG scale 1.1-10.0 | | `--region` | us-east-1 | AWS region | | `--profile` | — | AWS named profile | | `--access-key` | — | AWS Access Key ID | | `--secret-key` | — | AWS Secret Access Key | | `--session-token` | — | AWS Session Token | | `--bearer-token` | — | Bearer token (overrides env) | ## Workflow 1. Craft a detailed English prompt (Nova Canvas performs best in English). 2. Choose size: square 1024×1024, landscape 1280×768, portrait 768×1280. 3. Run `generate.py` with `timeout=120`. 4. Send resulting image to user via `message` tool. ## Prompt Tips - Detailed English prompts yield best results. - Specify style: "oil painting", "watercolor", "3D render", "photograph", "anime". - Use `--negative "blurry, low quality, text, watermark"` to exclude unwanted elements.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 nova-canvas-1776022441 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 nova-canvas-1776022441 技能

通过命令行安装

skillhub install nova-canvas-1776022441

下载 Zip 包

⬇ 下载 nova-canvas v1.1.0

文件大小: 4.9 KB | 发布时间: 2026-4-13 11:13

v1.1.0 最新 2026-4-13 11:13
Support 8 AWS auth methods: Bearer token, IAM keys, profiles, credentials file, instance roles, SSO, session tokens, direct keys. Fixed region default to us-east-1.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部