Overview
Programmatic access to Wonda generation, publishing, media, and local CLI editing workflows.
What the API does
The Wonda API lets you generate images, videos, text, music, and speech; transcribe or analyze media; upload files; inspect jobs; estimate costs; and publish finished media to connected social accounts.
Use REST endpoints for generation, media, pricing, publishing, analytics, scraping, and account-connected workflows. Use the Wonda CLI for editing operations such as trim, crop, merge, overlays, captions, audio mixing, and silence removal. CLI editing runs locally with ffmpeg or hyperframes, then uploads the result back to your media library.
Base URL
https://api.wondercat.ai/api/v1All endpoints are served under this base URL. The current API version is v1.
Request and response format
- All JSON request bodies must include
Content-Type: application/json. - All responses are JSON.
- Dates are ISO 8601 strings.
- IDs in path parameters are UUIDs unless the endpoint states otherwise.
Async pattern
Generation and publishing operations are asynchronous. When you submit work, the API returns a job ID immediately. Poll the matching job endpoint until the job reaches a terminal status.
- Submit a request, such as
POST /image/generateorPOST /publish/instagram. - Poll
GET /jobs/inference/{inferenceJobId}orGET /jobs/publish/{outputJobId}untilstatusis"succeeded"or"failed". - Read output media or publish details from the completed job response.
Local CLI editing is different: wonda edit video, wonda edit image, and wonda edit audio render on your machine and return the uploaded mediaId directly. The REST editing endpoints are retired and return 410 Gone with CLI migration hints.
Main surfaces
| Surface | Behavior | Use case |
|---|---|---|
| Direct generation endpoints | Submit a prompt and params, then poll an inference job. Prompts are used as provided. | Automated image, video, text, music, speech, transcription, and analysis workflows. |
| Publishing endpoints | Queue a publish job for connected Instagram or TikTok accounts, then poll the publish job. | Single-asset publishing, scheduled publishing, and social distribution automation. |
| Wonda CLI editing | Render locally with ffmpeg or hyperframes, then upload the output media. | Deterministic media transforms, captions, overlays, merges, audio edits, and local post-production. |