{"uid":"cap_9YdUf1R6jpg0usibGu1Xs","slug":"cueframe-add-composition-438e2b08","name":"CueFrame Add Composition","description":"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.","url":"https://api.cueframe.ai/v1/projects/:id/compositions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_00o76AaCXFEXgHEejPV5R","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates and adds a new empty composition to an existing project, returning its ID and ETag for subsequent edits.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Second format variant in project","prompt":"I have a CueFrame project with a landscape video but I need to add a portrait composition for social media — can you create a new composition inside project proj_789 so I can start working on the vertical version?"},{"title":"Multi-video project setup","prompt":"I'm building a two-part video series and they need to live in the same CueFrame project. Can you add a second composition to project proj_456 so I have a separate timeline for the second video?"},{"title":"New composition for first edit","prompt":"I just created a CueFrame project with ID proj_321 and now I need to add a composition to it before I can start editing — go ahead and create one and give me the composition ID and ETag."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T18:53:01.245Z","isFirstParty":false,"canonicalSlug":"cueframe-add-composition-438e2b08"}