All-Images AI MCP server for AI agents

Live

API KEY

AI STOCK IMAGES

AI

All-Images AI gives your agent AI-generated stock photos in your All-Images AI account: search the image library, start image generations, buy and download images, and manage generation webhooks.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
All-Images AI
agent · Acme Q3
Run
Find stock photos of a modern office with natural light.
S
allimagesai_images_search
187ms
Stock image agent
Found 20 matching AI-generated stock photos of modern offices with natural light, with previews.
Sources: All-Images AI library, 1 search
allimagesai
20 images
18:29
Message Claude...

Tools your stock image agent reaches for on All-Images AI, scoped per user.

CALL ANY TOOL
14 tools for AI stock images in All-Images AI: search the library, start, read, retry, and update generations, buy images, check credits, and manage webhooks.
allimagesai_api_key_check
Check api key
Check that the All-Images.ai API key is valid. Returns the email and name of the account the key belongs to. Use this to confirm the connection works.
Parameters
Name
Type
Required
Description
—
No parameters required
allimagesai_credits_get
Get credits
allimagesai_generation_create
Create generation
allimagesai_generation_get
Get generation
allimagesai_generation_retry
Retry generation
allimagesai_generation_update
Update generation
allimagesai_generations_delete
Delete generations
allimagesai_generations_list
List generations
allimagesai_image_buy
Image buy
allimagesai_images_downloaded_list
List images downloaded
allimagesai_images_search
Search images
allimagesai_webhook_get
Get webhook
allimagesai_webhook_subscribe
Webhook subscribe
allimagesai_webhook_unsubscribe
Webhook unsubscribe
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// All-Images AI tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["allimagesai"], toolNames: [
    "allimagesai_images_search",
    "allimagesai_generation_create",
    "allimagesai_image_buy"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Search for office photos, start a generation of a new one, and buy the best match" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["allimagesai"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Search for office photos, start a generation of a new one, and buy the best match" }],
  tools,
});

// Execute the tool call with the user's vaulted All-Images AI API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["allimagesai"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Search for office photos, start a generation of a new one, and buy the best match" }],
  tools,
});

// Tool call runs with the user's vaulted All-Images AI API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["allimagesai"] }, pageSize: 100,
});

const agent = new Agent({
  name: "stock_image_agent",
  model: "gemini-2.5-pro",
  instruction: "All-Images AI tools scoped to this user",
  tools,
});

await agent.run("Search for office photos, start a generation of a new one, and buy the best match");
Try these prompts
Copy any prompt into your agent. Each maps directly to a All-Images AI tool. Click to copy, paste into your agent, done.
Search the library
Copy the prompt
Copied
Search for stock photos of a modern office with natural light.
Copy the prompt
Copied
List the images my account has already downloaded.
Copy the prompt
Copied
Show my remaining credit balance.
Generate images
Copy the prompt
Copied
Start a generation of a sunrise over a vineyard.
Copy the prompt
Copied
Show the status of my latest generation.
Copy the prompt
Copied
Retry the generation that ended in error.
Buy and automate
Copy the prompt
Copied
Buy this stock image and give me the full-size link.
Copy the prompt
Copied
Register a webhook URL for image generation events.
Copy the prompt
Copied
Remove the webhook I registered last week.
SEE HOW AUTH WORKS
Each user connects their own All-Images AI API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
All-Images AI
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
All-Images AI
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
All-Images AI
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
All-Images AI
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other AI connectors.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
Test other agents
See the same per-user auth pattern across other AI connectors.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared key for All-Images AI looks fine in a demo. In production every image purchase looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
All-Images AI today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access All-Images AI as the user or through a shared key?
As the user. Each user connects their own All-Images AI API key once, and Scalekit sends it with every call. Audit logs attribute every search, generation, and purchase to that user, not a shared service account.
Where is the All-Images AI API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in All-Images AI?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the search and read tools without allimagesai_image_buy, which buys a stock image, or allimagesai_generations_delete and allimagesai_webhook_unsubscribe. Scalekit also enforces scope checks before every API call.
What happens when a user revokes All-Images AI access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
How does image generation work?
allimagesai_generation_create starts an AI image generation that proposes 4 images from a prompt. allimagesai_generation_get reads its status, and allimagesai_generation_retry restarts one that ended in error.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""allimagesai"": {
""url"": ""https://mcp.scalekit.com/allimagesai"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.allimagesai]
url = ""https://mcp.scalekit.com/allimagesai""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""allimagesai"": {
""url"": ""https://mcp.scalekit.com/allimagesai"",
""type"": ""http""
}
}
}