Sumus API
Request a summary of a video or a web page and receive text and audio in your own system. Available on the Developer plan.
1. Get your key
Sign in at web.sumus.app, open Account and tap Create key. Send the key in the X-API-Key header on every call.
2. Request a summary
# the response comes right away with the job_id; the summary is ready in seconds
curl https://web.sumus.app/api/v1/summarize \
-H "X-API-Key: rsa_..." \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.youtube.com/watch?v=...",
"concentration": "natural",
"language": "en-US",
"webhook_url": "https://your-system.com/sumus"
}'
{"job_id": "7f3c...", "status": "queued"}
| Field | Default | What it does |
|---|---|---|
url | required | YouTube video or web page |
concentration | natural | diluted, natural or concentrated |
language | pt-BR | Language of the summary and the audio (13 languages) |
include_audio | true | Creates the narrated audio |
webhook_url | none | HTTPS address that receives the result |
idempotency_key | none | Repeating the call with the same key does not create another summary (also accepted in the Idempotency-Key header) |
3. Receive the result
With webhook_url, Sumus sends a POST when the summary is ready:
{
"job_id": "7f3c...",
"status": "done",
"summary_text": "...",
"audio_url": "https://web.sumus.app/api/v1/audio/7f3c..."
}
Without a webhook, poll until status is done or error:
curl https://web.sumus.app/api/v1/summarize/7f3c... -H "X-API-Key: rsa_..."
The audio_url also requires the key and redirects to the MP3.
Endpoints
POST/api/v1/summarize | Requests a summary |
GET/api/v1/summarize/{job_id} | Status and result |
GET/api/v1/audio/{job_id} | MP3 audio |
Credits and limits
- Each summary uses credits from your plan, just like on the web and in the app.
- Up to 30 requests per minute and 3 summaries in progress at a time. Beyond that the API returns
429. - No video length limit on Developer.
Questions about the API: sumus@sumus.app.