Connect Higgsfield AI to Toolspoke

Generate images and video from a prompt, then poll until the file is ready. Toolspoke gives your agents 5 of its actions, and you decide which ones each project allows.

Connection
Provider REST API
Authentication
API key
Actions exposed
5
What a call bills
Nothing
Adapter
Maintained by Toolspoke
Category
AI

Connected in three steps

  1. Install Higgsfield AI

    Open the marketplace in your workspace, add Higgsfield AI to the project your agents work in, and it appears on the gateway immediately.

  2. Connect the credential

    Provide the credential Higgsfield AI asks for. Where to get it, and what it has to be able to reach, is the next section.

  3. Give it to an agent

    Describe the job in one sentence and the builder proposes the instructions, the toolkits it needs, a schedule and where it should answer, or start from a catalogue agent. It can use every Higgsfield AI action the project leaves on.

Where the agent answers

  • Slack

    Ask it in a channel or a thread, and it replies in the thread it was asked in.

  • Email

    Email it. Each write waits for a person's go-ahead unless that action is allowed in advance.

  • GitHub

    Mention it on a pull request, and it answers there.

  • Schedule

    A routine wakes it on a schedule, or when a new item matches.

Any agent in the project can use Higgsfield AI, and only the actions the project leaves on.

What Higgsfield AI asks for

API key. You provide it once, when you install the connector. Toolspoke encrypts it at rest and decrypts it only for the length of a single call, and the gateway attaches it to the outbound request itself, so it is never part of the arguments an agent sends.

API keyRequired
cloud.higgsfield.ai → API keys. Paste the key id and the key secret joined by a colon, in that order. Higgsfield's own header format is `Key {api_key_id}:{api_key_secret}`, and its Python SDK reads the same pair from one HF_KEY variable.
key-id:key-secret

What an agent can do in Higgsfield AI

5 actions, each one declared by name in the connector. A workspace policy grants a person all of them, a hand-picked selection, everything on the read side, everything on the write side, or none.

2 read, 3 write, none destructive

Reads

2

Fetches data and changes nothing.

  • estimate_cost

    Price a generation before running it. Send the same model path and the same body `generate` would take, and Higgsfield answers with what it would cost this account in `credits` and in `usd`. Nothing is queued and no credit is spent, which is why this is a read and why it is also the connection test. Always call it before an expensive video generation, cost rises steeply with duration and resolution, and this is the only way to see the number in advance.

  • get_request_status

    Check a generation started by `generate`. `status` is queued, in_progress, completed, failed, nsfw, or canceled, the last four are terminal. Poll about every two seconds at first and back off towards ten. A completed request carries the output: `images` for image models, `video` for video models, `audio` or `audios` for audio. Those URLs are kept for at least seven days and then may be removed, so anything worth keeping has to be copied elsewhere. `failed` and `nsfw` requests are not charged and any reserved credits are refunded.

Writes

3

Creates or updates something on the other side.

  • generate

    Queue a generation and get back a `request_id`. This spends the account's credits, call estimate_cost with the same arguments first. Nothing but the id and `status: queued` comes back: poll get_request_status until the status is terminal, then read `images`, `video` or `audio` from it. Every model has its own path and its own parameters and refuses parameters belonging to another, so read the model's entry in Higgsfield Cloud before composing `body`. Confirmed paths include higgsfield-ai/soul/standard (text to image), higgsfield-ai/dop/standard (image to video), and kling-video/v2.1/pro/image-to-video. Submissions take no idempotency key, so a call that times out ambiguously must not be blindly repeated, look for the request with get_request_status instead.

  • cancel_request

    Stop a generation that has not started yet, so it stops costing anything. Only works while the request is still `queued`, once it is `in_progress` Higgsfield refuses with a 400 and the work runs to completion. A successful cancellation refunds the reserved credits and returns an empty body. This destroys nothing: there is no output yet to lose.

  • create_upload_url

    Get a place to put an input file that is not already on a public HTTPS URL. Returns `public_url`, the value to pass into `generate`, plus a one-hour `upload_url` and the `upload_headers` the bytes must be sent with. The upload itself is a PUT this gateway does not make: hand `upload_url` and `upload_headers` to whatever holds the file, and never send Higgsfield's credentials to it. Accepted types are image/jpeg, image/png, image/webp, image/gif, audio/wav and video/mp4.

