The Hypesonic API
The Hypesonic API is the same MCP (Model Context Protocol) server your agent uses, reached with an API key instead of a sign-in, so your own code can make ads and run the media without a person in the loop.
By Grace Kong·Updated ·5 min read
Try a weekly ad job before you script it
TL;DR
Create a key in Settings > API keys in the Hypesonic app and send it as
Authorization: Bearer <key>to https://www.hypesonic.com/mcp. The key is shown once, and revoking it stops every script using it at once.A script calls the same tools an agent does:
model_search,model_get,run,run_wait,run_get,playbook_search,playbook_getandspend_get.Code wins on repeated jobs: Anthropic measured one workflow at 150,000 tokens through tools and 2,000 through code (Anthropic, Nov 2025).
Playbook prices carry over to scripts: a static Meta ad costs about $0.20 to $0.75, a Meta video ad about $4 to $15, and a 30 second streaming TV draft about $7 to $15.
API or MCP: which to use
Use the MCP when a person directs the work through an agent, and the API when code runs the same job on its own.
| Hypesonic MCP | Hypesonic API | |
|---|---|---|
| Who calls it | An AI agent: Claude, ChatGPT, Claude Code, Gemini, Grok, Meta Muse, or any agent with remote MCP such as Cursor and Codex. | Your code: scripts, scheduled jobs, back ends, internal tools. |
| Sign-in | OAuth in the agent; no key to manage. | An API key from Settings > API keys, sent as a Bearer header. |
| Best for | Briefs, judgment calls, reviewing plans, one-off jobs. | Scheduled reports, bulk creative, product features, pipelines. |
| Choosing endpoints | The agent finds them with playbook_search and model_search from your request. | Your code names them, such as openai/gpt-image-2.6/sunburst. |
| Spending | The agent shows the plan and the price first. | Your code asks run for an estimate and decides in its own flow. |
Ad platforms split the same way: Meta positions its Ads MCP for conversational work and its Ads CLI for deterministic, repeatable execution at scale (Meta).
Connect with an API key
Make a key in the app, then point any MCP client at https://www.hypesonic.com/mcp with the key in the Authorization header.
- Open Settings > API keys in the Hypesonic app and create a key. Copy it now; it is not shown again.
- Store it as an environment variable, for example
HYPESONIC_API_KEY. - Connect with the official MCP SDKs for TypeScript or Python, or any client that speaks remote MCP over Streamable HTTP, sending
Authorization: Bearer <key>.
A config file for a coding agent or a headless runner looks like this:
{
"mcpServers": {
"hypesonic": {
"type": "http",
"url": "https://www.hypesonic.com/mcp",
"headers": { "Authorization": "Bearer <your key>" }
}
}
}Keep the www in the URL. Revoking a key in Settings stops every agent and script using it at once.
How a run works
Every job follows the same four steps, from your code or from an agent.
- Find the endpoint.
playbook_searchandplaybook_getfor a finished ad, ormodel_searchfor a single model. - Read its inputs and price with
model_getbefore the first run. - Start it with
run. For a paid run, passestimate: truefor a quote and anidempotency_keyso a retry never pays twice. Inputs take asset ids or https URLs. - Collect it with
run_waitorrun_get. Outputs come back as assets with URLs.
spend_get, account_get and billing_top_up_link cover budget and balance.
What a script can call
The same endpoints, playbooks and media an agent gets. Endpoints are named owner/name.
| Kind | Endpoints (December 2026) |
|---|---|
| Video | bytedance/seedance-2.5, google/gemini-omni-flash-1.2, kuaishou/kling-4.0, alibaba/wan-3.0, minimax/h3-max, black-forest-labs/flux-3-video, xai/grok-imagine-video-1.5, sync/lipsync-3 |
| Image | openai/gpt-image-2.6/flare, openai/gpt-image-2.6/sunburst, google/nano-banana-2.1, google/nano-banana-pro, bytedance/seedream-5-pro, black-forest-labs/flux-3, recraft/v4.1, higgsfield/soul-v2 |
| Voice | elevenlabs/eleven-v4, elevenlabs/eleven-v3, elevenlabs/multilingual-v2, minimax/speech-2.6-hd, minimax/voice-design |
| Music and sound | elevenlabs/music, elevenlabs/music-v2.5, google/lyria-2, elevenlabs/sound-effects-v3, elevenlabs/sound-effects-v2 |
| Understanding | google/gemini-4-argon, google/gemini-4-neon (watch, listen and answer) |
| Media | hypesonic/media-fetch brings a public TikTok or Instagram post (video, caption, stats) into your library |
The live list with prices is always model_search.
Playbooks
ctv-ads: streaming TV commercials of 15, 30 or 60 seconds from a brand's website, about $7 to $15 for a 30 second draft and $30 to $55 finished at 1080p.meta-video-ads: vertical video ads for Reels, Stories and feed, about $4 to $15 per ad at 480p.meta-static-ads: static image ads with the copy set in the brand's own fonts, about $0.20 to $0.75 per ad.
Media
The same server plans, launches, sets budgets and targeting, tests and reports on Meta (Facebook and Instagram), TikTok, Pinterest, Reddit, LinkedIn, streaming TV, and billboards and out-of-home. You sign in to each ad platform through Hypesonic, with no developer account or API app of your own.
Jobs teams build on the API
The API earns its place when the same job repeats.
| Job | What the script does |
|---|---|
| Monday performance report into Slack or email | Pulls spend and results from every channel Hypesonic runs and posts a summary. |
| New product in the catalog triggers ads | Runs the meta-static-ads playbook on the product page, then launches the set on Meta. |
| Weekly creative refresh | Runs meta-video-ads for new hooks and tests them against the current best ad. |
| Rival post breakdowns for the team | Brings a public TikTok or Instagram post in by link with hypesonic/media-fetch, then has google/gemini-4-argon break down the hook and script. |
| Local campaigns for every store | Finds billboards near each address and books them, with artwork sized to each screen. |
What the API does not do
The API covers the same channels as the MCP, no more.
- Launching on Google and YouTube, ChatGPT ads, Snapchat, X, Spotify and podcasts, Amazon and direct mail is coming soon. Today it makes the ads for those channels (scripts, voiceovers, artwork, videos, copy).
- It does not buy newsletter sponsorships, creator deals or gifting.
- There is no published fee percentage on ad spend yet; every paid run returns its price first.
- It does not replace the ad platforms' own tools for account admin, such as billing settings or user access.
Getting access
It is free to start, with no subscription or seats.
Sign up at hypesonic.com, add a card for a $5 credit, and create a key in Settings > API keys. Creative is billed at the model's price plus a 10% markup, priced before each run, and failed runs cost nothing. Ad spend is at cost plus a fee set per channel; streaming TV and billboard space is billed from credits or an invoice. For enterprise terms, book a call.
Questions
Is there a Hypesonic API?
Yes. It is the Hypesonic MCP server reached with an API key from Settings > API keys, so scripts, scheduled jobs and your own apps use the same tools an agent does.
Do I need the API if I use the MCP?
No. The MCP is enough for work you direct through Claude, ChatGPT, Gemini or another agent. Use the API when a job should run without a person in the loop or inside your product.
Can a script launch Meta and TikTok campaigns?
Yes. The same server launches and reports on Meta, TikTok, Pinterest, Reddit, LinkedIn, streaming TV and billboards. Google and YouTube launching is coming soon.
How is the API priced?
The same as the MCP: creative at the model's price plus 10%, quoted before each run, and ad spend at cost plus a fee set per channel. There is no subscription.
What happens if a run fails?
A failed run costs nothing. Pass an idempotency_key with each paid run so a retry after a network error never pays twice.
Sources
- 1Hypesonic, llms.txt (setup, tools, endpoints and playbooks) · accessed Dec 3, 2026
- 2Meta, ads MCP server page · accessed Nov 30, 2026
- 3Anthropic Engineering, Code execution with MCP · Nov 4, 2025
Try a weekly ad job before you script it
Keep reading
- IntegrationsHow to connect the Hypesonic MCP to your AI agentRead
- IntegrationsMCP vs API: what's the difference?Read
- IntegrationsCodex for marketing: running ad work from OpenAI CodexRead
- IntegrationsCursor for marketing: what marketers do in Cursor, and how to add ad toolsRead
- AI adsAI ads: what they are, what they cost and where they fall shortRead
- Streaming TVStreaming TV advertising: what it is and how to buy it in 2026Read