Export a scene as an embeddable web block
Publish a finished, resolved DOM+GSAP scene as a block any web page can embed and drive.
You declare the contract in manifest (typed inputs, named timeline states, events, text/colour slots); a validation gate refuses a scene that is not portable or a manifest that does not match it, with a fix for every error. Returns a hosted embed_url and the two-line snippet (a data-typecut-block div plus the loader script). Re-exporting a scene keeps its embed_url and bumps the version. dry_run runs the gate only. Free.
Authorization
bearerAuth Typecut API key. Generate one in app.typecut.ai → Settings → API keys. Send as Authorization: Bearer tc_live_….
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/scenes/497f6eca-6276-4993-bfeb-53cbbbba6f08/web-block" \ -H "Content-Type: application/json" \ -d '{ "manifest": { "property1": null, "property2": null } }'{
"data": {}
}{
"error": {
"type": "string",
"code": "string",
"message": "string"
}
}{
"error": {
"type": "string",
"code": "string",
"message": "string"
}
}{
"error": {
"type": "string",
"code": "string",
"message": "string"
}
}Accept or reject a scene POST
Record an explicit accept or reject of a scene as a feedback signal, keyed to the scene's latest generation.
Lift an imported HTML slice into a standalone scene POST
import_html tier 3. An LLM pass writes the slice's window of the original file as a standalone composition on local time.