How to Use TikTok short share link in Gemini CLI
Returns a shortened sharing link from a longer URL. Use it to prepare compact TikTok references for campaign briefs, newsletters, or event materials.
Prompts to try with TikTok short share link in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use TikTok short share link to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from TikTok short share link and tell me what changed since last week.
Check TikTok short share link and summarize what you find in three bullet points.
Pull the newest data from TikTok short share link and give me the result as a table.
Check TikTok short share link every morning and tell me only when something changed.
How to set up TikTok short share link in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI 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 TikTok short share link
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/tiktok-app-v3-fetch-share-short-link", "input": { "url": "https://www.tiktok.com/passport/web/logout/" } }'
Then paste one of the prompts above: Gemini CLI finds TikTok short share link on Spiral, shows the price and runs it.
TikTok short share link providers and prices
Spiral runs TikTok short share link through TikHub. Open a card for today's price, with every fee included.
What can you do with TikTok short share link in Gemini CLI?
Build a TikTok reference library containing public post records, sound examples, creator suggestions, and sharing assets. A coding agent can map retrieved responses into the project's data model and display the documented outputs.
Campaign research brief
Find candidate sounds, collect videos using them, and inspect reference posts by ID or shared link. Add similar public creator suggestions, returned video regions where available, profile QR codes, and short links for the review meeting.
Public creator showcase kit
Prepare an event program with public creator recommendations, selected post data, and sound examples for discussion. Retrieve posts from IDs or sharing links, check country-specific availability, and prepare profile QR codes and compact links for attendees.
Agency campaign handoff
Package researched sounds, example videos, and suggested public collaborators for a client's next production cycle. Refresh reference posts from saved IDs or links, include regional retrieval results, and supply profile QR images and short links alongside the brief.
TikTok reference library
Build a searchable collection of sound discoveries, sound-linked video samples, individual post records, and public creator suggestions. Accept post IDs or sharing links, retain returned regions where available, and attach profile QR codes and short links for browsing.
Profile sharing materials
Prepare QR images and shortened links for a public brand's TikTok profile to place on store signage, presentation slides, or event programs.
More on TikTok short share link and Gemini CLI
Overview
TikTok short share link in other agents
Questions about TikTok short share link in Gemini CLI
Can Gemini CLI use TikTok short share link?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run TikTok short share link like any built-in tool.
How much does TikTok short share link cost in Gemini CLI?
$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need a TikHub account to use TikTok short share link in Gemini CLI?
No. Spiral runs TikTok short share link on its own TikHub account. You sign in to Spiral once and never paste a key.
How long does it take to set up TikTok short share link in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while TikTok short share link runs?
TikTok short share link runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
Does TikHub provide private TikTok content?
TikHub describes its service as access to publicly available social media data. That coverage boundary does not promise access to private TikTok posts.
How fresh are TikHub's TikTok results?
TikHub says its API returns fresh, real-time data and never serves cached data through repeat endpoint calls. This is the provider's stated freshness behavior, rather than a measured TikTok update delay.
Are TikTok search results a complete inventory?
A requested page size is not a completeness guarantee: TikHub says paginated endpoints frequently return fewer items than requested. Music search also has a documented ceiling of 20 results per request.
Is TikTok content available in every country?
No. TikHub explicitly notes that some TikTok videos are unavailable in certain countries or regions, so a regional retrieval can produce a different availability result.
Does retrieving TikTok content grant permission to reuse it?
TikHub's terms say retrieved content may carry third-party intellectual property rights. TikTok also says its licenses for music outside the Commercial Music Library do not cover commercial use in content.
Start using TikTok short share link in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


