generate_shot_frame
Fix a shot's visual by generating or regenerating its frame while preserving character, scene, and style consistency. Requires a confirmed quote_id to replace the existing frame.
Instructions
确认后给某一镜出帧或重生该帧(异步)。这是修某一镜画面的正路:平台会带上该镜的角色身份锚、场景/道具参考图、画风锚与帧审计,重生出的图与全片一致;用外部工具出图再上传会绕开这整条链路,人物/服装/画风必漂。重生会覆盖该帧现有图(含此前上传的),并把本镜视频标为待重生。尾帧需本镜首帧已就绪(否则先用 first_frame 或 both)。完成判据:轮询 get_storyboards 看该镜 first_frame_image/last_frame_image 变化。 ★继承重开(reopen_pair_id):get_storyboards 某镜带这个字段时,原样传进来可以只重掷首尾帧里真正有问题的那一侧——另一侧此前已经生成好的候选原样保留,不重新生成、不重新计费。传了它就不用再传 frame_type(会被忽略,由平台判定该重哪一侧);quote_id 仍要用 quote_shot_frame 报价(frame_type 传 first_frame 或 last_frame 均可,单帧同价)。若该镜没有 reopen_pair_id 字段(不满足继承条件),这个参数不要传,走常规 frame_type 重试。⚠️ 批量报价确认流程:先调对应的 quote_* 工具,把返回的 estimated_points 原样告诉用户,用户明确同意后,才用返回的 quote_id 调本工具。不要擅自确认。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | 来自 quote_shot_frame | |
| frame_type | No | 默认 first_frame,须与报价时一致;传了 reopen_pair_id 时会被忽略 | |
| image_model | No | 临时覆盖本次重画的图片模型(不传=用 drama 级设定,默认香蕉2);取值同 generate_frames | |
| storyboard_id | Yes | ||
| reopen_pair_id | No | 来自 get_storyboards 该镜的同名字段;只重掷有问题的那一侧,不必再传 frame_type | |
| replace_user_frame | No | 默认 true(显式重生允许覆盖已上传帧);传 false 则保护已上传帧 |