Errors
Every error code the PicVid API returns, and what to do about it.
An error is a JSON body with a code and a message, sometimes with details:
{ "error": "INVALID_MODEL", "message": "\"nano\" is not a model of this tool.", "models": ["nano-banana", "seedream-4-5"] }
Request errors
| HTTP | error | Meaning / what to do |
|---|---|---|
| 400 | INVALID_INPUT | The body is not valid - details says which field |
| 400 | PROMPT_NOT_ALLOWED | The prompt contains sensitive keywords, so the job wasn't created and nothing was charged |
| 400 | INVALID_MODEL | Not a model of this tool - models lists the valid ones |
| 400 | UNSUPPORTED_FILE_TYPE | That file type can't be uploaded for this type |
| 400 | FILE_TOO_LARGE | Over the size limit - max_bytes says how big a file may be |
| 400 | INVALID_IDEMPOTENCY_KEY | The Idempotency-Key must be 1-255 characters |
| 401 | UNAUTHORIZED | No key, or the key is invalid, revoked or expired |
| 402 | INSUFFICIENT_CREDITS | The account hasn't enough credits - top up in PicVid |
| 403 | FORBIDDEN | The key lacks this tool's scope |
| 403 | FEATURE_NOT_IN_PLAN | The tool isn't in the account's plan |
| 403 | PLAN_RESOLUTION_LIMIT | The plan doesn't include that resolution |
| 403 | ACCOUNT_SUSPENDED | The account can't use the API |
| 403 | API_NOT_IN_PLAN | The key is paused: the account's plan doesn't include the API. Upgrade to use it again |
| 404 | NOT_FOUND | No such job for this key |
| 404 | UPLOAD_NOT_FOUND | No such upload for this account |
| 409 | UPLOAD_NOT_FINISHED | The file wasn't PUT to upload_url yet |
| 409 | IDEMPOTENCY_KEY_REUSED | That Idempotency-Key was used for another request |
| 429 | RATE_LIMITED | Too many requests - wait Retry-After seconds |
| 429 | MONTHLY_CREDIT_LIMIT_REACHED | The key's monthly credit limit is reached |
| 429 | CONCURRENCY_LIMIT | The plan's tasks-at-a-time limit is reached - wait for a job to finish |
| 429 | FREE_DAILY_POOL_EXHAUSTED | A Free account with no credits left and today's shared free runs used up - top up credits |
| 503 | MODEL_UNAVAILABLE / TOOL_UNAVAILABLE | Try another model, or try again later |
| 503 | API_DISABLED | The API is temporarily off |
A job that failed
A job that ends failed costs nothing. Its error.code:
code | What to do |
|---|---|
content_policy | The request isn't allowed - change the prompt or picture |
no_face_detected | Use a sharp, well-lit, front-facing photo |
pose_not_detected | Try another model, or a photo that shows the body clearly |
temporary | Try again in a moment |
provider_unavailable | Try another model, or later |
prompt_translation_failed | Try again or rephrase |
GENERATION_FAILED | Something else went wrong - try again |
Still stuck? Email [email protected] with the job's id.
Still need help? Contact support