For AI agents: the complete documentation index is available at https://docs.reelway.ai/llms.txt, the full documentation bundle is available at https://docs.reelway.ai/llms-full.txt, and this page is available as Markdown at https://docs.reelway.ai/create/web/creating-videos/start-and-end-frames.md.

首尾帧(flf2v)

模型:minimax-h3-fl2va-fp8_flf2v 三档。输入:首帧(referenceImage)+ 尾帧(referenceImageEnd)+ 提示词(描述过渡)。

适合「A→B 转场」:改造前后、日夜过渡、形态变化。首尾帧风格与色调越接近,过渡越稳;差异大时提示词补足过渡逻辑。

const project = sogni.projects.create({
  modelId: 'minimax-h3-fl2va-fp8_flf2v_turbo',
  positivePrompt: '从白天过渡到夜晚的城市天际线',
  referenceImage: fs.readFileSync('./day.png'),
  referenceImageEnd: fs.readFileSync('./night.png'),
});

帧 0 与最后一帧由两张输入占据;中间帧位可用关键帧进一步钉住(见创作视频)。