Bona Movie Production

SkillDB 作者 chengzipi v1.0.1

Bona Movie Production is Bona Group's film-grade production skill. It covers image generation, image editing, and video generation, using Nano Banana 2 and Nano Banana Pro for images, and Seedance plus generate_video_kling_v3 for videos.

源码 ↗

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install skilldb:chengzipidaily~boka-movie-skills
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/skilldb%3Achengzipidaily~boka-movie-skills/file -o boka-movie-skills.md
Git 仓库获取源码
git clone https://github.com/openclaw/skills/commit/98647ce4026f1ef606c73ae2371cd89a126abc67
# Bona Movie Production

这是博纳集团电影级的制作 Skill,包含:

- 图片生成
- 图片编辑
- 视频生成

流程:

- 创建任务后,持续轮询查询任务结果
- 轮询状态为 `9` 说明生成完毕
- `-1` 为生成失败
- `1` 是正在生成中
- 图片大概 `1min`
- 视频大概 `3-5min`

当前 Skill 只使用四个模型:

- 图片:`generate_image_nano_banana_2`、`generate_image_nano_banana_pro`
- 视频:`generate_video_seedance`、`generate_video_kling_v3`

使用前先配置环境变量:

```bash
export BONA_API_KEY="your_api_key"
```

## 一、图片生成

- `Nano Banana 2`
  更偏理解能力。适合复杂指令、参考图理解、换视角、文本渲染、多图关系理解。
- `Nano Banana Pro`
  更偏最终质量。适合高质量成片、商业视觉、海报、封面、九宫格或 5x5 宫格输出。

### 1. `generate_image_nano_banana_2`

适合:

- 指令复杂
- 要求理解更强
- 文字内容多
- 多元素关系清晰

参数规则:

- 分辨率:`0.5K`、`1K`、`2K`、`4K`
- 比例:`1:1`、`1:4`、`1:8`、`2:3`、`3:2`、`3:4`、`4:1`、`4:3`、`4:5`、`5:4`、`8:1`、`9:16`、`16:9`、`21:9`

Prompt 写法:

- 必须用英文
- 用户需求清晰时,尽量保持原意
- 不清晰时,按 主体 + 场景 + 风格 + 光线 + 细节 来写
- 如果要文字渲染,直接把文字内容写进 prompt

示例:

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_2 \
  --image-name "hero-character-design" \
  --prompt "A modern bookstore cafe interior with warm wood shelves, soft afternoon sunlight, a handwritten chalkboard menu, calm and inviting atmosphere, editorial interior photography" \
  --task-type TEXT_TO_IMAGE \
  --resolution 2K \
  --aspect-ratio 4:3
```

### 2. `generate_image_nano_banana_pro`

适合:

- 成片质量优先
- 广告图
- 质感、细节、商业感更重要

参数规则:

- 分辨率:`1K`、`2K`、`4K`
- 比例:`21:9`、`16:9`、`4:3`、`3:2`、`1:1`、`9:16`、`3:4`、`2:3`、`5:4`、`4:5`

Prompt 写法:

- 必须用英文
- 适合写高质量商业表达
- 强调材质、光线、构图、品牌感

示例:

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_pro \
  --image-name "premium-key-visual" \
  --prompt "A premium skincare bottle on polished black stone, controlled studio side lighting, luxury beauty advertising, sharp reflections, elegant minimal composition" \
  --task-type TEXT_TO_IMAGE \
  --resolution 4K \
  --aspect-ratio 4:5
```

## 二、图片编辑

### 1. `generate_image_nano_banana_2`

适合:

- 精确编辑
- 改一处、保留其余不变
- 对指令理解要求高

Prompt 写法:

- 必须用英文
- 明确要保留什么
- 明确只改什么
- 常用句式:
  `change only X to Y`
  `add/remove X while keeping everything else unchanged`

示例:

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_2 \
  --image-name "character-bg-edit" \
  --prompt "Change only the wall color to muted olive green while keeping the furniture, layout, lighting, and camera angle unchanged" \
  --image-url https://example.com/room.png \
  --task-type EDIT_SINGLE_IMAGE \
  --aspect-ratio 4:3 \
  --resolution 1K
```

### 2. `generate_image_nano_banana_pro`

适合:

- 成片质感优先的编辑
- 海报、封面、商业人像精修

示例:

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_pro \
  --image-name "fashion-campaign-edit" \
  --prompt "Change only the background to a luxury hotel lobby, keeping the model pose, facial expression, clothing, and lighting direction unchanged, premium fashion campaign look" \
  --image-url https://example.com/model.png \
  --task-type EDIT_SINGLE_IMAGE \
  --aspect-ratio 3:4 \
  --resolution 2K
```

