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 写法:
必须用英文
适合写高质量商业表达
强调材质、光线、构图、品牌感
示例:
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 Yadd/remove X while keeping everything else unchanged
示例:
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
适合:
成片质感优先的编辑
海报、封面、商业人像精修
示例:
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
示例:
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
人物、商品一致性但最终输出更重质量
示例:
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:单图转侧视角
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:角色转背视角
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:角色三视图
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
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:九宫格商品展示图
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 表情宫格
python skills/bona-movie-production/scripts/bona_movie_production.py create-image \
--tool-name generate_image_nano_banana_pro \
--image-name "expression-sheet-5x5" \
--prompt "Create a 5x5 facial expression sheet in one image for the same anime girl, twenty-five panels, consistent character design, each panel with a different expression, clean character sheet layout, white background." \
--task-type TEXT_TO_IMAGE \
--aspect-ratio 1:1 \
--resolution 4K
python skills/bona-movie-production/scripts/bona_movie_production.py create-video \
--tool-name generate_video_kling_v3 \
--video-name "teaser-shot-01" \
--prompt "A young woman walking through a rainy neon street at night, reflections on the wet ground, camera slowly tracking forward, blue and pink neon lighting, cinematic atmosphere, realistic motion" \
--duration 5 \
--aspect-ratio 16:9 \
--mode pro \
--sound on
python skills/bona-movie-production/scripts/bona_movie_production.py create-video \
--tool-name generate_video_kling_v3 \
--video-name "character-i2v" \
--prompt "The character slowly turns her head, blinks naturally, and breathes subtly. Keep the framing stable and cinematic." \
--start-frame https://example.com/character-first-frame.png \
--duration 5 \
--aspect-ratio 9:16 \
--mode pro
2. generate_video_seedance
适合:
起始帧驱动动画
更重运动质量
人物、服装、动态保持自然
参数规则:
比例:21:9、16:9、4:3、1:1、3:4、9:16
时长:4-15
分辨率:480P、720P
Prompt 写法:
如果用了起始帧,重点写动作变化,不要重复描述外观
清楚写镜头和动作
示例:
python skills/bona-movie-production/scripts/bona_movie_production.py create-video \
--tool-name generate_video_seedance \
--video-name "seedance-first-frame" \
--prompt "The subject smiles slightly and the camera pushes in gently, preserving identity and costume details." \
--start-frame https://example.com/char.png \
--duration 5 \
--aspect-ratio 9:16 \
--resolution 720P
八、首尾帧视频
当用户同时提供起始图和结束图,希望做中间插帧和过渡时,按首尾帧视频处理。
1. generate_video_kling_v3
适合:
默认首选
标准首尾帧过渡
电影感过渡镜头
参数规则:
传尾帧时必须同时传首帧
若不想生成声音,建议 --sound off
示例:
python skills/bona-movie-production/scripts/bona_movie_production.py create-video \
--tool-name generate_video_kling_v3 \
--video-name "start-end-transition" \
--prompt "A smooth cinematic transition from the first frame to the final frame, with natural body movement and stable camera motion." \
--start-frame https://example.com/start.png \
--end-frame https://example.com/end.png \
--duration 5 \
--aspect-ratio 16:9 \
--mode pro \
--sound off
2. generate_video_seedance
适合:
首尾帧过渡
更强调动作质量
人物、产品从 A 状态平滑过渡到 B 状态
参数规则:
image_end_frame 存在时,必须有 image_start_frame
首尾帧模式和参考模式互斥
示例:
python skills/bona-movie-production/scripts/bona_movie_production.py create-video \
--tool-name generate_video_seedance \
--video-name "seedance-start-end" \
--prompt "The character walks from the first pose into the final pose with continuous natural motion and matching costume dynamics." \
--start-frame https://example.com/start-pose.png \
--end-frame https://example.com/end-pose.png \
--duration 6 \
--aspect-ratio 3:4 \
--resolution 720P
九、参考图视频
当用户希望人物、产品、IP 形象保持一致性,且提供了一张或多张参考图时,按参考图视频处理。
推荐模型
1. generate_video_seedance
适合:
参考图较多
人物一致性视频
商品一致性视频
还可能接参考视频、参考音频
参数规则:
参考图:1-6
一旦用了参考模式,就不能同时再传首帧或尾帧
Prompt 写法:
不重复描述人物长相
重点写动作、镜头、场景和情绪
示例:
python skills/bona-movie-production/scripts/bona_movie_production.py create-video \
--tool-name generate_video_seedance \
--video-name "reference-image-driven-video" \
--prompt "Keep the same character identity and create a slow cinematic walk toward camera with subtle wind in hair and coat." \
--reference-image https://example.com/ref1.png \
--reference-image https://example.com/ref2.png \
--reference-image https://example.com/ref3.png \
--duration 5 \
--aspect-ratio 16:9 \
--resolution 720P
十、参考视频视频
当用户提供参考视频,希望做视频风格迁移、动作参考或节奏参考时,按参考视频视频处理。
推荐模型
1. generate_video_seedance
适合:
参考视频
动作节奏参考
镜头运动参考
后续还要接参考音频
参数规则:
参考视频:1-3
与首尾帧模式互斥
Prompt 写法:
重点写要保留什么运动能量、节奏、镜头感
不要写成和参考视频完全无关的内容
示例:
python skills/bona-movie-production/scripts/bona_movie_production.py create-video \
--tool-name generate_video_seedance \
--video-name "reference-video-driven-video" \
--prompt "Keep the same motion energy as the reference and generate a stylish commercial shot, clean body rhythm, strong fashion lighting." \
--reference-video https://example.com/motion.mp4 \
--duration 5 \
--aspect-ratio 16:9 \
--resolution 720P