layermetry
SDKPlatform (soon)AgentsDesktop & mobileUse casesPricingDocsBlogSign in

Use cases · Creator-style ads

A creator-style ad, without the creator.

Describe the cut, approve the plan, watch the verbs run.

  • instruct(task) writes the plan.
  • You approve before anything runs.
  • A receipt for every run.

What it uses

instruct(task)timelinepresets

Where it runs

Web embedAgent
agent.ts
import { createHeadlessChatRuntime } from '@layermetry/video-editor';

// A video editor with no interface, for your own agent.
const runtime = createHeadlessChatRuntime({ licenseKey: KEY, canvasSize: { width: 1080, height: 1920 } });
await runtime.ready;                 // the licence check

const tools = runtime.toolContracts;  // name, description and argument schema of each tool
// Send `tools` to your model. When the model calls one, run it in the editor:
const result = await runtime.executeTool(call.name, call.input, { turnMessages });