Providers

What providers are for

SQUAD Studio can make images through ComfyUI or a connected provider. Some bots (AI helpers that make pictures for creators) run on a ComfyUI computer you choose. Other bots use models (AI systems that generate or interpret content) through a provider, a service connected with an API key or a supported local CLI tool.

This page covers API and CLI provider connections. A provider stores the service details, the credential or local command it needs, and the model choices your install is allowed to expose. ComfyUI endpoints are configured separately in Engines.

The API keys are yours. They stay on your install, and provider usage is billed to your own provider account. SQUAD Studio does not sit between you and that spend.

Provider kinds

In Engines, open Providers. Each group separates connections already in use from those available to set up. Use the help icon beside either heading for a quick explanation.

API means application programming interface, a way for apps to send requests directly to a service. An API provider uses your API key, with usage billed through that API account separately from a chat or CLI subscription.

CLI means command-line interface, a tool installed on your computer that SQUAD Studio runs for you. After you install it and sign in, you can generate from the canvas without typing a command for every image. An eligible subscription allowance can reduce separate API spending, but the provider’s limits and credit settings still apply. A CLI run never switches to an API provider if it fails.

API and CLI providers are part of Pro and Team. On Free, both headings and every provider show a lock; you can still use one ComfyUI endpoint. Your saved provider setup stays in place if you downgrade. CLI providers also remain restricted to the local install owner.

The providers admin supports three kinds of connection. They look a little different during setup, but once the connection is ready they all become provider-backed bots and helpers that you can use.

Built-in adapters ship with the app. Google and OpenAI talk to those vendors directly. OpenAI-compatible is for a self-hosted or third-party endpoint that speaks the OpenAI API shape, so you can point the app at your own server.

Codex CLI, Antigravity CLI and Claude CLI are local options for the owner of a solo install. They use a command already installed and signed in on that computer instead of asking SQUAD Studio to store an API key. The next sections cover their setup and privacy rules.

Vendor-published services arrive as a declarative setup, which means the connection details come down to your install as data instead of being hard-coded into the software build. These cover FLUX, Stability, Reve, Magnific, Krea, Topaz, Ideogram, and Comfy cloud. Because the setup is data, a vendor can add a new service or fix an existing one and have that change reach your install without a software upgrade. The "Vendor-supplied provider profiles" section below covers how those profiles arrive and how they stay verified.

Use Codex CLI on a solo install

Codex CLI is useful when you already have it installed and want image generations to use your own ChatGPT plan. This option appears only in the local owner app, and only the person who owns that install can set it up or change its path. Another person with provider permissions is turned down, because prompts from anyone else must never pass through the owner's ChatGPT session.

That boundary holds all the way through. If other people sign in to your solo install over your network, a Codex bot never appears in their deck or in their list of new bots, and a run started by anyone but the owner is refused outright rather than retried.

First, open Terminal and run codex login. Then find the absolute path to the command with command -v codex. In Providers, choose Codex CLI, paste that path, and connect. The app checks codex login status during setup and again before every run, so it notices a signed-out session without relying on a timer. If the check fails, sign in from Terminal and try again. The app does not open the login flow for you.

SQUAD Studio never reads or stores the Codex credential files, tokens, cookies, or API keys. It gives the local command a fresh empty work folder for each request and accepts exactly one valid image from that folder. The first version supports text-to-image only.

Codex results follow the same safety and provenance path as every other generated image. If safety is enabled, the staged image is checked before it is placed in customer-visible storage. Its provider and model also stay with the normal provenance record used by managed exports.

Your own Codex allowance pays for the generation. If the command fails before it starts, the job can be tried again safely. Once the command has started, the app will not spend that allowance a second time automatically when the outcome is uncertain.

Use Antigravity CLI on a solo install

If you already use Antigravity, you can connect its local command to make images with your eligible subscription quota. Optional additional credits depend on your settings in Antigravity. Generation is not promised to be free or unlimited, and connecting this provider does not turn on extra spending. This is a separate connection from the Google API provider.

Install Antigravity CLI 1.2.9 or later and sign in there. In Terminal, run command -v agy to find its absolute path. In Providers, choose Antigravity CLI, paste that path, and connect. The app checks the installed version and account availability without requesting an image. If the account check fails, run agy -p /usage in Terminal and resolve any sign-in or connection issue before reconnecting.

