> ## Documentation Index
> Fetch the complete documentation index at: https://docs.demokraft.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding and deleting Segments in Demokraft AI Studio

> Learn how to add and delete video and image segments within your Demokraft AI Studio projects.

<Frame>
  <iframe width="560" height="315" src="https://www.youtube.com/embed/Sc50lurgdaQ?si=_TgOslTSzzYu8vK2" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
</Frame>

## Overview

Demokraft AI Studio lets you add and delete segments directly within a project after you open a video in the Studio editor. These operations are supported for projects created with extension-based recording, uploaded video, or uploaded presentation-based video.

## Add a segment

After opening the project in Studio editor, position the marker where you want the new segment to appear: at the beginning, at the end, or after an existing segment.

<Frame>
  <img src="https://storage.googleapis.com/dk-transcoder-assets/seller/dca5540c-3f1e-494a-950f-ef227365a8d7/studio/6b5ed3ae-55bb-44f9-a027-32db6b9d6cfd/video_screenshot_file/1789542816720.png" alt="Positioning marker to add segment" />
</Frame>

<Steps>
  <Step title="Position the marker">
    Place the marker at the desired position. The new segment will be inserted after the segment currently selected. If the player marker is at the start or end, the new segment will be added at the start or end respectively.
  </Step>

  <Step title="Click the plus icon">
    Click the **plus icon**. You can create the new segment from a video or image.
  </Step>

  <Step title="Select a file">
    Select an image or MP4 file. Demokraft AI Studio converts an image into a five-second MP4 video and adds it as a standard segment; an MP4 file is added in its entirety as one segment.
  </Step>
</Steps>

Processing begins after you add the segment. Demokraft AI Studio creates the video and inserts the new segment.

If the source video includes a script, the script appears with the new segment. Silent videos and images are added without a script.

An image-based segment is added as a video segment without a script.

After insertion, you can apply the same segment operations available for the rest of the video.

<Frame>
  <img src="https://storage.googleapis.com/dk-transcoder-assets/seller/dca5540c-3f1e-494a-950f-ef227365a8d7/studio/6b5ed3ae-55bb-44f9-a027-32db6b9d6cfd/video_screenshot_file/docv2_9.jpg" alt="Added segment in Studio editor" />
</Frame>

## Delete a segment

Delete a segment to refine your project and adjust its overall duration.

<Steps>
  <Step title="Select Delete">
    Right-click the segment layer and select **Delete**. A confirmation prompt appears.
  </Step>

  <Step title="Confirm deletion">
    Confirm the deletion. Processing begins after confirmation.
  </Step>

  <Step title="Check the project">
    Check the project after processing is complete. The overall duration updates automatically to reflect the revised project; use segment addition and deletion to efficiently refine and extend your video projects.
  </Step>
</Steps>

<Frame>
  <img src="https://storage.googleapis.com/dk-transcoder-assets/seller/dca5540c-3f1e-494a-950f-ef227365a8d7/studio/6b5ed3ae-55bb-44f9-a027-32db6b9d6cfd/video_screenshot_file/docv2_12.jpg" alt="Delete segment confirmation" />
</Frame>
