Skip to main content
The API uses conventional HTTP status codes to signal success and failure.

Handling tips

Verify the Authorization: Bearer <key> header and that the key is active. See Authentication.
Check GET /balance. The available amount must cover the job’s reserved price.
The key isn’t scoped for the requested model. Grant access in the web panel or use a different key.
Common causes: an input_images_urls entry that can’t be fetched, total input size over 40 MB, or an aspect_ratio the model doesn’t support.
Transient — the project or model is paused. Retry later, ideally with the same Idempotency-Key.