Like Codex CLI, this connection belongs to the owner of the local solo install. Other people cannot send prompts through your session. SQUAD Studio does not read or copy Antigravity credentials, and it gives each run a separate work folder. Only image generation is exposed through this provider; other Antigravity tools are not added to your bots.

You can start from a text prompt or supply up to three images for editing and references. For example, use an existing image and ask for a different color while keeping its composition. The provider does not promise a particular output resolution or model.

Results use the normal safety, placement, and export-provenance path. Provenance identifies Antigravity CLI and includes the model only when it is known. If generation is refused, the image tool is unavailable, or your quota is exhausted, check the message and your Antigravity account before starting another run. SQUAD Studio does not switch to the paid Google API. If a run's outcome is uncertain, it does not automatically repeat the request.

Create vector logos with Claude

For a simple logo or flat illustration, connect Anthropic with your own API key, or choose Claude CLI to use Claude Code already signed in on this computer. Both are part of Pro and Team. API usage is billed to your Anthropic account; CLI usage follows your Claude Code account's allowance and billing. Claude CLI is available only to the local install owner.

For the CLI connection, install Claude Code 2.1.311 or later and sign in there first. Enter the full path to its executable in Engines, then connect. SQUAD Studio checks the existing sign-in without collecting your Claude password or token.

Enable a Claude SVG model, choose a rectangular bot frame, and describe the artwork you want. Try “a two-colour pine tree emblem with a transparent background.” This connection accepts text prompts, without reference images, selections or result masks. Start with simple shapes; gradients, fonts and effects are outside its supported vector format.

Review the result as usual. Keep preserves the original SVG and places a vector layer you can move, resize and rotate. It does not provide individual path-point editing. A rejected or interrupted result does not automatically start a second generation, so check the run message before trying another prompt.

Add a provider

The providers page shows each connection as a provider pill. A configured provider opens to its Features tab, since that is usually where you confirm what the service can do. An unconfigured provider opens to Settings, where you supply its API key or local command path.

To connect a new service, click its dimmed Available card. An OpenAI-compatible connection that is already set up stays in your list and opens like any other. The setup form opens with the provider profile already filled in, so you only need to supply the pieces that belong to your install.

A provider's Settings form asks for a few things:

  • API key. Your credential for the service. It is stored encrypted, and after you save it the form only shows the last four characters. The full key does not appear on screen again.
  • CLI path. The absolute path to the local codex, agy or claude command. This replaces the API key field for CLI providers on a solo install.
  • Display name. A friendly name for the connection. This is what you and the studio see in lists.
  • Base URL. The /v1 endpoint to call. This field appears only for OpenAI-compatible providers, since the built-in and vendor-published kinds already know where to go.
  • Pin to squad (optional). Leave this on the org pool to make the connection available across the install, or pin it to one squad (a team workspace and its projects) so only that team's bot cards use it. This option appears on team installs.
  • Advanced: custom manifest. Manifest-backed providers include the declarative connection profile as JSON. Most installs should leave it alone, but it is there when you need to inspect or adjust the setup before saving.

After the connection is in place, choose which models from that provider the team should see. Only the models you enable appear as bot cards or text helpers, so the studio gets a clear, controlled menu instead of the provider's full catalog.

While Connect is working, the fields on Settings pause so the connection uses the details you submitted. You can still close the window. Closing it does not undo a save already sent to your install, and a connection that finishes afterward appears in the provider list without reopening the window.

When editing an existing provider, you can keep typing while Save finishes. Your newer text stays in the form, ready for another Save, and the window stays usable when the provider list refreshes.

The page waits for the provider roster and organization record before it enables setup controls. If either required read fails, it shows Retry instead of an empty provider list. Optional vendor-catalog details can arrive afterward without blocking a saved provider from opening.

How best to use providers

Start narrow. Add the provider, discover its catalog, then leave one or two models enabled that match the work your team actually does and turn the rest off. Run a real generation with each one so the key status can become proven, then add more models once you know the connection behaves the way you expect.

For shared installs, keep broad provider keys in the org pool and pin only when there is a clear reason, such as a team-owned budget or a service that is meant for one squad's work. That gives you one place to rotate most keys, while still letting specialized teams carry their own hosted-model spend.

Features tab

The Features tab summarizes the capabilities published by the provider profile. It is the quickest way to understand what a configured provider can support before you start curating models.