What it will not do

The gateway enforces each of these, so they can be stated flatly.

It cannot call anything else
The 5 actions above are the whole of it. A call to any other name is refused before it reaches Higgsfield AI rather than forwarded on, and connecting your account does not add to the list: it is fixed by the connector, not discovered at run time.
Nothing here deletes
This connector writes to Higgsfield AI, but nothing in it deletes or permanently alters anything.
It reaches no further than your credential
Toolspoke holds no access to Higgsfield AI of its own. Every call carries the credential you stored and nothing besides, so whatever that credential cannot reach, this connector cannot reach either.
It never hears from Higgsfield AI
Nothing is pushed to it. There is no webhook, no subscription and no polling, so this connector cannot notice by itself that something changed in Higgsfield AI. An agent has to ask.
It does not smooth over provider limits
Toolspoke does not retry, queue or back off around Higgsfield AI's own rate limits. A call that Higgsfield AI refuses comes back to the agent as a failed call.

Before you connect it

What can an agent do in Higgsfield AI?

5 named actions: 2 that only read and 3 that write. They include estimate_cost, generate and get_request_status. Nothing outside that list is reachable: the connector declares each operation by name rather than proxying whatever an agent asks for.

What credentials does the Higgsfield AI connector need?

API key. The connector asks for api key. Values are encrypted at rest and attached to the outbound request by the gateway, so they are never part of the arguments an agent sends and never reach the audit log.

How does an agent get to use Higgsfield AI?

Install Higgsfield AI in a project and every agent in that project can use the actions the project leaves on. Describe a job in one sentence and the builder proposes the instructions, the toolkits it needs, a schedule and where it should answer, or start from a catalogue agent. The agent answers when someone asks it in Slack, emails it or mentions it on a GitHub pull request, or when its routine wakes it.

What does the Higgsfield AI connector not do?

The 5 actions above are the whole of it. A call to any other name is refused before it reaches Higgsfield AI rather than forwarded on, and connecting your account does not add to the list: it is fixed by the connector, not discovered at run time. This connector writes to Higgsfield AI, but nothing in it deletes or permanently alters anything. Toolspoke holds no access to Higgsfield AI of its own. Every call carries the credential you stored and nothing besides, so whatever that credential cannot reach, this connector cannot reach either. Nothing is pushed to it. There is no webhook, no subscription and no polling, so this connector cannot notice by itself that something changed in Higgsfield AI. An agent has to ask. Toolspoke does not retry, queue or back off around Higgsfield AI's own rate limits. A call that Higgsfield AI refuses comes back to the agent as a failed call.

Can I limit which actions an agent can call?

Yes, in two places. The project switches Higgsfield AI's actions on and off one at a time, for everyone in the project at once, and the screen groups them by read, write and destructive so turning off everything that deletes is one click. An individual agent key can then be narrowed further, to particular toolkits in a project and to particular actions in a toolkit. Whatever it was granted, a key never reaches a project its owner cannot.

What gets recorded when an agent calls Higgsfield AI?

Every attempt, with the agent that made it and the person that agent belongs to, the full request payload, the response payload, the status, the duration, and what the call cost in sandbox time and model tokens. Values whose key names a secret are masked out before the record is shown to anyone. An operation the connector marks as not retained never has its response body written at all, so the gateway keeps no second copy of what was read.

Connect Higgsfield AI to Toolspoke

Add Higgsfield AI to a project and give it to an agent.