بنقرة واحدة
canvas-core
Build, edit, and run Lumen Studio workflows on the canvas.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Build, edit, and run Lumen Studio workflows on the canvas.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | canvas-core |
| description | Build, edit, and run Lumen Studio workflows on the canvas. |
| trigger | workflow, canvas, video generation, write_canvas, run_canvas_node |
Use this skill before creating, editing, or running a Lumen Studio canvas.
A canvas is a JSON object:
{
"nodes": [
{
"id": "text-unique-id",
"type": "lumenNode",
"position": { "x": 0, "y": 0 },
"data": {
"kind": "text",
"title": "Script",
"prompt": "Write a short UGC script...",
"output": null,
"modelId": "gemini-3.5-flash",
"settings": {},
"status": "idle",
"error": null,
"progress": 0
}
}
],
"edges": [
{ "id": "edge-id", "source": "text-unique-id", "target": "image-unique-id", "type": "lumenSmooth", "data": {} }
]
}
Supported node kinds: text, image, video, audio, composition.
Default production-backed models:
text: gemini-3.5-flashimage: nano-banana2video: veo-3.1 or seedance-1.5-pro (Volcengine Ark; supports first/last frame i2v)audio: fish-ttscomposition: lumen-composition (timeline stitch / trim / split / BGM export)Video model selection:
veo-3.1: Google Veo; best for high-fidelity cinematic shots. Settings:
aspectRatio in 1:1|4:5|16:9|9:16, duration in 4|6|8, resolution in
720p|1080p|4k (1080p/4k require 8s). Optional first/last frame via
settings.inputImage / settings.inputLastFrameImage or upstream image nodes.seedance-1.5-pro: ByteDance Seedance via Volcengine Ark; strong prompt
following and camera control. Settings: aspectRatio in
16:9|9:16|1:1|4:3|3:4|21:9, duration in 4-12, resolution in
480p|720p|1080p (default 1080p). Supports first/last frame i2v the same
way as Veo. Typical run time ~30-120s.Audio node models:
fish-tts (default): voiceover / narration / spoken text-to-speech.suno-music: full music / song generation (KIE Suno). Use this when the user
asks for background music, a song, a jingle, a soundtrack, or BGM. The node
prompt describes the music (style, mood, genre, optional lyrics). Set
settings.instrumental: true for an instrumental track with no vocals. A
music run takes roughly 60–180s. The output is an audio URL, same as TTS.Avoid placeholder / non-production models such as doubao-seed-2.0-pro,
doubao-seedream-3.0, and doubao-tts unless the user explicitly asks for
them. seedance-1.5-pro is production-ready (Volcengine Ark).
For video stitching, trimming, splitting, reordering, or BGM, use a composition
node with modelId: lumen-composition and settings.timeline. Load the
composition-editing skill before writing or running composition workflows.
write_canvas for structural changes and pass the complete canvas JSON.text-script-..., image-storyboard-..., video-final-....For complex user goals, build a runnable DAG instead of a single long prompt.
Typical layers:
fish-tts) for spoken script, or music (suno-music)
for background music / songs / BGM when needed.composition
node with modelId: "lumen-composition", connect every source video clip to
it, and write settings.timeline.Rules:
卖点策略, 15秒口播, 镜头1主视觉, 镜头1视频.When the deliverable is a stitched multi-scene video (e.g. 15s with 3 beats), repeat this per-scene chain for every clip — do not use one global script for all videos:
text-script-scene-1 ──> image-keyframe-scene-1 ──> video-scene-1 ──┐
text-script-scene-2 ──> image-keyframe-scene-2 ──> video-scene-2 ──┼──> composition-final
text-script-scene-3 ──> image-keyframe-scene-3 ──> video-scene-3 ──┘
Rules for each scene:
text script node per video clip — title like 镜头1脚本 / Scene 1 Script. Edge: text → image and optionally text → video.image keyframe / reference node per video clip — title like 镜头1参考图. Edge: image → video (required for i2v product shots).video node per clip — receives edges from its scene's text and image nodes, plus an edge to composition.text node at the far left may fan out to each scene script node — never leave that strategy node as the only script with no edges into scene videos.write_canvas, verify: every video scene node has at least one incoming edge from a text or image node in the same scene band; zero orphan text/image nodes.Single-scene videos (no composition) still use text → image → video as one chain.
Use run_canvas_node to execute exactly one node.
Important:
use_skill is only preparation. It never satisfies a run request.read_canvas after loading this skill and inspect the current canvas.data.output.run_canvas_node for a downstream video node until its image/text inputs are ready.run_canvas_node returned success for that node in the current request.Typical order for a product video:
text node: product strategy or short script.image node: key visual / storyboard frame.video node(s): one clip per scene or animate the image.audio node: voiceover or music (BGM).composition node: when there are 2+ scene videos, stitch them into the final MP4.
Load composition-editing before writing settings.timeline or running composition.For a single-scene video with no editing, step 5 is optional.
Before editing an existing project:
read_canvas.write_canvas.run_canvas_node one node at a time.When the user asks for "一句话产出视频", create a small but runnable canvas and run nodes in order.
When the user asks for a complex end-to-end workflow, create the canvas first, then run one ready node at a time until the requested stopping point is reached.