PicVidPicVid Guide
API

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

HTTPerrorMeaning / what to do
400INVALID_INPUTThe body is not valid - details says which field
400PROMPT_NOT_ALLOWEDThe prompt contains sensitive keywords, so the job wasn't created and nothing was charged
400INVALID_MODELNot a model of this tool - models lists the valid ones
400UNSUPPORTED_FILE_TYPEThat file type can't be uploaded for this type
400FILE_TOO_LARGEOver the size limit - max_bytes says how big a file may be
400INVALID_IDEMPOTENCY_KEYThe Idempotency-Key must be 1-255 characters
401UNAUTHORIZEDNo key, or the key is invalid, revoked or expired
402INSUFFICIENT_CREDITSThe account hasn't enough credits - top up in PicVid
403FORBIDDENThe key lacks this tool's scope
403FEATURE_NOT_IN_PLANThe tool isn't in the account's plan
403PLAN_RESOLUTION_LIMITThe plan doesn't include that resolution
403ACCOUNT_SUSPENDEDThe account can't use the API
403API_NOT_IN_PLANThe key is paused: the account's plan doesn't include the API. Upgrade to use it again
404NOT_FOUNDNo such job for this key
404UPLOAD_NOT_FOUNDNo such upload for this account
409UPLOAD_NOT_FINISHEDThe file wasn't PUT to upload_url yet
409IDEMPOTENCY_KEY_REUSEDThat Idempotency-Key was used for another request
429RATE_LIMITEDToo many requests - wait Retry-After seconds
429MONTHLY_CREDIT_LIMIT_REACHEDThe key's monthly credit limit is reached
429CONCURRENCY_LIMITThe plan's tasks-at-a-time limit is reached - wait for a job to finish
429FREE_DAILY_POOL_EXHAUSTEDA Free account with no credits left and today's shared free runs used up - top up credits
503MODEL_UNAVAILABLE / TOOL_UNAVAILABLETry another model, or try again later
503API_DISABLEDThe API is temporarily off

A job that failed

A job that ends failed costs nothing. Its error.code:

codeWhat to do
content_policyThe request isn't allowed - change the prompt or picture
no_face_detectedUse a sharp, well-lit, front-facing photo
pose_not_detectedTry another model, or a photo that shows the body clearly
temporaryTry again in a moment
provider_unavailableTry another model, or later
prompt_translation_failedTry again or rephrase
GENERATION_FAILEDSomething else went wrong - try again

Still stuck? Email [email protected] with the job's id.

Still need help? Contact support