Limitations
Understanding API limitations helps you better plan your application
API Limits
| Limit Item | Limit Value | Description |
|---|---|---|
| Prompt length | 2000 characters | Recommended to stay within 1000 characters for best results |
| Reference image count | Maximum 5 images | Each image not exceeding 10MB |
| Concurrent tasks | 10 tasks | Exceeding will return 429 error |
| Task timeout | 30 minutes | Timeout tasks will be automatically cancelled |
| Video duration | 10-15 seconds | Varies by model |
| Request frequency | 100 times/minute | Exceeding limit will be rate-limited |
Image Format Requirements
- Supported Formats
- Image Specifications
- JPEG (.jpg, .jpeg)
- PNG (.png)
- WebP (.webp)
HTTP Error Codes
4xx Client Errors
5xx Server Errors
API Error Codes
Common Error Code List
| Error Code | Description | Solution |
|---|---|---|
INVALID_PROMPT | Invalid prompt | Check prompt length and content |
INVALID_MODEL | Model does not exist | Use supported model names |
QUOTA_EXCEEDED | Quota exceeded | Contact to increase quota |
TASK_NOT_FOUND | Task does not exist | Check task ID |
INVALID_IMAGE_URL | Invalid image URL | Ensure image is accessible |
IMAGE_TOO_LARGE | Image too large | Compress image to below 10MB |
TASK_TIMEOUT | Task timeout | Resubmit task |
INSUFFICIENT_BALANCE | Insufficient balance | Recharge account |
Error Response Format
Troubleshooting Guide
Task Stuck in Processing Status
1
Check Task Duration
Verify if it exceeds normal processing time (see model description)
2
Verify Task ID
Ensure using correct task ID for queries
3
Check API Status
Visit status page or contact support to confirm service status
4
Retry Submission
If exceeds 30 minutes, task may have timed out, please resubmit
Unsatisfactory Generation Quality
- Prompt Optimization
- Use Reference Images
- Enable Enhancement
- Choose Appropriate Model
Network Error Handling
FAQ
Technical Support
Encountered Issues?
If you encounter issues not covered in the documentation, please contact us through:
- Email: [email protected]
- WeChat: 8765058
- Response time: Within 24 hours on business days
- Task ID
- Error information
- Request parameters (hide sensitive info)
- Issue description
Status Monitoring
Recommended to implement the following monitoring measures to detect and handle issues promptly: