Import a video from a link
Brings in a video file from a public link, of any size your storage allows. The link is opened at once: a web page that plays a video (YouTube, Vimeo, a post) rather than the file itself, a dead link, or a file whose stated size does not fit your space is refused in this answer. Otherwise you get 202 with a task_id and the file streams into storage in the background; poll /v1/tasks/{id} until status is complete, when generation_id is the clip. A link that does not state its size is checked against your space as it arrives. When the project already holds the same file, the copy is dropped before it is counted and the task completes with the existing clip as generation_id.
Request
- Base URL: https://nanostudiopro.com/api
- URL: https://nanostudiopro.com/api/v1/videos/import
- Auth: HTTP bearer
Request body
Example request
{
"url": "https://example.com/footage/take-3.mp4"
}Response
task_id, status: "running", project_id, name, size (bytes, when the link states it)
Changes
No recorded changes to this operation across all 2 revisions of this API.