PoYo AI API Documentation
PoYo AI provides image, video, LLM, 3D, and music APIs behind one API key.Model Categories
Generation models (image, video, 3D, music) run as asynchronous tasks. LLMs answer directly in the HTTP response or as a stream.
The rest of this page describes the asynchronous task flow used by generation models.
Base URL
All API requests should be made to:Authentication
PoYo AI uses API key authentication. Include your API key in theAuthorization header:
Get Your API Key
Visit the API Console to generate your API key
API Architecture
Unified Endpoints
Image, video, 3D, and most audio models use two endpoints:Submit Task
task_id.
Query Status
Asynchronous Processing
All generation tasks follow this workflow:1
Submit Task
POST to
/api/generate/submit with model and parameters2
Receive Task ID
API returns
task_id immediately with status not_started3
Poll or Wait
Either poll
/api/generate/status/{task_id} or receive webhook callback4
Retrieve Results
When status is
finished, get generated files from responseResponse Format
All endpoints return JSON with a consistent structure:Submit Response
Status Response
Task Status Values
Error Response
HTTP Status Codes
Task Management Options
Option 1: Polling (Simple)
Poll the status endpoint periodically:Option 2: Webhooks (Recommended)
Provide acallback_url to receive automatic notifications:
Webhook Documentation
Learn how to implement webhook callbacks
Important Notes
Rate Limits: API rate limits vary by account type. Check your console dashboard for current limits.