Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Clip Shader

Describe a scene and get a seamless loop film in which every frame is computed by one fragment shader.

範例 · 2

線上執行

免費

在 SandBase sandbox 中執行 Clip Shader 的範例,並在此立即查看結果。

您可獲得什麼

Describe a scene and get a seamless loop film computed entirely by one fragment shader: signed distance fields, procedural materials and analytic motion, no textures or video input.

運作方式

  1. 01

    Write the brief and shader

    Clip Shader is an authoring workflow: from a short scene description, or your own clip as a guide, the Agent writes one fragment shader with the bundled library of signed distance fields, procedural materials and analytic motion. brief.json sets the aspect, loop length of 4 to 30 seconds, frame rate and antialiasing.

  2. 02

    Check stills and loop

    create.mjs bundles the shader into a HyperFrames project. stills.mjs renders PNG frames at chosen seconds, and a preview studio offers a scrubbable timeline. check.mjs runs the loop-seam and lint checks and writes a report in English and Chinese, failing on any problem.

  3. 03

    Render the loop

    render.mjs reruns the checks and renders a 12 to 30 second MP4 that loops without a seam, with GPU or a software fallback, plus a poster. Every pixel of every frame is computed by the shader, with no textures or video. The samples are a rainy quay walk and a lighthouse cove at dusk.

常見問題

What does Clip Shader produce?

Clip Shader produces a seamless looping MP4 in which every pixel is computed by one fragment shader, with no textures or video input. It suits looping hero clips and backgrounds for sites, posts and talks, and the shader can also be pasted into Shadertoy.

Does Clip Shader generate scenes by itself?

No. Clip Shader is an authoring workflow: the Agent writes the shader for each brief using the bundled library, and the scripts bundle, lint, check and render it. The Skill calls no model and needs no API key. The bundled library supplies the building blocks.

How does Clip Shader keep the loop seamless?

Clip Shader drives all motion analytically from time over a fixed loop length, so the last frame leads straight back to the first. check.mjs tests the seam before rendering and fails the run if the loop would visibly jump. The report records the seam check result.

Is Clip Shader free to run?

Yes. Clip Shader renders on your machine with Chrome, FFmpeg and a pinned HyperFrames, calling no model or paid service. The only path setting is a tool location for a local HyperFrames copy, which is not a credential. Each render rebuilds from the same shader source.

Is Clip Shader silent?

Yes. Clip Shader is silent by design and renders 16:9, square or 9:16 loops. Harbour Rain runs 16 seconds and Lighthouse Cove 20 seconds; both were rendered fresh from the packaged Skill. Add sound in an editor if a loop needs it; the seam stays clean because the picture repeats exactly at the loop length.