How to Use YouTube selected video download links in opencode
Returns selected stream URLs, format details, download headers, and expiration values. Use it for a download handoff that preserves the same proxy session and public exit IP.
Prompts to try with YouTube selected video download links in opencode
Copy an example into opencode, or ask in your own words.
Use YouTube video playback links and YouTube selected video download links for https://www.youtube.com/watch?v=dQw4w9WgXcQ to build an inspector comparing all returned playback formats with selected stream URLs, headers, and expiration values.
Use YouTube selected video download links to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from YouTube selected video download links and tell me what changed since last week.
Check YouTube selected video download links and summarize what you find in three bullet points.
Pull the newest data from YouTube selected video download links and give me the result as a table.
How to set up YouTube selected video download links in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run YouTube selected video download links
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "tikhub", "model": "tikhub/youtube-web-v2-get-video-streams-v3", "input": { "video_id": "<video_id>", "proxy_url": "<proxy_url>" } }'
Then paste one of the prompts above: opencode finds YouTube selected video download links on Spiral, shows the price and runs it.
YouTube selected video download links providers and prices
Spiral runs YouTube selected video download links through TikHub. Open a card for today's price, with every fee included.
$0.0039 per request.
Settings you can ask for
YouTube selected video download links works from your proxy URL. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Verify download | on or off | off | Probe up to 1 KiB per stream, not the full file |
Every API field of YouTube Web V2 · Recommended: download URLs with your fixed-exit proxy (V3) is on its tool page: open its card above.
What can you do with YouTube selected video download links in opencode?
Build a YouTube reference table or media format inspector from returned channel, video, or stream records. A coding agent can map those records into the project's UI and handle empty titles, paginated channel results, and expiring media links.
Build an educational video catalog
Find public educational publishers, enrich a supplied list of lesson URLs with video descriptions and attribution, and record available media formats for lessons approved for reuse.
Prepare a campaign reference pack
Find brand and public creator channels, document supplied campaign videos, and compare stream formats for footage the production team has permission to use.
Compare media delivery options
Compare available resolutions, bitrates, and combined or separate audio/video formats for supplied public videos. Produce a format shortlist with playback or selected download links where needed.
Prepare an approved media handoff
Attach video identity and publisher attribution to a media handoff, inspect available formats, and supply selected stream links with their expiration values and required headers.
Investigate video ingestion failures
Check whether a supplied video has extractable metadata, inspect its available formats, and distinguish empty format URLs from expired playback links or download links tied to a different network exit.
More on YouTube selected video download links and opencode
Overview
YouTube selected video download links in other agents
Questions about YouTube selected video download links in opencode
Can opencode use YouTube selected video download links?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run YouTube selected video download links like any built-in tool.
How much does YouTube selected video download links cost in opencode?
$0.0039 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need a TikHub account to use YouTube selected video download links in opencode?
No. Spiral runs YouTube selected video download links on its own TikHub account. You sign in to Spiral once and never paste a key.
How long does it take to set up YouTube selected video download links in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while YouTube selected video download links runs?
YouTube selected video download links runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does YouTube expose private videos publicly?
Private videos and playlists are visible only to the owner and people the owner chooses. They do not appear in YouTube search results.
How much does one YouTube channel search page cover?
TikHub documents roughly 10–20 channels per page. Results exclude videos and playlists, and YouTube determines their order and quantity.
How quickly do YouTube engagement counts appear?
YouTube says metrics can take time to appear during the first few hours after publication. A newly published video's public counts may therefore lag its activity.
Is a public YouTube video available in every country?
No. Video owners can restrict availability to particular countries or regions, usually because of licensing rights.
Are YouTube playback links permanent?
TikHub documents a typical playback link lifetime of about six hours. An expired link needs to be generated again.
Start using YouTube selected video download links in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