Provider profiles can show these capability groups:

  • Text to image. The provider can create an image from a text prompt.
  • Vision. The provider can inspect or reason over an image.
  • Image enhance. The provider can edit, improve, upscale, or otherwise transform an existing image.
  • Regional layout. The provider can work with region-aware prompt layouts when the profile supports that mode.

These labels describe what the provider connection can offer. The actual studio surface still depends on the models you enable, their kind, and any limits published in the provider profile.

Keys, billing, and rotation

Provider credentials stay on your install. The spend lands on your own account with the external provider. There is no markup from SQUAD Studio, and requests are not routed through a third party for billing.

If a key needs to be rotated, replace it in the provider's Settings. Leaving the edit field blank keeps the current key, so you only type a new one when you actually mean to change it. The new key takes effect for each bot that uses that provider connection. You do not need to rebuild bot cards or change studio workflows just to update credentials.

When a provider outcome is unknown

If the connection drops after a request may have reached the provider, the app stops that job with PROVIDER_OUTCOME_UNKNOWN. It will not automatically send the request again or fail over to another provider, because doing so could charge your account twice.

Check the provider's own activity and billing history before taking action. If the provider completed the request, recover the result there when the service allows it. If no result exists, handle any charge or refund with the provider, then start a new job deliberately. In Jobs and monitoring, use Refresh to recheck the original attempt. If a danger-styled Retry is available, it asks you to confirm a new paid request. Use it only after checking the provider's history and deciding that you are willing to pay again.

Key status and removing a key

The app never spends money just to test a key because paid providers have no free way to verify one. A provider card shows one of four states.

  • No key set yet. The card invites you to set an API key.
  • Key saved but not yet proven. You entered a key, but no run has used it yet. The app marks it untested instead of pretending it has checked the key.
  • Valid. A real generation completed successfully under this key. That is the only thing that proves the key works.
  • Rejected. The provider turned the key down because of an authorization failure, so the card flags it for repair or replacement.

This status is intentionally conservative. The old behavior could show "valid" for a key that was wrong, which hid the real problem until a run failed. Now the status reflects what has actually happened.

There is a confirm-protected Remove key control in the provider's Settings. Removing a key clears the stored credential but leaves the provider connection and your curated model choices in place. You can drop in a new key later without rebuilding anything. The removed key stops being usable right away, including for any run that was about to reuse it.

Removing a key is the clean way to retire a credential, such as rotating away from a leaked key or pausing a provider, without tearing down the models you curated.

If you want the connection gone entirely, not just the key, the Settings form also has a confirm-protected Remove this provider control. That disables the provider, cancels its in-flight jobs, and deletes the provider along with the models you curated for it. Reach for it when you are done with a service for good, rather than just swapping a credential.

Choose the models you expose

Each provider's modal has a Models tab. This is where you decide which of the provider's models the studio actually sees.

Start with Discover catalog, which fetches or refreshes the provider's current model list. From that list, enable only the models you want. Enabling and disabling is batched, so you make your picks and then Save or Discard the set at once. Curating this way is useful when you want to expose a small set of approved models, keep testing models hidden, or match model access to your internal policy.

You can keep selecting models while Save finishes. Confirmed choices leave the pending count immediately, while any newer choices remain for your next Save. Discard clears the remaining local choices; it does not undo changes already saved. Closing the window also does not cancel the batch you submitted.

If a save cannot be confirmed, check your selections before saving again. Refresh models reads the saved catalog without running discovery. A failed read keeps your current choices visible. Discovery, kind changes, and saving wait for each other within this window. If you confirm that discovery may discard unsaved changes, those changes are discarded immediately, even if discovery later fails; choices you make afterward are kept. If discovery removes a model you were editing, the app tells you and keeps your choices for the remaining models. After an interrupted discovery, refresh the models before saving more choices.

Google and OpenAI connections work from the signed vendor catalog, and a model you have never seen before arrives already enabled so a fresh connection is usable straight away. Your own choices survive a later discovery run: a model you turned off stays off, and a model you turned on stays on. For every other connection kind, including OpenAI-compatible endpoints, a newly discovered model starts turned off and waits for you to enable it.

Each model also has a kind, and you flip it with the kind chip on the row. The two kinds do different jobs.

  • Image. The model becomes a bot card in the deck. This is the model creators reach for when they want to generate art.
  • Chat. The model becomes a behind-the-scenes text helper. It does not get a card, and creators do not pick it directly.

