API referenceScenes

Add an element to a scene

Append one element — motion design, an image, or a text box — to an existing composition.

SPENDS CREDITS: the new line goes through the scene-generation path, which compiles, persists, and dispatches a resolve job. Asynchronous; poll the scene. Contrast PATCH on the same path, which edits existing elements for free.

POST
/scenes/{sceneId}/elements

Authorization

bearerAuth
AuthorizationBearer <token>

Typecut API key. Generate one in app.typecut.ai → Settings → API keys. Send as Authorization: Bearer tc_live_….

In: header

Path Parameters

sceneId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/scenes/497f6eca-6276-4993-bfeb-53cbbbba6f08/elements" \  -H "Content-Type: application/json" \  -d '{    "kind": "motion-design",    "prompt": "string"  }'
{
  "data": {
    "sceneId": "6ed066d9-2daf-493b-8760-26bb10c4fec5",
    "elementId": "string",
    "generationId": "string",
    "creditsUsed": 0
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}