How to Use Instagram media ID to shortcode in Google Antigravity
Convert an Instagram post's numeric media ID into its shortcode, with the original ID and conversion status returned. Use it to turn post IDs in campaign exports into Instagram post links.
Prompts to try with Instagram media ID to shortcode in Google Antigravity
Copy an example into Google Antigravity, or ask in your own words.
Use Instagram media ID to shortcode for 3774507992167247878 and show the returned ID, shortcode, conversion status, and constructed Instagram post URL.
Use Instagram media ID to shortcode on the @nasa post IDs in our campaign CSV, then add shortcode and post URL columns to the report export.
Use Instagram media ID to shortcode for the @nike post IDs in our content inventory and populate only the rows missing a shortcode.
Use Instagram media ID to shortcode on the @patagonia post IDs in our reporting database and prepare a reviewable update matching each result to its returned original ID.
Use Instagram media ID to shortcode for 3774507992167247878, then add the returned conversion to our report preview as a clickable Instagram reference.
How to set up Instagram media ID to shortcode in Google Antigravity
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Open the MCP config
* Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.
- Add the server
Add Spiral under mcpServers:
{ "mcpServers": { "spiral": { "serverUrl": "https://api.spiral.ai/mcp" } } } - Sign in
In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.
Use the Spiral skill
- Send Google Antigravity 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 Instagram media ID to shortcode
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/instagram-v2-media-id-to-shortcode", "input": { "media_id": "3774507992167247878" } }'
Then paste one of the prompts above: Google Antigravity finds Instagram media ID to shortcode on Spiral, shows the price and runs it.
Instagram media ID to shortcode providers and prices
Spiral runs Instagram media ID to shortcode through TikHub. Open a card for today's price, with every fee included.
What can you do with Instagram media ID to shortcode in Google Antigravity?
Add clickable Instagram post references to your project's campaign reports. A coding agent can pair returned media IDs with shortcodes and build the documented post URLs.
Add post links to campaign reports
Convert media IDs from public brand posts into shortcodes, then build Instagram links beside the campaign results your team already holds.
Repair missing links in content inventories
Rebuild the post URL column for an internal content inventory that retained Instagram media IDs but lost its links.
Prepare an editorial source list
Turn IDs for public business or publisher posts into links editors can use while reviewing story sources.
Match exports that use different identifiers
Add shortcodes to an internal export keyed by media ID so it can be compared with a campaign table that uses shortcodes.
Build a brand post review queue
Attach Instagram post links to media IDs already selected for a brand's internal creative review.
Backfill an internal reporting database
Populate missing shortcode values for stored public brand post IDs, keeping the returned original ID alongside each conversion.
More on Instagram media ID to shortcode and Google Antigravity
Instagram media ID to shortcode in other agents
Questions about Instagram media ID to shortcode in Google Antigravity
Can Google Antigravity use Instagram media ID to shortcode?
Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run Instagram media ID to shortcode like any built-in tool.
How much does Instagram media ID to shortcode cost in Google Antigravity?
$0.0026 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.
Do I need a TikHub account to use Instagram media ID to shortcode in Google Antigravity?
No. Spiral runs Instagram media ID to shortcode on its own TikHub account. You sign in to Spiral once and never paste a key.
How long does it take to set up Instagram media ID to shortcode in Google Antigravity?
About two minutes: open the MCP config, then add the server, then sign in.
Does Google Antigravity wait while Instagram media ID to shortcode runs?
Instagram media ID to shortcode runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.
What does the Instagram ID conversion return?
TikHub documents three output values: conversion status, the original media ID, and the converted shortcode.
How does a shortcode become an Instagram post link?
Insert the returned shortcode into https://www.instagram.com/p/{shortcode}/. TikHub explicitly documents this post URL pattern.
Does the conversion include captions or engagement counts?
The converter's documented output covers identifiers and conversion status. TikHub documents media, captions, likes, and comments in its separate Instagram post details lookup.
Can a converted ID reveal private Instagram content?
TikHub states that it does not access private, restricted, or password-protected content. A converted shortcode should not be treated as permission to view restricted content.
Does access through TikHub grant unrestricted reuse rights?
TikHub requires customers to ensure their use complies with applicable laws and third-party platform terms. Converting an Instagram identifier does not remove those obligations.
Start using Instagram media ID to shortcode in Google Antigravity
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Google Antigravity:
set up https://spiral.ai/SKILL.md


