WAVEFORGE API
Complete reference for REST API v1, the Agent Door, and the MCP connector. All endpoints use a bearer key from /get-key.
Authentication
Send Authorization: Bearer <key>. Keys are wf_test_… (free; never charges or encodes) or wf_live_… (real renders, charges credits). Create one in one click at /get-key.
401 = missing/unknown/revoked key. 403 = cross-origin mutation blocked (CSRF).
REST API v1
Base URL: https://waveforge.net/api/v1 · OpenAPI: /api/v1/openapi.yaml
List visualizer engines. Use a returned id as preset in create_render.
kind = audio | image. Multipart field file. Returns a stored key to pass as audioKey/imageKey.
| Field | Type | Notes |
|---|---|---|
title | string | required |
artist | string | optional |
preset | string | from GET /presets |
format | string | landscape | vertical | square | canvas |
resolution | string | WxH, must match the format |
audioUrl / imageUrl | url | public https URLs |
audioKey / imageKey | string | from /uploads |
curl -s -X POST https://waveforge.net/api/v1/renders \
-H "Authorization: Bearer $WAVEFORGE_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"Night Bus","preset":"cline","format":"vertical",
"audioUrl":"https://example.com/song.mp3",
"imageUrl":"https://example.com/cover.jpg"}'
List, poll status (queued → processing → completed), and fetch the finished file.
Signed webhooks on render events. Verify the waveforge-signature header (HMAC-SHA256, 5-minute tolerance).
Agent Door
One-shot watermarked 720p preview from a public audio URL. Free. Max 60s (auto-trimmed). Caps are per key.
curl -s -X POST https://waveforge.net/api/agent/v1/preview \
-H "Authorization: Bearer $WAVEFORGE_KEY" \
-H "Content-Type: application/json" \
-d '{"audio_url":"https://example.com/track.mp3",
"image_url":"https://example.com/cover.jpg",
"title":"My Track","rights_attested":true}'
Returns { id, status, status_url, queue_position, worker_online }. rights_attested must be true.
Poll until completed or failed. Returns progress, preview_page, message.
ChatGPT Actions: /openapi/chatgpt-actions.yaml · OpenAPI 3.1: /openapi/agent-door.yaml
MCP connector
Remote Streamable HTTP server: https://waveforge.net/mcp (bearer key).
{
"mcpServers": {
"waveforge": {
"url": "https://waveforge.net/mcp",
"headers": { "Authorization": "Bearer <your key>" }
}
}
}
| Tool | What |
|---|---|
list_presets | Visualizer engines |
list_export_formats | landscape / vertical / square / canvas |
create_render | Queue a render |
get_render_status | Poll a render |
list_renders | List renders |
get_render_output | Fetch finished file |
Errors
| Status | Meaning |
|---|---|
| 400 | Validation error, bad URL, or rights_attested false |
| 401 | Missing, unknown, or revoked key |
| 403 | Cross-origin request blocked (CSRF protection) |
| 404 | Unknown render/id, or feature disabled |
| 429 | Rate limit or daily cap reached |
| 500 | Server error — retry |
Limits
| Limit | Value |
|---|---|
| Keys per account | 1 free (more on paid tiers) |
| Agent Door per key | 5 previews/day |
| Agent Door per conversation | 3 previews/day |
| wf_test_ renders | Never charge, never encode |
Only submit media you have rights to use. Questions: support@waveforge.net