comms
comms
Send Media
Send Media is a comms capability available through Telegram, Discord, Slack on Aweb. Send media (image, video, document) to communication channels. Access it through a single unified API with automatic failover and intelligent routing.
Best for
Highest quality
Telegram, Discord
Premium tier
Most affordable
Telegram, Discord
Economy tier
Contract
Providers (3)
Quick start
Call Send Media through Aweb — automatic provider selection, failover, and load balancing included.
cURL
curl -X POST https://api.aweb.studio/v1/execute \
-H "Authorization: Bearer $AWEB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"capability": "comms.media",
"input": { "prompt": "Hello world" }
}'TypeScript
import { Aweb } from '@aweb/core';
const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });
// Aweb automatically selects the best provider
const result = await aweb.execute({
capability: 'comms.media',
input: { prompt: 'Hello world' },
});
console.log(result.output);Orchestration pipeline
import { Aweb } from '@aweb/core';
const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });
// Multi-step pipeline with automatic failover
const result = await aweb.orchestrate({
steps: [
{ id: 'step1', capability: 'comms.media', input: { prompt: 'Hello world' } },
{ id: 'step2', capability: 'llm.chat', dependsOn: ['step1'],
input: { prompt: 'Summarize: $step1.output' } },
],
});