> For the complete documentation index, see [llms.txt](https://docs.pletor.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pletor.ai/build-agents/nodes/ai-nodes/ai-video.md).

# AI Video

These nodes handle everything from text-to-video generation to post-production tasks like subtitling, upscaling, and background removal.

### Available video nodes

| Node                        | What it does                                                   | Key inputs                              |
| --------------------------- | -------------------------------------------------------------- | --------------------------------------- |
| **Generate video**          | Create videos from text prompts or images                      | Text prompt, optional first frame image |
| **Generate lipsync**        | Make characters speak by syncing lip movements to audio        | Source video/image + audio/text         |
| **Edit video**              | Modify videos using text instructions                          | Source video + edit prompt              |
| **Upscale video**           | Increase video resolution                                      | Source video                            |
| **Remove video background** | Remove the background from a video                             | Source video                            |
| **Add video subtitles**     | Generate and burn subtitles into a video                       | Source video                            |
| **Extract video frame**     | Pull a specific frame from a video as a still image            | Source video + frame selection          |
| **Merge videos**            | Combine multiple video clips into one seamless video           | Two or more source videos               |
| **Merge audio & video**     | Sync an audio track onto a video                               | Source video + source audio             |
| **Remove audio**            | Strip the audio track from a video                             | Source video                            |
| **Trim videos**             | Trim or speed up a video                                       | Source video                            |
| **Composer**                | Layer text, images, graphics, and video into a composed output | Multiple media layers + layout settings |

#### Tips for AI Video nodes

* **Image-to-video is often better than text-to-video**: generate a still image first with Generate Image, then animate it with Generate Video. You get much more control over the visual.
* **Extract Video Frame** is useful as a bridge — pull a frame from a video to use as input for image editing or as a reference for generating new content.
* **Lipsync works with both video and still images**: you can animate a static portrait photo into a speaking character.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pletor.ai/build-agents/nodes/ai-nodes/ai-video.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
