# CueFrame Add Composition

> CueFrame Add Composition is a paid API for AI agents from api.cueframe.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-17).

Creates and adds a new empty composition to an existing project, returning its ID and ETag for subsequent edits.

## Facts

- Endpoint: GET https://api.cueframe.ai/v1/projects/:id/compositions?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cueframe-add-composition-438e2b08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9YdUf1R6jpg0usibGu1Xs

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cueframe-add-composition-438e2b08
```

Example prompt: Add a new empty composition to my CueFrame project abc123 — I want to set up a second video format in the same project and get back the composition ID and ETag so I can start editing it.

## When to prefer this

Use this endpoint when you need to add a new independent timeline or format variant inside an existing CueFrame project, such as creating a second video, a different aspect ratio, or an alternate cut — all sharing the same project's media and brand kit. Prefer this over creating a new project when the content shares the same assets.

## Known failure modes

- Project ID not found — 404 if the specified project does not exist
- Unauthorized — 401/403 if the caller lacks access to the project
- Conflict — ETag mismatch or duplicate composition creation attempt
- Rate limit or payment failure — 402 if the x402 payment is not processed correctly
- Server error — 500 if composition initialization fails internally

## How this service works

Add an empty composition to a project, for a second video or another format in the same project. Returns its id and ETag for the first edit; format defaults to the project's, and a project's first composition becomes the active one.

## Output

Returns the new composition's unique ID and ETag (used for optimistic concurrency on subsequent edits). The composition inherits the project's default format unless overridden. If this is the project's first composition, it automatically becomes the active one.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cueframe-add-composition-438e2b08/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cueframe.ai](https://www.zero.xyz/host/api.cueframe.ai/llms.txt)
