[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Instagram Reels by audio](https://spiral.ai/integrations/gemini-cli/instagram-reels-by-audio)

# How to Use Instagram Reels by audio in Gemini CLI

Returns Reels using a specific Instagram audio, plus a cursor for more results. Use it to study how creators interpret the same sound across different videos.

|  |  |
| --- | --- |
| Model | Instagram Reels by audio |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0104 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Instagram Reels by audio in Gemini CLI

- Use Instagram Reels by audio to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Instagram Reels by audio and tell me what changed since last week.
- Check Instagram Reels by audio and summarize what you find in three bullet points.
- Pull the newest data from Instagram Reels by audio and give me the result as a table.
- Check Instagram Reels by audio every morning and tell me only when something changed.

## How to set up Instagram Reels by audio in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Instagram Reels by audio**: One request; the result comes back by polling or a webhook.

```bash
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-v3-get-music-posts",
    "input": {
      "audio_cluster_id": "18066165960103621"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Instagram Reels by audio on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Instagram Reels by audio tools and prices

- [Instagram V3 · Get music (audio) posts](https://spiral.ai/tools/tikhub/tikhub/instagram-v3-get-music-posts) (TikHub): $0.0104 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| max_id |  | — | Pagination cursor |

## What can you do with Instagram Reels by audio in Gemini CLI?

Build an Instagram campaign research view with traceable content references. A coding agent can turn returned shortcodes, posts, discussions, media, or place details into records your project can use.

### Prepare a campaign research brief

Turn campaign links into post references, examine comments and replies, and collect examples from hashtags, Explore, Highlights, and shared audio. For a campaign tied to a venue, add place details, location posts, and nearby content.

### Build a creative reference board

Collect examples from Explore, campaign hashtags, brand Highlights, and Reels sharing an audio. Extract shortcodes from selected links so each reference has a consistent post identifier.

### Study how brands use an audio

Collect Reels sharing a specific audio, use Explore to find further creative references, and normalize selected post links. Review comments and replies on chosen public brand posts to summarize reactions to the execution.

### Maintain an internal campaign evidence index

Organize post shortcodes, hashtag and Explore examples, Highlight references, audio-linked Reels, and discussion summaries by campaign. Add place details, location posts, and nearby content when the campaign includes a physical venue.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Instagram Reels by audio in other agents

- [Amp](https://spiral.ai/integrations/amp/instagram-reels-by-audio)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/instagram-reels-by-audio)
- [Claude](https://spiral.ai/integrations/claude-desktop/instagram-reels-by-audio)
- [Claude Code](https://spiral.ai/integrations/claude-code/instagram-reels-by-audio)
- [Cline](https://spiral.ai/integrations/cline/instagram-reels-by-audio)
- [Codex](https://spiral.ai/integrations/codex/instagram-reels-by-audio)
- [Cursor](https://spiral.ai/integrations/cursor/instagram-reels-by-audio)
- [Devin](https://spiral.ai/integrations/devin/instagram-reels-by-audio)
- [dots](https://spiral.ai/integrations/dots/instagram-reels-by-audio)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/instagram-reels-by-audio)
- [Gemini](https://spiral.ai/integrations/gemini/instagram-reels-by-audio)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/instagram-reels-by-audio)
- [goose](https://spiral.ai/integrations/goose/instagram-reels-by-audio)
- [Grok](https://spiral.ai/integrations/grok/instagram-reels-by-audio)
- [Grok Build](https://spiral.ai/integrations/grok-build/instagram-reels-by-audio)
- [Hermes](https://spiral.ai/integrations/hermes/instagram-reels-by-audio)
- [Instinct](https://spiral.ai/integrations/instinct/instagram-reels-by-audio)
- [Manus](https://spiral.ai/integrations/manus/instagram-reels-by-audio)
- [Muse](https://spiral.ai/integrations/muse/instagram-reels-by-audio)
- [Muse Code](https://spiral.ai/integrations/muse-code/instagram-reels-by-audio)
- [n8n](https://spiral.ai/integrations/n8n/instagram-reels-by-audio)
- [Notion](https://spiral.ai/integrations/notion/instagram-reels-by-audio)
- [OpenClaw](https://spiral.ai/integrations/openclaw/instagram-reels-by-audio)
- [opencode](https://spiral.ai/integrations/opencode/instagram-reels-by-audio)
- [Perplexity](https://spiral.ai/integrations/perplexity/instagram-reels-by-audio)
- [Raycast](https://spiral.ai/integrations/raycast/instagram-reels-by-audio)
- [VS Code](https://spiral.ai/integrations/vscode/instagram-reels-by-audio)
- [Windsurf](https://spiral.ai/integrations/windsurf/instagram-reels-by-audio)
- [Zapier](https://spiral.ai/integrations/zapier/instagram-reels-by-audio)

## More Gemini CLI guides

- [Instagram Reels](https://spiral.ai/integrations/gemini-cli/instagram-reels)
- [Instagram Reels search](https://spiral.ai/integrations/gemini-cli/instagram-reels-search)
- [Instagram Highlights list](https://spiral.ai/integrations/gemini-cli/instagram-highlights-list)
- [Instagram Search Hashtag Posts](https://spiral.ai/integrations/gemini-cli/instagram-search-hashtag-posts)
- [Instagram Get Reels By Audio Id](https://spiral.ai/integrations/gemini-cli/instagram-get-reels-by-audio-id)
- [Instagram Search Instagram Profiles](https://spiral.ai/integrations/gemini-cli/instagram-search-instagram-profiles)

## Questions about Instagram Reels by audio in Gemini CLI

**Can Gemini CLI use Instagram Reels by audio?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Instagram Reels by audio like any built-in tool.

**How much does Instagram Reels by audio cost in Gemini CLI?**

$0.0104 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 Instagram Reels by audio in Gemini CLI?**

No. Spiral runs Instagram Reels by audio 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 Reels by audio in Gemini CLI?**

About two minutes: add the server, then sign in, then check it.

**Does Gemini CLI wait while Instagram Reels by audio runs?**

Instagram Reels by audio runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

**What Instagram content is outside the data coverage?**

TikHub limits its Instagram data offering to public content. Private accounts, direct messages, and non-public insights are outside that coverage.

**How fresh is the Instagram data?**

TikHub describes the Instagram endpoints used here as real-time and recommends them for up-to-the-minute counts. That is the provider's description of freshness.

**Does Instagram Explore represent everything trending on Instagram?**

TikHub describes Explore results as personalized recommendations. Treating those results as an Instagram-wide trend ranking would go beyond the documented coverage.

**Does TikHub guarantee accurate and complete Instagram data?**

TikHub's terms explicitly disclaim guarantees that retrieved data is accurate, complete, or current. A returned result therefore does not establish complete Instagram coverage.

**Does retrieving Instagram content give me permission to republish it?**

TikHub's terms say retrieved content may remain subject to third-party intellectual property rights. Retrieval alone does not establish permission to republish it.

