All errors return specific codes in the
message field for programmatic handling.Error Categories
- User Errors
- Content Errors
- System Errors
Issues caused by invalid requests or insufficient resources.
INSUFFICIENT_CREDITS
INSUFFICIENT_CREDITS
Description: Not enough credits to complete the requestSolution: Add more credits to your account
Generation Not Found
Generation Not Found
Description: Generation with specified ID does not existSolution: Verify the generation ID is correct
Invalid Duration
Invalid Duration
Description: Duration not allowed for selected generation modeSolution: Use
"5" or "10" for text-to-video, or provide images for custom durationsINVALID_IMAGE
INVALID_IMAGE
Description: One or more input images are not validSolution: Ensure you’re uploading valid JPEG, PNG, or WEBP files under 10MB
IMAGE_INACCESSIBLE
IMAGE_INACCESSIBLE
Description: One or more image URLs returned 404 or 403Solution: Verify all image URLs are publicly accessible
Too Many Images
Too Many Images
Description: More than 5 images providedSolution: Limit images to maximum of 5 per request
Complete Error Reference
Not enough credits to complete the request
Content violates usage policies (adult, violence, prohibited content)
One or more image URLs are inaccessible (404, 403)
Image format is invalid or corrupted
Task exceeded maximum processing time (15 minutes)
Generation failed due to system error
Service is temporarily unavailable
HTTP Status Code Reference
Generation created successfully
Request successful
Invalid parameters or request format
Invalid or missing API key
Insufficient credits
Generation not found
Invalid input format or missing required fields
Server-side error
Service temporarily unavailable
Common Issues & Solutions
Issue: “Duration X seconds is only available for image-to-video”
Cause: Using duration"3", "4", "6", "7", "8", or "9" without providing images.
Solution:
- Use
"5"or"10"for text-to-video - OR provide images to use custom durations
Issue: “IMAGE_INACCESSIBLE” error
Cause: The providedimages_urls returned 404 or 403.
Solution:
- Verify URLs are publicly accessible
- Check URLs don’t require authentication
- Use
images_base64instead if URLs are private
Issue: “CONTENT_POLICY_VIOLATION”
Cause: AI detected prohibited content (adult, violence, etc.) Solution:- Review and modify your prompt
- Check input images for inappropriate content
- Avoid explicit or graphic descriptions
Issue: Generation stuck in “pending”
Cause: Workers might be overloaded or service experiencing high load. Solution:- Wait 1-2 minutes, status should change to “processing”
- If stuck for >5 minutes, contact support with
generation_id