Skip to main content

I get a 401 error. What should I check?

Confirm that the Authorization header is present, uses the Bearer scheme, and contains a valid API key.

I get a 400 error. What should I check?

Open the model page in the API Reference and compare your request against the schema. Check required fields, enum values, URL fields, and model-specific options.

My task is still processing. What should I do?

Keep polling with a reasonable interval. Video generation can take several minutes. Stop and surface an error if the task does not complete within your product’s timeout window.

My task failed. What should I include in logs?

Log the model name, endpoint, request payload, task_id, request_id, status, and error message. Do not log API keys.

What should I include when contacting support?

Include the request_id, task_id, model name, endpoint, request payload, approximate request time, and the observed error. Do not share your API key.