Advance Video Editing
Use this endpoint to create a content with watermarks and overlays
curl -X POST "https://api.videograph.ai/video/services/api/v1/contents/adv" \
-H "Content-Type: application/json" \
-H "Accept: example_string" \
-H "Authorization: Basic YOUR_CREDENTIALS" \
-d '{
"title": "Phani Adv",
"description": "Video description",
"tags": [
"tag1",
"tag2"
],
"metadata": [
{
"key": "abc",
"value": "pqr"
}
],
"playback_policy": [
"public",
"signed"
],
"mp4_support": true,
"overlay": {
"logo": [
{
"config": {
"h": 240,
"w": 120,
"x": 0,
"y": 0
},
"layer": 1,
"settings": null,
"end": 4,
"start": 0,
"src": "https://videographond.akamaized.net/thumb/700x700/enc/yupptv/development/yupptv/3395/mp4/image/1.jpg"
}
],
"text": [
{
"config": {
"h": 80,
"w": 120,
"x": 0,
"y": 0
},
"fontcolor": "red",
"fontfile": "Times New Roman",
"fontsize": 80,
"layer": 2,
"settings": {
"end": 3,
"start": 0
},
"src": "Hello adv"
}
]
},
"video": [
{
"layer": 0,
"settings": {
"duration": 3,
"start": 0
},
"src": "https://d19nx8bm4jzw4h.cloudfront.net/Tears-of-steel.mp4"
},
{
"layer": 0,
"settings": {
"end": 6,
"start": 4
},
"src": "https://d19nx8bm4jzw4h.cloudfront.net/Tears-of-steel.mp4"
}
]
}'
import requests
import json
url = "https://api.videograph.ai/video/services/api/v1/contents/adv"
headers = {
"Content-Type": "application/json",
"Accept": "example_string",
"Authorization": "Basic YOUR_CREDENTIALS"
}
data = {
"title": "Phani Adv",
"description": "Video description",
"tags": [
"tag1",
"tag2"
],
"metadata": [
{
"key": "abc",
"value": "pqr"
}
],
"playback_policy": [
"public",
"signed"
],
"mp4_support": true,
"overlay": {
"logo": [
{
"config": {
"h": 240,
"w": 120,
"x": 0,
"y": 0
},
"layer": 1,
"settings": null,
"end": 4,
"start": 0,
"src": "https://videographond.akamaized.net/thumb/700x700/enc/yupptv/development/yupptv/3395/mp4/image/1.jpg"
}
],
"text": [
{
"config": {
"h": 80,
"w": 120,
"x": 0,
"y": 0
},
"fontcolor": "red",
"fontfile": "Times New Roman",
"fontsize": 80,
"layer": 2,
"settings": {
"end": 3,
"start": 0
},
"src": "Hello adv"
}
]
},
"video": [
{
"layer": 0,
"settings": {
"duration": 3,
"start": 0
},
"src": "https://d19nx8bm4jzw4h.cloudfront.net/Tears-of-steel.mp4"
},
{
"layer": 0,
"settings": {
"end": 6,
"start": 4
},
"src": "https://d19nx8bm4jzw4h.cloudfront.net/Tears-of-steel.mp4"
}
]
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const response = await fetch("https://api.videograph.ai/video/services/api/v1/contents/adv", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Accept": "example_string",
"Authorization": "Basic YOUR_CREDENTIALS"
},
body: JSON.stringify({
"title": "Phani Adv",
"description": "Video description",
"tags": [
"tag1",
"tag2"
],
"metadata": [
{
"key": "abc",
"value": "pqr"
}
],
"playback_policy": [
"public",
"signed"
],
"mp4_support": true,
"overlay": {
"logo": [
{
"config": {
"h": 240,
"w": 120,
"x": 0,
"y": 0
},
"layer": 1,
"settings": null,
"end": 4,
"start": 0,
"src": "https://videographond.akamaized.net/thumb/700x700/enc/yupptv/development/yupptv/3395/mp4/image/1.jpg"
}
],
"text": [
{
"config": {
"h": 80,
"w": 120,
"x": 0,
"y": 0
},
"fontcolor": "red",
"fontfile": "Times New Roman",
"fontsize": 80,
"layer": 2,
"settings": {
"end": 3,
"start": 0
},
"src": "Hello adv"
}
]
},
"video": [
{
"layer": 0,
"settings": {
"duration": 3,
"start": 0
},
"src": "https://d19nx8bm4jzw4h.cloudfront.net/Tears-of-steel.mp4"
},
{
"layer": 0,
"settings": {
"end": 6,
"start": 4
},
"src": "https://d19nx8bm4jzw4h.cloudfront.net/Tears-of-steel.mp4"
}
]
})
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
"bytes"
"encoding/json"
)
func main() {
data := []byte(`{
"title": "Phani Adv",
"description": "Video description",
"tags": [
"tag1",
"tag2"
],
"metadata": [
{
"key": "abc",
"value": "pqr"
}
],
"playback_policy": [
"public",
"signed"
],
"mp4_support": true,
"overlay": {
"logo": [
{
"config": {
"h": 240,
"w": 120,
"x": 0,
"y": 0
},
"layer": 1,
"settings": null,
"end": 4,
"start": 0,
"src": "https://videographond.akamaized.net/thumb/700x700/enc/yupptv/development/yupptv/3395/mp4/image/1.jpg"
}
],
"text": [
{
"config": {
"h": 80,
"w": 120,
"x": 0,
"y": 0
},
"fontcolor": "red",
"fontfile": "Times New Roman",
"fontsize": 80,
"layer": 2,
"settings": {
"end": 3,
"start": 0
},
"src": "Hello adv"
}
]
},
"video": [
{
"layer": 0,
"settings": {
"duration": 3,
"start": 0
},
"src": "https://d19nx8bm4jzw4h.cloudfront.net/Tears-of-steel.mp4"
},
{
"layer": 0,
"settings": {
"end": 6,
"start": 4
},
"src": "https://d19nx8bm4jzw4h.cloudfront.net/Tears-of-steel.mp4"
}
]
}`)
req, err := http.NewRequest("POST", "https://api.videograph.ai/video/services/api/v1/contents/adv", bytes.NewBuffer(data))
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Accept", "example_string")
req.Header.Set("Authorization", "Basic YOUR_CREDENTIALS")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://api.videograph.ai/video/services/api/v1/contents/adv')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['Accept'] = 'example_string'
request['Authorization'] = 'Basic YOUR_CREDENTIALS'
request.body = '{
"title": "Phani Adv",
"description": "Video description",
"tags": [
"tag1",
"tag2"
],
"metadata": [
{
"key": "abc",
"value": "pqr"
}
],
"playback_policy": [
"public",
"signed"
],
"mp4_support": true,
"overlay": {
"logo": [
{
"config": {
"h": 240,
"w": 120,
"x": 0,
"y": 0
},
"layer": 1,
"settings": null,
"end": 4,
"start": 0,
"src": "https://videographond.akamaized.net/thumb/700x700/enc/yupptv/development/yupptv/3395/mp4/image/1.jpg"
}
],
"text": [
{
"config": {
"h": 80,
"w": 120,
"x": 0,
"y": 0
},
"fontcolor": "red",
"fontfile": "Times New Roman",
"fontsize": 80,
"layer": 2,
"settings": {
"end": 3,
"start": 0
},
"src": "Hello adv"
}
]
},
"video": [
{
"layer": 0,
"settings": {
"duration": 3,
"start": 0
},
"src": "https://d19nx8bm4jzw4h.cloudfront.net/Tears-of-steel.mp4"
},
{
"layer": 0,
"settings": {
"end": 6,
"start": 4
},
"src": "https://d19nx8bm4jzw4h.cloudfront.net/Tears-of-steel.mp4"
}
]
}'
response = http.request(request)
puts response.body
{
"code": 200,
"message": "Data success",
"status": "Success",
"data": {
"contentId": "75615af3-2e97-4c8a-af98-92ab14df0965",
"created_at": 1676204780126,
"description": "Video description",
"duration": 0,
"isAdvanced": true,
"metadata": [
{
"key": "abc",
"value": "pqr"
}
],
"mp4_support": true,
"playbackPolicy": [
"public",
"signed"
],
"save_original_copy": false,
"status": "Pending",
"statusId": 1,
"tags": [
"tag1",
"tag2"
],
"test_video": false,
"title": "Phani Adv"
}
}
/video/services/api/v1/contents/adv
Username for basic authentication
Password for basic authentication
The media type of the request body
Provide a title for your content.
Describe your content.
Provide the source url to download the content. If you want to create video clips from the video then pass on the start time and end time of the clip along with source url.
Watermark details on video content
Provide content metadata as key value pairs.
Playback policies. Allowed are public, signed or both
Is MP4 generation supported
Request Preview
Response
Response will appear here after sending the request
Authentication
Basic authentication credentials. Provide username and password encoded in Base64 format: Basic base64(username:password)
Headers
Body
Provide a title for your content.
Describe your content.
Provide the source url to download the content. If you want to create video clips from the video then pass on the start time and end time of the clip along with source url.
Watermark details on video content
Provide content metadata as key value pairs.
Playback policies. Allowed are public, signed or both
Is MP4 generation supported
Responses
OK
Last updated Dec 29, 2025