The kind chip applies right away, so it is a quick way to move a model between "a card creators can use" and "a quiet text helper." A kind filter lets you show All, Image, or Chat models, and the search box helps you find one model quickly when the catalog is large.

The Manifest tab

Vendor-published providers carry a manifest, which is the declarative setup that tells the app how to talk to the service. That manifest lives in JSON, and the provider's modal gives you a Manifest tab to work with it directly.

You usually will not need to hand-edit a manifest. The common path is the UPDATE chip that appears on a provider's pill when the vendor has published a newer setup. Clicking it adopts that newer version in place while keeping your API key and your settings. That gives you the vendor's fix or new capability without re-entering anything.

When you do need to inspect or adjust the manifest, use the tab carefully:

  • View and edit opens the published setup as JSON, so you can read exactly how the connection is configured and adjust it if needed.
  • Validate checks the JSON before you commit a change, so a typo does not slip into a broken connection.
  • Load vendor version pulls the newest setup the vendor has published and drops it into the editor for review.
  • Save writes your edits and then automatically re-discovers the provider's models, so the catalog stays in step with the setup you just saved.

Install-level and squad-level keys

Keys added at the install level become the org-wide pool. Use these when you want a centrally managed provider connection that is available across the install according to the models you enable.

Individual squads can also have their own provider keys. That lets a team's hosted-model spend stay isolated to that team's bot cards. For those settings, use the studio-side provider settings. This page is about the install-wide configuration owned by an org admin.

Vendor-supplied provider profiles

Provider connection profiles come from the vendor catalog. Your install checks for catalog metadata at startup; provider profiles are pulled separately when requested. Each profile is cryptographically signed and verified before it is offered in the admin. If a profile fails verification, it is never shown.

Profiles are not baked into the software build. That means new providers and profile fixes can reach your install without requiring a software upgrade.

The providers admin includes a vendor link banner. It shows the license state, the time of the last check-in, and a Check now button. Use Check now when you want to sync immediately instead of waiting for another startup sync, which is especially useful right after a plan change.

Providers that you have not set up yet appear as dimmed Available cards in the list. When you click one, the normal connection form opens with the provider profile already filled in. You still supply your own API key as usual.

For a provider you already use, the UPDATE chip shows when the vendor has published an updated profile. Applying the update refreshes the connection profile in place while keeping your API key and settings.

Capability option metadata

Provider manifests can define a paramSpec array on each capability when a hosted model exposes user-editable run options. Add it for fields the creator should choose in the prompt modal options panel. Examples include aspect ratio, resolution, render speed, style, seed, or other provider parameters referenced by the request body.

Each item uses key, label, and type, plus optional constraints. key must match the parameter name used by the capability body. label is the short UI label shown in the options panel. type is one of float, int, text, boolean, or enum.

Numeric parameters can include min, max, and step. Any parameter can set primary: true to keep it visible above the advanced group. A parameter can also set functions to limit it to specific capability functions, such as edit or t2i.

Enum parameters must include a non-empty options array. Each option has a value sent to the provider, and may include a label for display. Do not add translated labels in manifests for provider-owned enum values unless the provider supplies them. The manifest value is the source of truth for the outbound request.

Provider-backed bot settings

Once a provider model is exposed as an image bot, some bot settings live with the external workflow rather than on the provider itself. You may see read-only Provider, Model, and Modes fields so you can confirm what the bot is attached to. You can also maintain the bot's name, description, enabled state, card appearance, supported resolutions, and default parameters where that external bot is edited.

Those controls are useful when the same provider offers several models with different strengths. Keep the provider connection stable, then shape each exposed bot so creators can recognize what it is for. If the provider publishes supported resolutions, choose from that list rather than inventing custom sizes. If you set default parameters, treat them as house defaults that merge into each run before a creator changes options.

Bot names follow the provider until you take them over. Change the provider's display name and the bots it generated are renamed to match, so the deck does not drift out of step with the connection. Once you have edited a bot's own name, description, or default parameters, those edits are yours: a later provider rename or catalog refresh leaves them alone and keeps updating only the parts you have not touched.

What providers do not change

API and CLI providers connect to hosted services; installing a CLI does not mean image generation runs on your own GPU. Your direct ComfyUI endpoints and the workflows they run do not need a provider key.

A studio that runs entirely on its own GPUs can operate the canvas and its bots with no external provider configured at all.