## 三、参考图生成

### 1. `generate_image_nano_banana_2`

适合:

- 参考图理解
- 角色一致性
- 多图语义关系清晰

Prompt 写法:

- 必须用英文
- 用 `the first image`、`the second image`
- 明确每张参考图负责什么
- 如果要角色一致,直接写 `keep character consistent`

示例:

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_2 \
  --image-name "character-consistency-scene" \
  --prompt "Refer to the first image for the character appearance and the second image for the outfit details. Keep character consistent and place her in a futuristic subway station with cinematic lighting." \
  --image-url https://example.com/char.png \
  --image-url https://example.com/outfit.png \
  --task-type REFERENCE_TO_IMAGE \
  --aspect-ratio 9:16 \
  --resolution 2K
```

### 2. `generate_image_nano_banana_pro`

适合:

- 品牌 KV
- 人物、商品一致性但最终输出更重质量

示例:

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_pro \
  --image-name "premium-reference-kv" \
  --prompt "Refer to the first image for the product shape and the second image for the lighting mood. Create a premium hero shot with clean reflections and luxury beauty campaign quality." \
  --image-url https://example.com/product.png \
  --image-url https://example.com/light.png \
  --task-type REFERENCE_TO_IMAGE \
  --aspect-ratio 1:1 \
  --resolution 4K
```

## 四、转视角

这个任务更推荐 `Nano Banana 2`。

原因:

- 它对结构理解更强
- 更适合“同一主体换角度、换视角、转三视图”

Prompt 写法:

- 必须用英文
- 明确是同一主体
- 明确要变成什么视角
- 保留哪些元素不变

示例 1:单图转侧视角

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_2 \
  --image-name "product-side-view" \
  --prompt "Use the first image as the same product reference. Change the camera view from front view to left side view, while keeping material, color, proportions, and design details unchanged." \
  --image-url https://example.com/product-front.png \
  --task-type REFERENCE_TO_IMAGE \
  --aspect-ratio 1:1 \
  --resolution 2K
```

示例 2:角色转背视角

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_2 \
  --image-name "character-rear-view" \
  --prompt "Use the first image as the same character reference. Generate a clean rear view of the same character, keeping hairstyle, clothing, silhouette, and proportions consistent." \
  --image-url https://example.com/character-front.png \
  --task-type REFERENCE_TO_IMAGE \
  --aspect-ratio 3:4 \
  --resolution 2K
```

示例 3:角色三视图

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_2 \
  --image-name "character-turnaround-sheet" \
  --prompt "Use the first image as the same character reference. Create a character turnaround sheet showing front view, side view, and back view, consistent design, clean white background, concept art presentation." \
  --image-url https://example.com/character.png \
  --task-type REFERENCE_TO_IMAGE \
  --aspect-ratio 16:9 \
  --resolution 4K
```

## 五、九宫格和 5x5 宫格

这种任务更推荐 `Nano Banana Pro`。

原因:

- 最终输出质量更好
- 适合整页构图
- 更适合海报、角色表、商品矩阵图

Prompt 写法:

- 必须用英文
- 明确是几宫格
- 明确每格内容是否一致风格
- 明确整体版式和背景
- 最好逐格指定构图,至少写清每一格的景别、角度或主体动作
- 推荐写法:`panel 1 ... panel 2 ... panel 3 ...`,不要只写“九个不同画面”

示例 1:九宫格人物造型板

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_pro \
  --image-name "character-style-board-3x3" \
  --prompt "Create a 3x3 character style board for the same girl in one image, consistent character design, clean editorial layout, white background, fashion mood board quality. Panel 1 full-body front standing pose. Panel 2 full-body left side view. Panel 3 full-body back view. Panel 4 medium shot looking up with arms crossed. Panel 5 medium shot smiling toward camera. Panel 6 medium shot turning while hair moves. Panel 7 close-up calm expression. Panel 8 close-up laughing expression. Panel 9 seated three-quarter view with elegant pose." \
  --task-type TEXT_TO_IMAGE \
  --aspect-ratio 1:1 \
  --resolution 4K
```

示例 2:九宫格商品展示图

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_pro \
  --image-name "product-grid-3x3" \
  --prompt "Create a 3x3 product grid in one image for the same sneaker, nine clean panels showing different angles and close-up details, premium e-commerce presentation, consistent lighting, white studio background." \
  --task-type TEXT_TO_IMAGE \
  --aspect-ratio 1:1 \
  --resolution 4K
```

示例 3:5x5 表情宫格

```bash
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
  --tool-name generate_image_nano_banana_pro \
  --image-name "expression-sheet-5x5" \
  --pr