本技能名为 Selfie with Celebrities(与明星自拍),来源为 samuraigpt/muapi-skills。其用途是生成一张逼真的幕后自拍照,画面为用户与某部特定电影中的明星或主演合影,随后可选生成一段串联多张自拍的电影感长镜头视频。
输入项
- movie_name(文本,必填,无默认值):想与之自拍的明星所属电影名称,例如 "Harry Potter"、"The Matrix"。
- user_image(image_url,必填,无默认值):用于自拍的清晰用户照片。
执行流程 第一阶段——生成第一张自拍图 如果未提供 user_image,先请用户上传图片。提供后,提交仅含一个步骤的计划:
- 自拍图生成——muapi image edit(model=nano-banana-2-edit):
- 参考图:user_image
- 提示词:POV: close up shot, A realistic photo of the person (don't change the person's original clothes) holding a black iPhone 16 to take a picture with the main actor from the movie "{{movie_name}}" on a movie set with movie scene background. Behind-the-scenes atmosphere, including film equipment, film cameras, filled with props, and busy crew members. Sharp focus on the characters. bright scene. Aspect ratio 9:16.
- 宽高比:9:16 生成第一张图后,向用户展示该自拍,询问是否需要以其他电影或演员制作第二张、第三张等,并提示:当拥有多张图片后,可以创建在自拍之间平滑过渡的电影感视频。
第二阶段——生成串联视频(仅在用户要求时) 如果用户已生成至少两张自拍并要求制作连接它们的视频,提交仅含一个步骤的计划:
- 电影感视频生成——使用图生视频模型,如 kling-o1-image-to-video、pixverse-v5.5-i2v 或 veo3.1-image-to-video。
- 首帧图:第一张生成的自拍。
- 尾帧图:第二张生成的自拍(若连接两张以上,可使用多步骤)。
- 提示词:A seamless cinematic long-take. The camera follows a person as she finishes a photo with an actor, then she naturally turns and walks toward the right. The camera tracks her movement with a smooth gimbal-like motion. Her gait is consistent and confident. Upon entering a new behind-the-scenes movie set, she slows down and stops gracefully, raising her phone with a bright smile to take a selfie with two actors. The scene transition is natural and smooth, with a seamless connection.
- 宽高比:9:16 生成后向用户展示视频。
触发关键词 selfie with celebrity、movie star selfie、celebrity photo、take a picture with actor、behind the scenes selfie。
执行代理注意事项 该流程由 LLM 编排:阅读每个阶段,从用户处收集缺失输入,然后调用 muapi CLI 命令。若 MUAPI_API_KEY 未设置,先使用 muapi auth configure。对于尚无 CLI 别名的模型 ID,回退到原始端点:curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}',并用 muapi predict wait <request_id> 轮询。发起每次调用前,将 {{input_name}} 占位符替换为用户的实际输入。
限制与未提供信息 资料未提供该技能的收费、价格、平台支持范围、生成效果保证或具体使用限制等事实,此类内容暂未提供。