muapi-character-story-video

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Character Story Video

角色故事视频

Create a multi-part animated story video by first establishing a consistent character and then generating sequential scenes and animating them.
Estimated credits: ~200 per run.
先创建一个风格统一的角色,再生成连贯的场景并进行动画制作,以此来创建多段式动画故事视频。
预估消耗积分: 每次运行约200积分。

Inputs

输入参数

NameTypeRequiredDefaultDescription
character_description
textyesDescription of the main character (e.g. "a cute piglet wearing a leather aviator jacket and goggles").
story_premise
textyesThe overall story arc (e.g. "building a jetpack and flying to space").
reference_image
image_urlnoOptional starting image of the character to maintain consistency.
名称类型是否必填默认值描述
character_description
文本主角的描述(例如:“一只穿着皮质飞行员夹克和护目镜的可爱小猪”)。
story_premise
文本整体故事脉络(例如:“制作喷气背包并飞向太空”)。
reference_image
图片链接可选的角色初始图片,用于保持风格一致性。

Steps

步骤

This skill involves multiple phases to build a cohesive narrative.
该技能包含多个阶段,用于构建连贯的叙事内容。

Phase A — Character Establishment

阶段A — 角色创建

If
{{reference_image}}
is NOT provided, submit the plan with ONE step to create the character:
  1. Character Creation
    muapi image generate
    (model=
    nano-banana-pro
    ):
    • Prompt:
      {{character_description}}, introducing the main character, cinematic lighting, highly detailed, Pixar 3D animation style.
    • Aspect ratio: 4:5 or 1:1
If
{{reference_image}}
IS provided, use it as the established character and proceed to Phase B.
After generation, ask the user to confirm the character design before proceeding.
如果未提供
{{reference_image}}
,则提交包含一个步骤的计划来创建角色:
  1. 角色生成
    muapi image generate
    (模型=
    nano-banana-pro
    ):
    • 提示词:
      {{character_description}}, introducing the main character, cinematic lighting, highly detailed, Pixar 3D animation style.
    • 宽高比:4:5 或 1:1
如果已提供
{{reference_image}}
,则将其作为已确定的角色,进入阶段B。
生成完成后,请用户确认角色设计,再继续后续步骤。

Phase B — Sequential Scene Generation

阶段B — 连贯场景生成

Once the character is established, create the story beats (e.g., Scene 1, Scene 2, Scene 3). Submit the plan using
muapi image edit
(model=
nano-banana-2-edit
or
flux-kontext-pro-i2i
) to maintain character consistency. Use the established character image as the reference for ALL these steps.
  1. Scene 1 (Beginning)
    • Reference: Character Image
    • Prompt:
      The character ({{character_description}}) in the first scene of the story: [Describe the beginning of {{story_premise}}]. Cinematic lighting, Pixar 3D animation style, storybook illustration.
  2. Scene 2 (Middle)
    • Reference: Character Image
    • Prompt:
      The character ({{character_description}}) in the second scene: [Describe the climax or middle action of {{story_premise}}]. Cinematic lighting, Pixar 3D animation style, storybook illustration.
  3. Scene 3 (End)
    • Reference: Character Image
    • Prompt:
      The character ({{character_description}}) in the final scene: [Describe the resolution of {{story_premise}}]. Cinematic lighting, Pixar 3D animation style, storybook illustration.
Note: All scenes should be generated in parallel or sequentially depending on the story flow.
After generating the scenes, present them to the user and ask if they are ready to animate the story.
角色确定后,创建故事节点(例如:场景1、场景2、场景3)。 提交计划时使用
muapi image edit
(模型=
nano-banana-2-edit
flux-kontext-pro-i2i
)来保持角色一致性。所有步骤均以已确定的角色图片作为参考。
  1. 场景1(开端)
    • 参考图:角色图片
    • 提示词:
      The character ({{character_description}}) in the first scene of the story: [Describe the beginning of {{story_premise}}]. Cinematic lighting, Pixar 3D animation style, storybook illustration.
  2. 场景2(发展)
    • 参考图:角色图片
    • 提示词:
      The character ({{character_description}}) in the second scene: [Describe the climax or middle action of {{story_premise}}]. Cinematic lighting, Pixar 3D animation style, storybook illustration.
  3. 场景3(结局)
    • 参考图:角色图片
    • 提示词:
      The character ({{character_description}}) in the final scene: [Describe the resolution of {{story_premise}}]. Cinematic lighting, Pixar 3D animation style, storybook illustration.
注意:所有场景可根据故事流程并行或依次生成。
场景生成完成后,展示给用户并询问是否准备好进行故事动画制作。

Phase C — Animation (Sequel Part 1, Part 2, Part 3)

阶段C — 动画制作(续集第1部分、第2部分、第3部分)

Submit the plan to animate the generated scenes using an image-to-video model (e.g.,
kling-v3.0-pro-image-to-video
or
veo3.1-image-to-video
).
  1. Part 1 Video
    • Input: Scene 1 Image
    • Prompt:
      Cinematic animation of the scene, character comes to life, subtle natural movements, high quality 3D animation.
  2. Part 2 Video
    • Input: Scene 2 Image
    • Prompt:
      Cinematic animation of the scene, character comes to life, dynamic action, high quality 3D animation.
  3. Part 3 Video
    • Input: Scene 3 Image
    • Prompt:
      Cinematic animation of the scene, character comes to life, triumphant resolution, high quality 3D animation.
After generating the videos, present them to the user as a multi-part story sequence. You may also suggest using the
muapi predict result
+ ffmpeg concat tool to merge them into a single movie if requested.
提交计划,使用图像转视频模型(例如:
kling-v3.0-pro-image-to-video
veo3.1-image-to-video
)将生成的场景制作成动画。
  1. 第1部分视频
    • 输入:场景1图片
    • 提示词:
      Cinematic animation of the scene, character comes to life, subtle natural movements, high quality 3D animation.
  2. 第2部分视频
    • 输入:场景2图片
    • 提示词:
      Cinematic animation of the scene, character comes to life, dynamic action, high quality 3D animation.
  3. 第3部分视频
    • 输入:场景3图片
    • 提示词:
      Cinematic animation of the scene, character comes to life, triumphant resolution, high quality 3D animation.
视频生成完成后,将其作为多段式故事序列展示给用户。如果用户有需求,你还可以建议使用
muapi predict result
+ ffmpeg拼接工具将它们合并成一个完整的影片。

Trigger Keywords

触发关键词

character story
,
story video
,
animated story
,
sequel video
,
multi part video
,
sequential story

character story
,
story video
,
animated story
,
sequel video
,
multi part video
,
sequential story

Notes for the Executing Agent

执行Agent注意事项

  • This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call
    muapi
    CLI commands. Use
    muapi auth configure
    first if
    MUAPI_API_KEY
    is unset.
  • For model IDs without a CLI alias yet, fall back to the raw endpoint via
    curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}'
    and poll with
    muapi predict wait <request_id>
    .
  • Substitute
    {{input_name}}
    placeholders with the user's actual inputs before issuing each call.
  • 本流程由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}}
    占位符替换为用户的实际输入。