---
title: "Add a clip to a manual-mode chain"
method: POST
path: "/api/longform-video/add-clip"
tags: ["Manual Mode"]
---

# Add a clip to a manual-mode chain

`POST /api/longform-video/add-clip`

## Request

- Base URL: `https://app.addshuffle.com`
- URL: `https://app.addshuffle.com/api/longform-video/add-clip`
- Auth: HTTP bearer

Appends a new clip to the chain, or inserts it after a specific step number.

## Request body

- object
  - `chainId` string, required
  - `prompt` string, required
  - `imageUrl` string: Override input image (defaults to last frame of previous clip)
  - `afterStepNumber` integer: Insert after this step number (omit to append)
  - `negativePrompt` string
  - `seed` integer
  - `lastFrameImageUrl` string
  - `referenceImages` string[]
  - `styleImageUrl` string

## Response `200`

Clip added

- object
  - `success` boolean
  - `stepId` string
  - `stepNumber` integer

---

[API](https://skmtc.dev/addshuffle/apis/farcash-longform-video-api.md) · [All operations](https://skmtc.dev/addshuffle/apis/farcash-longform-video-api/llms.txt) · [OpenAPI document](https://skmtc.dev/addshuffle/apis/farcash-longform-video-api/revisions/f0a14318fdf9?raw)
