PicassoIA API
त्रुटियाँ और सीमाएँ
हर त्रुटि का मतलब, उसे ठीक करने का तरीका, और वे सीमाएँ जिनके भीतर हर अकाउंट काम करता है।
त्रुटियाँ
त्रुटियाँ JSON problem details के रूप में आती हैं, और साथ में प्रोग्राम के लिए एक स्थिर code भी होता है:
{
"title": "Too many predictions in progress",
"detail": "This account can have up to 5 predictions queued or running at once, shared by its API keys, its MCP connections and the generations included in its plan running on picassoia.com, and 5 are. Wait for one to finish and try again.",
"status": 429,
"code": "concurrency_limit",
"retry_after": 10,
"limit": 5,
"running": 5
}invalid_fields। 422 जवाब में हर गलत फ़ील्ड की सूची होती है:
{
"title": "Input validation failed",
"status": 422,
"code": "invalid_input",
"detail": "input.duration: At 720p the longest clip is 10 seconds.",
"invalid_fields": [
{ "type": "invalid_value", "field": "input.duration", "description": "At 720p the longest clip is 10 seconds." }
]
}