media_invalid
Unusable media. An input file could not be used: it is corrupt, the wrong kind, or outside this model’s limits.
| HTTP status | 422 |
| Type | invalid_request_error |
| Code | media_invalid |
| Can retrying help? | No. The same request gets the same answer until you change it or fix the cause. |
| Charged? | No. This refusal is free. |
What to do
Section titled “What to do”Read message, then send a different file.
Example
Section titled “Example”{ "error": { "type": "invalid_request_error", "code": "media_invalid", "message": "An input file could not be used: it is corrupt, the wrong kind, or outside this model's limits.", "param": "input.first_frame", "doc_url": "https://docs.halationlab.ai/errors/media-invalid/", "request_id": "req_01JD3Y5RJ6M3XW6J8K2N4P7Q9T" }}Returned by
Section titled “Returned by”POST /v1/quotes: Get a quotePOST /v1/generations: Start a generation
See Errors for the error shape and how to handle errors in general, and Billing outcomes for what every outcome costs.