jianying Node icon

jianying Node

jianying Node

片段 → 贴纸片段

AI-generated

Summary

Adds a sticker segment to a Jianying draft with configurable timing, track placement, and optional position, opacity, and animation settings.

Inputs

  • 草稿名称 (required) — Name of the draft to modify.
  • 贴纸 — Select a sticker from the available list or enter its ID.
  • 起始时间(毫秒) — Segment start time in milliseconds; defaults to 0.
  • 持续时间(毫秒) — Segment duration in milliseconds; defaults to 0.
  • 位置参数 — Enable custom sticker positioning and appearance settings.
  • 缩放宽度 — Horizontal scale, shown when position settings are enabled; defaults to 1.
  • 缩放高度 — Vertical scale, shown when position settings are enabled; defaults to 1.
  • x位置 — Horizontal position, shown when position settings are enabled; defaults to 0.
  • y位置 — Vertical position, shown when position settings are enabled; defaults to 0.
  • 旋转角度 — Rotation in degrees, shown when position settings are enabled; defaults to 0.
  • 透明度 — Opacity from 0 to 1, shown when position settings are enabled; defaults to 1.
  • 动画 — Optionally add one or more entry, exit, or loop animations with a selected effect and duration (default 500 ms).
  • 轨道名称 (required) — Track name; defaults to "sticker".
  • 轨道层级 (required) — Render layer index; defaults to 10. The UI recommends using the smallest value for the main video track.

Output shape

A list of n8n items, normally one per input item.

The operation handler's returned data is wrapped as JSON output and paired with its input item. With Continue On Fail enabled, a failed item returns an error field containing the error message; otherwise execution fails.

Examples

Example 1: render one sticker

draft_name="Shorts draft"; sticker="glow-effect"; start=1500; duration=3000; positionStyleSet=true; scale_x=1.2; scale_y=1.2; transform_x=0.3; transform_y=-0.1; name="overlay"; renderIndex=5

Links

Discussion