Skip to main content
Version: Latest

URL to Video

Describe the process of analyzing a given URL and creating video content.


1. Make a request

Please request project creation by forwarding the URL and option.

1-1. API endpoint

https://app.aistudios.com/api/odin/v3/automation/url_to_video

1-2. Request parameter

keydesctyperequireddefault
urlReference URL for creating a videoStringtrue-
optionsConfiguration for video generationJsonfalse{}
options.goalPurpose of video generation'auto', 'business', 'youtube', 'education'false'business'
options.durationVideo Time'auto', '30', '60', '90', '120'false'auto'
options.speedVideo playback speed relative to original speed'auto', Numberfalse-
options.languageThe language used in the video.
The language code follows the ISO 639-1 standard.
'auto', Stringfalse-
options.mediaImage information used to create video (valid only for options.filebackground=false)'auto', 'search', 'free', 'generative'false-
options.styleStyle information (valid only for options.media='generative')'auto', 'business', 'youtube', 'education'false-
options.fileBackgroundWhether to use the file you provided in the background of the videoBooleanfalsetrue
options.orientationScreen orientation of the created video'web', 'mobile'false'web'
options.modelID of the AI model to use for video generation

1-3. Response Parameters

keydesctype
projectIdID of the video project createdString
automationJobIdJob ID requested to create a videoString

1-4. Sample Request

curl https://app.aistudios.com/api/odin/v3/automation/url_to_video  \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"url" : "https://www.kedglobal.com/artificial-intelligence/newsView/ked202411280004",
"options" : {
"goal" : "youtube",
"duration" : 30,
}
}'


2. Check the progress of project creation

Create a video after request Check your current progress.

2-1. Api endpoint

GET https://app.aistudios.com/api/odin/v3/automation/progress?projectId=${projectId}

2-2. Response Parameters

KeyDescriptionType
stateCurrent state of the automation processString
progressVideo Generation Completion RateNumber

2-3. Sample request

import axios from "axios";

const projectId = "your_project_id";
const token = "your_api_key";

axios.get(`https://app.aistudios.com/api/odin/v3/automation/progress/${projectId}`, {}, {
headers: {
"Authorization": token,
"Content-Type": "application/json"
}
})
.then((res) => {
console.log(res.data)
})
.catch((error) => {
console.error(error)
});


3. Export

Use Project Export to Project a video of a created project.