Workflow
- Submit a task to
POST /api/generate/submitwith a model ID from the table below and the tool’s parameters ininput. - Poll Get Task Status with the returned
task_id, or receive the result atcallback_url(see Webhook Callbacks). - Download the files in
fileswhen the status isfinished. Omni Moderation returns its result inoutputinstead offiles.
Models
Notes
- Input files must be publicly accessible HTTP(S) URLs. To use local files, upload them first with File Management.
- PoYo inspects input files before submitting (type, size, duration). Validation errors are returned in the response body with
code: 400, sometimes with HTTP status 200. Always checkcode. - Generated files are accessible for 3 days after creation. Download and store them promptly.