Skip to main content
API FAQ
Derk Zomer avatar
Written by Derk Zomer
Updated over a month ago

How do I get started using the Edit API?

We recommend visiting the developer docs when you start using the API.

How do I merge videos using the API?

Merging videos using the Shotstack API is similar to the way videos are stitched in a timeline based editor with a start position on a timeline and length.

To merge clips together you simply set the next clip in the sequence to start when the previous clip finishes.

How do I trim a video using the API?

You can trim a video by using the start, length and trim properties.

How do I add text and titles to a video using the API?

You can add text to your video by using the Text Asset.

How do I position elements within a video using the Edit API?

You control placement within the viewport by setting the position and offset properties of a clip. Each clip contains an asset type.

Can I use custom fonts using the Edit API?

You can use any TTF or OTF font by referencing it in the JSON payload.

Can I create images using the Edit API?

Yes. You can export in a variety of image based formats by changing the format property in the JSON payload.

I have glitches in my videos

Visual or audio glitches often happen when your source footage uses a variable frame rate.

When this footage is rendered at a fixed frame rate, extra frames might be added or dropped, causing glitches.

To avoid this, use fixed frame rate footage.

How can I get my API keys ?

Visual or audio glitches often happen when your source footage uses a variable frame rate.

When this footage is rendered at a fixed frame rate, extra frames might be added or dropped, causing glitches.

To avoid this, use fixed frame rate footage.

How can I get my API keys ?

You can find your API keys by clicking on the left navigation bar in your dashboard.

Did this answer your question?