Sable Help center Support center

API and AI assistants

Let Claude, ChatGPT, Codex, Cursor or your own app make pictures and videos in Sable for you, with your credits.

When to use it

  • You already work with an AI assistant and want it to make the pictures too.
  • You want to make pictures from your own app or script.
  • You want a batch of pictures made while you do something else.

How to do it

  1. In your assistant, add a connector (some apps call it an MCP server) with the address https://sabledesigns.com/mcp.
  2. When it asks, sign in to Sable. Check what it may do, set a monthly limit if you want one, type your password and press Allow.
  3. Ask for a picture. The assistant checks the price, makes it, and shows you the result.
  4. To disconnect it, open Account, find API and AI assistants and press Disconnect.

Tips

  • Only connect an app from inside that app. If a Sable approval page opens and you did not ask for it, press Cancel.
  • Treat a key like a password. Anyone who has it can spend your credits.
  • Uploads through the API need Your uploads turned on in Account, under Profile, the same as in the app.
  • Make one key per app, so you can revoke one without touching the others.
  • Every request follows the same rules as the app, and the price shows before anything is spent.
  • Open them in Sable.

Questions

Claude

On claude.ai or in the Claude app: Settings, Connectors, Add custom connector. Paste the address, then press Connect.

ChatGPT

In ChatGPT's settings, under Apps and Connectors, turn on developer mode, then create a connector with the address and choose OAuth.

Claude Code

Run: claude mcp add --transport http sable https://sabledesigns.com/mcp, then type /mcp and choose Authenticate.

Codex

Run: codex mcp add sable --url https://sabledesigns.com/mcp, then codex mcp login sable.

Cursor

Add sable to .cursor/mcp.json with the url https://sabledesigns.com/mcp. Cursor asks you to sign in.

A key instead

For a script, your own app or a ChatGPT custom GPT, make a key on the Account page. It is shown once. Untick the box to make a key that can look but never spend. The same card shows how to use it in each app.

ChatGPT custom GPT

Add an Action, choose Import from URL and paste https://sabledesigns.com/api/v1/openapi.json. Under Authentication pick API key, then Bearer, and paste your key.

Your own app

Send the key as Authorization: Bearer YOUR_KEY to https://sabledesigns.com/api/v1, with a User-Agent header naming your app (Python's built-in client is refused without one). Pass webhook_url to be called when a job finishes, signed with the key's secret in the Standard Webhooks format, and an Idempotency-Key header so a retry never spends twice. The full description is at https://sabledesigns.com/api/v1/openapi.json.

Monthly limit

The most one connection or key can spend in a calendar month. Your balance is always the final limit.

Developer documentation

Everything in detail, with examples: https://sabledesigns.com/developers

More about Sable Designs