How to turn a video into a link with Claude or ChatGPT
Turn a video into a link you can share or embed, from Claude or ChatGPT with VideoDB added. Then get a unique link for any timestamp, or for a moment you describe, such as where pricing is discussed.
- The video is already online: paste the YouTube link or direct video URL in Claude or ChatGPT and ask for a link.
- The video is a file on your computer: upload it at console.videodb.io, then ask your assistant for its link. In Claude Code, the agent uploads the file itself.
- What you get: a player page to share, an HLS stream link, an iframe embed, and an MP4 when you ask for one.
- A link for any timestamp: ask for 2:10 to 2:40 and get a unique link that plays only that part.
- A link for a moment you describe: ask for “where a screen is visible” or “where we are discussing pricing” and the assistant finds it and gives you the link.
- Cost: new accounts start with $20 of free credits and no credit card. After that you pay per GB.
What does it mean to turn a video into a link?
A video file sits on one device. A link points to a copy on a server that other people can open. Turning a video into a link means uploading it to a host and getting its URL back.
One hosted video gives you several kinds of link. Which one you use depends on where the video is going.
| You want to | Use | What you get |
|---|---|---|
| Send someone the video | Player page | A link that opens a player |
| Send one part of it | Link for a time range | A link that plays only that part |
| Send a moment you describe | Link for a moment | A link to where it happens |
| Put it on your website | Embed code | An iframe for your page |
| Play it in your own app or player | Stream link (HLS) | A link ending in .m3u8 |
| Hand over the file | MP4 | A download link |
How do you set it up?
You add VideoDB to your assistant once. It takes about a minute.
In Claude: open VideoDB in Claude’s directory, click Connect to Claude, sign in to VideoDB and click Authorize. Every screen is shown in our guide to connecting VideoDB to Claude.
In ChatGPT: open VideoDB in ChatGPT, click Install plugin and sign in to VideoDB.
New accounts get $20 of free credits, and no credit card is needed.
Way 1: the video is already online
Use this when your video has a URL already: a YouTube link, or a direct link to the video file.
Host this video and give me a link:
[video link]
What you get: the video in your VideoDB library, with a player page you can send to anyone.
Ask for the other forms when you need them:
Give me the embed code and
the stream link for that video.
The link has to open the video itself without a sign-in. A share page that asks viewers to log in will not work.
Way 2: the video is a file on your computer
In a chat, your assistant sends VideoDB a link. A file on your computer has no link yet, so it goes up through VideoDB first.
- Sign in at console.videodb.io and upload the file.
- Back in Claude or ChatGPT, ask for it by name.
List my VideoDB videos, then give me
the player link and the embed code
for launch.mp4.
What you get: your library as a list, and the links for the video you named.
Way 3: ask Claude Code, with the file in your folder
Claude Code runs on your computer, so the agent can read the file and upload it. Install the VideoDB plugin inside Claude Code:
/plugin marketplace add video-db/skills
/plugin install videodb@videodb-skills
/videodb setup
Then ask:
Upload ./launch.mp4 to VideoDB.
Give me the player link, the stream
link and the embed code.
The same route works for an app you are building. The agent hosts the video and writes the embed into your page, as shown in add video to an app you built with Cursor.
Way 4: a few lines of Python
Install the SDK with pip install videodb, and set VIDEO_DB_API_KEY to your key from the console.
from videodb import connect
conn = connect()
coll = conn.get_collection()
# a file, or pass url="https://..."
video = coll.upload(file_path="launch.mp4")
print(video.generate_stream()) # stream link (HLS)
print(video.player_url) # player page
print(video.get_embed_code()) # iframe embed
How do you link to a specific time in a video?
A link can play one part of a video. Give a start time and an end time, and you get a link that plays only that part.
Give me a link that plays [video name]
from 2:10 to 2:40.
What you get: a unique link for those 30 seconds, with its own player page. The full video keeps its own link.
Every time range gets its own link, so one recording can give you as many as you need: one for the demo at 2:10, another for the pricing answer at 14:05. VideoDB cuts the part from the stored video when you ask, so there is no second file to export or upload.
Two variations work the same way:
- Start at a point: ask for “from 2:10 to the end.”
- Several parts in one link: ask for “0:30 to 1:00, then 5:10 to 5:40.” The parts play back to back.
In Python, pass the range in seconds:
# a link that plays only 2:10 to 2:40
part = video.generate_stream(timeline=[(130, 160)])
How do you link to a moment you describe?
With an assistant you can skip the timestamp. Describe the moment, and the assistant finds where it happens and gives you the link.
First make the video searchable. This runs once for each video.
Make [video name] searchable,
by what is said and what is on screen.
Then describe what you are looking for.
Give me a link to each moment in
[video name] where a screen is visible.
Find where we are discussing pricing
in [video name]. Give me one link
that plays those moments together.
What you get: the matching moments with their start and end times, and a unique link for each one. Ask for one link and the moments play back to back.
The description can be about what is shown, such as “where a screen is visible”, or about what is said, such as “where we are discussing pricing”.
Here is the kind of reply you get. This is an illustrative example, with the links shortened.
I found 3 moments where pricing is
discussed in sales-call.mp4:
1. 04:12 to 04:58
https://player.videodb.io/watch?v=...
2. 11:30 to 12:15
https://player.videodb.io/watch?v=...
3. 27:05 to 27:40
https://player.videodb.io/watch?v=...
One link that plays all three:
https://player.videodb.io/watch?v=...
Each link comes with its timestamps, so you can check it against the video. More prompts for searching a video are in can Claude and ChatGPT watch videos.
5 things to ask after the video is hosted
Copy one of these and replace the parts in brackets.
1. See your whole library
List everything I have uploaded to
VideoDB, longest first, with the name,
the length and a link for each video.
What you get: your library as a list you can scan.
2. Make a smaller copy
Make a 720p copy of [video link].
What you get: a transcoding job, then a link to the 720p file when it finishes.
3. Get the file back
Give me [video name] as an MP4.
What you get: a download link for the file.
4. Grab a thumbnail
Grab a thumbnail from 0:12
of [video name].
What you get: an image of that frame, for a preview or a poster.
5. Keep a set together
Create a collection called Launch,
then upload these videos into it:
[video links]
What you get: one collection that keeps the videos together, with its own list.
Example: what the reply looks like
Here is the kind of reply you get to the first request. This is an illustrative example, with the links shortened.
Hosted. launch.mp4, 2 minutes 14 seconds.
Player page:
https://player.videodb.io/watch?v=...
Stream (HLS):
a link ending in .m3u8
Embed link:
https://player.videodb.io/embed?v=...
The embed link is the player link with /watch changed to /embed. Put it in an iframe and the player sits on your page:
<iframe
src="https://player.videodb.io/embed?v=..."
width="100%" height="405"
allowfullscreen></iframe>
Which way of getting a link fits you?
A free tool is the right pick for some jobs. Here is how the common options compare.
| Option | Good for | Keep in mind |
|---|---|---|
| YouTube, set to unlisted | A free link that anyone can watch. The link can start at a time you pick | The video plays on YouTube, in YouTube’s player |
| Google Drive or Dropbox share link | Passing a file to a few people | Viewers open a file page on that service |
| VideoDB through Claude or ChatGPT | A player page, an embed, a stream link and an MP4 from one request. A unique link for any time range, or for a moment you describe | Usage pricing after the free credits |
Pick VideoDB when the video is going into your own site or product, or when you need links to the moments inside it.
What does it cost?
New accounts start with $20 of free credits. After that the published rates apply:
- Uploads: $0.09 per GB
- Storage: $0.03 per GB a month
- Streaming: $0.07 per GB
- Transcoding to another size: $0.009 per minute at 720p and 1080p
At these rates, uploading a 100 MB video costs about 1 cent, and storing it costs about a third of a cent a month. The video hosting page has the full list.
Making a video searchable is billed on its own: transcription is $0.01 per minute, and scene processing is $0.003 per scene, plus tokens. The pricing page has every rate.
Troubleshooting
The assistant says it cannot read the file you attached. In a chat, your assistant sends VideoDB a link. Upload the file at console.videodb.io first, then ask for it by name.
The upload from a link fails. Open the link in a private browser window. If it asks you to sign in, VideoDB cannot reach it either. Use a direct link to the video file, or a YouTube link.
An authorization error appears. Disconnect VideoDB in your connector settings and connect it again. Allow pop-ups if the VideoDB page does not open.
FAQ
Can Claude or ChatGPT turn a video into a link?
Yes, once they have a host to put the video on. Add VideoDB to Claude or ChatGPT, paste a video link and ask for a link. You get a player page to share, a stream link and an embed code.
Can I get a link to a specific time in a video?
Yes. Give a start time and an end time, such as 2:10 to 2:40, and you get a link that plays only that part. Every time range gets its own unique link, and the full video keeps its own.
Can I get a link to a moment I describe?
Yes. Make the video searchable, then describe the moment, such as where a screen is visible or where pricing is discussed. The assistant finds the matching moments and gives you a unique link for each, or one link that plays them together.
How do I turn an MP4 on my computer into a link?
Upload the file at console.videodb.io, then ask your assistant for its link. In Claude Code the agent can upload the file from your folder. In code, the Python SDK takes a file path and returns the links.
Who can open the link?
Your library is private to your account. A link you share plays for anyone who has it, so treat it like an unlisted link. Deleting a video removes it in full.
Can I embed the video on my website?
Yes. Every hosted video has a player link. Change /watch to /embed in that link and put it in an iframe, or ask the assistant to write the embed code for you. The stream is HLS, so it also plays in any player that reads HLS.
Is it free to turn a video into a link?
New VideoDB accounts start with $20 of free credits, and no credit card is needed. After that you pay for what you use: $0.09 per GB uploaded, $0.03 per GB stored a month and $0.07 per GB streamed.
Try it now
Add VideoDB to Claude or ChatGPT, paste a video link and ask for a link back.
Next, try: add video to an app you built with Cursor, or see everything your agent can do on the video hosting page.