SuperAPI AI 工具集

muapi-selfie-with-celebrities

设计与创作

查看项目

更新于 10-15 12:43

技能介绍

用途

本技能用于生成用户与特定电影中明星或主演的逼真幕后自拍合影,并可选地将多张自拍串联成一段电影感的长镜头视频。

主要能力

  • 生成用户与指定电影主演的幕后自拍图像,画面包含电影片场背景、拍摄设备、道具和忙碌的工作人员,营造幕后氛围。
  • 支持更换不同电影或演员,生成第二张、第三张等多张自拍。
  • 在用户已生成至少两张自拍并主动要求时,可将多张自拍连接成一段无缝的电影感长镜头视频。

使用方式

输入

名称 类型 必填 默认值 说明
movie_name text 是 — 想要合影的明星所在电影的名称(例如 "Harry Potter"、"The Matrix")。
user_image image_url 是 — 用于自拍的清晰用户照片。

阶段 A — 生成第一张自拍图像

  1. 如果未提供 {{user_image}},先请用户上传照片。
  2. 提供后,提交包含一个步骤的计划:
    • 自拍图像生成 — muapi 图像编辑(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
  3. 生成第一张图像后:
    • 向用户展示生成的自拍。
    • 询问用户是否想用不同电影或演员创建第二张、第三张等图像。
    • 同时建议用户,一旦拥有多张图像,可以创建一段在自拍之间平滑过渡的电影感视频。

阶段 B — 生成连接视频(仅在用户要求时)

如果用户已生成至少两张自拍并要求创建连接它们的视频,提交包含一个步骤的计划:

  • 电影感视频生成 — 使用图生视频模型,如 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}} 占位符替换为用户的实际输入。

适用场景

  • 用户希望生成自己与某部电影明星或主演的幕后自拍合影。
  • 用户希望制作多张不同电影或演员的自拍,并串联成一段电影感视频。

限制

  • 必须提供用户本人清晰照片,否则无法生成。
  • 必须提供电影名称。
  • 视频生成仅在用户已生成至少两张自拍并主动要求时进行。
  • 关于收费、价格、平台支持范围等信息,资料中暂未提供。