Before you start
- A Higgsfield API account - separate from a higgsfield.ai subscription; no plan is required
- A payment method and at least $5 for the first top-up
- Somewhere to host input media at public URLs (the API takes URLs, not uploads, in its request bodies)
- Basic comfort with REST or the Python / TypeScript SDKs
The playbook
7 steps
Understand that the API is its own product
The single most common confusion: **the Higgsfield API does not use your subscription.** It has its own account and a **prepaid US-dollar balance**. Plan credits and 'unlimited' access don't apply, a plan isn't required, and having one doesn't change API access or rates. It launched as a standalone, pay-per-generation product in September 2026. If what you actually want is to drive your existing Higgsfield account from Claude or Cursor, that's [Higgsfield MCP](/resources/higgsfield-mcp), not the API.
Expected outcome
You know you're opening a new, dollar-billed account.
Create the account and fund it
Sign up for an API account (choose personal or company use), add a payment method and top up. The **minimum top-up is $5**, funds **expire one year** after they're added, and **auto top-up** is available so production requests don't stall when the balance hits zero.
TipTurn on auto top-up before you ship anything user-facing, and set an alert in your own app for spend per day. Async video jobs can queue a lot of dollars quickly.Expected outcome
A funded API balance.
Create an API key - and save it immediately
In the API console, create a key. You get a **key ID and a key secret**; the full secret is shown **once**, so put it in your secrets manager before closing the dialog. Higgsfield says a key allows **20 concurrent requests**.
export HF_API_KEY_ID="..." export HF_API_KEY_SECRET="..."Expected outcome
Credentials stored as environment variables.
Pick a model endpoint
One key unlocks 50+ image and video models - Higgsfield's own (Soul 2, Soul Cinema, DoP, Marketing Studio Image, Genjutsu) and third-party engines including Kling, Seedance, Wan, MiniMax, PixVerse, LTX, Ideogram, Recraft and Qwen. **Each model has its own URL path** on `api.higgsfield.ai`, and the JSON body differs per model, so read the model's page in the docs. Each model page also includes code samples and setup prompts for Claude Code, Cursor and Codex.
https://api.higgsfield.ai/higgsfield-ai/soul/v2/standard https://api.higgsfield.ai/higgsfield/genjutsu/motion-transfer/v1.0Expected outcome
The endpoint and request schema for the model you need.
Submit your first request
Requests are **asynchronous**. You POST to the model endpoint with an `Authorization: Key <id>:<secret>` header, and the API immediately returns a `request_id` plus a `status_url` and `cancel_url`. Media inputs must be publicly reachable URLs.
curl --request POST \ --url https://api.higgsfield.ai/higgsfield-ai/soul/v2/standard \ --header "Authorization: Key ${HF_API_KEY_ID}:${HF_API_KEY_SECRET}" \ --header "Content-Type: application/json" \ --data '{"prompt": "Editorial portrait in soft daylight"}' # Response { "status": "queued", "request_id": "<request_id>", "status_url": "https://api.higgsfield.ai/requests/<request_id>/status", "cancel_url": "https://api.higgsfield.ai/requests/<request_id>/cancel" }Expected outcome
A queued job and a status URL.
Poll or use a webhook, then download fast
Either poll `status_url` until the job completes or have the API call your webhook when it finishes (webhooks are the better choice in production - polling a 2-minute video job wastes requests). Then **download the output to your own storage**: Higgsfield deletes request files seven days after the request finishes (the status response and webhook include an `expires_at` timestamp).
TipPersist the `request_id` with your own job record. It's what you'll need for debugging, cancellations and support tickets.Expected outcome
Generated media stored in your own bucket.
Estimate before you spend
Pricing is fixed per model configuration and published: **video per second of output, images per image, DoP per generation**. Higgsfield also provides an **estimate endpoint** that returns a request's cost before you run it - wire that into any user-facing flow so you can show or cap cost. **Failed and moderated requests aren't charged**; any amount reserved is refunded automatically. A queued request can be canceled (and refunded) only before processing starts.
Expected outcome
Predictable unit costs per generation.
Shuttergen
The API renders. Something still has to decide.
If you're piping the Higgsfield API into an ad workflow, the bottleneck is knowing what to generate. Shuttergen handles that end: it studies the longest-running ads in your category and generates static and video ads built on those patterns.
Pitfalls
What goes wrong
Assuming your subscription credits work
They don't. The API is billed from its own dollar balance. Teams who already pay for a Higgsfield plan are often surprised to need a second account.
Losing outputs after a week
Request files are deleted seven days after the request finishes. If your app links straight to Higgsfield's file URLs, those links can go dead. Copy files to your own storage on completion.
Ignoring concurrency
A key allows 20 concurrent requests. A batch job that fires 200 video requests at once needs a queue on your side.
Picking the most expensive model by default
Per-second video rates vary several-fold between engines. Prototype on a cheaper model, then test whether the premium one actually improves the result your users care about.
Private input URLs
Inputs like video_url and image_urls must be publicly accessible. Signed URLs that expire too quickly, or files behind auth, cause failed jobs.
Limits
When this playbook won't work
- You just want to use Higgsfield from Claude or Cursor - use the official MCP connector instead, which runs on your plan
- You need every Higgsfield studio feature - not every web tool is exposed through the API, so check the model list before you build
- You need guaranteed long-term hosting of outputs - Higgsfield retains files for a limited window
- Your volume is low and sporadic - a subscription with the web app may be simpler than maintaining an integration
Higgsfield API pricing: what the published rates look like
Higgsfield publishes starting rates per model. At launch (September 2026) its announcement listed, for example: Soul 2 and Soul Cinema images at $0.0032 each, Marketing Studio Image at $0.0059, DoP at $0.125 per generation, and per-second video rates ranging from $0.042 on Kling 2.5 and $0.07 on Kling 2.6 to $0.112 on Kling 3.0, $0.115 on PixVerse 6, $0.13 on MiniMax H3, $0.17 on LTX 2.5 Pro and $0.20 on Wan 3.0. Higgsfield's own worked example: a 10-second clip is about $1.12 on Kling 3.0 and $0.70 on Kling 2.6.
Treat those as reference points, not a price sheet. Rates depend on resolution, duration and mode, Higgsfield runs model-level promotions, and new models are added constantly. The live per-model price and the estimate endpoint are the source of truth. For subscription pricing - a different thing entirely - see our Higgsfield pricing breakdown.
The API renders. Something still has to decide. If you're piping the Higgsfield API into an ad workflow, the bottleneck is knowing what to generate. Shuttergen handles that end: it studies the longest-running ads in your category and generates static and video ads built on those patterns.
API vs MCP vs the web app: which one you actually need
Web app (higgsfield.ai): subscription credits, unlimited perks on some models, every studio and template. Right for creators and in-house teams making content by hand. Start with the Higgsfield AI tutorial.
MCP / CLI: your subscription, driven by an agent such as Claude, Cursor or ChatGPT. Right for batching and automating your own work. Every generation costs credits; unlimited perks don't apply.
API: separate dollar balance, key-pair auth, async jobs. Right when you're building generation into a product other people use, or into a pipeline that needs to run without a human logged in. It's the only one of the three designed for that.
Building ad generation on top: the part the API doesn't solve
The API gives you excellent rendering. It doesn't give you a creative strategy. If you're building an ad-generation pipeline on Higgsfield, the hard part is upstream: deciding which hooks, formats and angles to generate. The strongest input signal most teams have free access to is competitor ad longevity - ads that have run for months in the Meta Ad Library are the ones still profitable. Programmatic access to that data is its own topic; see our Ad Library API guide.
FAQ
Frequently asked
Does Higgsfield have an API?
How much does the Higgsfield API cost?
Does my Higgsfield subscription include API access?
What's the minimum top-up?
How does Higgsfield API authentication work?
Are failed API generations charged?
Is there an SDK?
Related
Keep reading
Resource
Higgsfield mcp
Use your subscription from Claude, Cursor and ChatGPT instead.
Resource
Higgsfield ai pricing
Subscription plans and credits, for comparison.
Resource
Higgsfield genjutsu
One of the Higgsfield models available via the API.
Resource
Ad library api
The data side of an automated ad pipeline.
Sources
The API renders. Something still has to decide.
If you're piping the Higgsfield API into an ad workflow, the bottleneck is knowing what to generate. Shuttergen handles that end: it studies the longest-running ads in your category and generates static and video ads built on those patterns.