Loading...
Loading...
Access paid services (verification, search, AI models, images, audio, browser automation) for AI agents via Sapiom. Use when building agents that need to verify phone/email, search the web, call AI models, generate images, convert text-to-speech, or automate browsers — without setting up vendor accounts.
npx skill4agent add sapiom/skills sapiom{provider}.services.sapiom.aiimport { withSapiom } from "@sapiom/axios";
import axios from "axios";
const client = withSapiom(axios.create(), {
apiKey: process.env.SAPIOM_API_KEY,
});
// Search the web with Linkup
const { data } = await client.post(
"https://linkup.services.sapiom.ai/v1/search",
{ q: "quantum computing", depth: "standard", outputType: "sourcedAnswer" }
);| Service | Base URL |
|---|---|
| Verify | |
| Search (Linkup) | |
| Search (You.com) | |
| AI Models | |
| Images | |
| Audio | |
| Browser | |
export SAPIOM_API_KEY="your_key"npm install @sapiom/axios axios
# or
npm install @sapiom/fetch// Send code
await client.post("https://prelude.services.sapiom.ai/verifications", {
target: { type: "phone_number", value: "+15551234567" },
});
// Check code
await client.post("https://prelude.services.sapiom.ai/verifications/check", {
verificationRequestId: "id-from-send", code: "123456",
});await client.post("https://linkup.services.sapiom.ai/v1/search", {
q: "query", depth: "standard", outputType: "sourcedAnswer",
});await client.post("https://openrouter.services.sapiom.ai/v1/chat/completions", {
model: "openai/gpt-4o-mini",
messages: [{ role: "user", content: "Hello" }],
max_tokens: 100,
});await client.post("https://fal.services.sapiom.ai/v1/run/fal-ai/flux/dev", {
prompt: "A mountain landscape at sunset", image_size: "landscape_4_3",
});// TTS — returns binary audio
await client.post(
"https://elevenlabs.services.sapiom.ai/v1/text-to-speech/EXAVITQu4vr4xnSDxMaL",
{ text: "Hello world", model_id: "eleven_multilingual_v2" },
{ responseType: "arraybuffer" }
);// Extract content
await client.post("https://anchor-browser.services.sapiom.ai/v1/tools/fetch-webpage", {
url: "https://example.com", format: "markdown",
});
// Screenshot
await client.post("https://anchor-browser.services.sapiom.ai/v1/tools/screenshot", {
url: "https://example.com", width: 1280, height: 720,
});.md| HTML Page | Markdown |
|---|---|
| |
| |