返回提示词

Motion Prompt #116|双色调 · Duotone

用一种颜色映射暗部,另一种映射亮部

发布于 更新于 浏览 0

部分附加信息、来源说明或示例仍显示原文。

来源:import:liubai_public_20261104 · https://github.com/Shanvision-star/liubai-prompt-library/blob/25f0137e36a8fae46aebace86b18cdfeff624a99/bundled-library/entries/PRM-0358/original.md · 授权:MIT License Copyright (c) 2026 Shohei Ohtaki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

使用示例

提示词正文

请使用“Duotone”(デュオトーン),它是“Photo looks, lighting & styles”中的一个名称。
Motion Prompt #116

定义:以两种颜色呈现图像,一种对应暗部,另一种对应亮部。
示例展示:同一风景的颜色被替换成两种颜色之间的范围:暗部靛蓝,亮部粉红。
规格:
- 场景3:左侧是半身像,头部中心(x=140,y=82)、半径28 px;右侧是山丘、房屋、树和太阳,太阳(x=432,y=54)、半径15 px。
- 两端颜色:暗端#1F2A5C,亮端#FF9FB2。
- 转换:根据每种颜色的亮度L,t = ((L − 70) / 180)^2.4,再按t混合两色;这样会拉开亮调之间的差异。
- 时序:效果在0.4–1.4 s逐渐进入,保持至4.0 s,到4.8 s再次消失;一次播放5 s,使用cubic ease-in-out,约为cubic-bezier(0.65,0,0.35,1)。
何时使用:用品牌色统一海报、音乐封面或社交图片。

参考实现(Canvas 2D,画面仅由时间决定的函数):https://showheyohtaki.github.io/motion-prompt/api/v1/en/e/116.txt
共享辅助代码:https://showheyohtaki.github.io/motion-prompt/api/v1/kit/photo.js
请保持参考实现的形状、时间安排和缓动数值不变,只调整文字、颜色和素材,以适配我正在制作的项目。

使用示例

示例输入

请实现“双色调 · Duotone”:用一种颜色映射暗部,另一种映射亮部

示意结果

下方是来源作者提供的静态画面和可播放动效参考,并非本站对该提示词调用模型生成的结果。

提示词仅供参考,请结合实际场景调整,并核实 AI 生成结果。