Быстрая интеграция
Один POST-запрос с фото — обработанное изображение возвращается за секунды. Устанавливать SDK не нужно.
Аутентификация по ключу
Один Bearer-токен, привязанный к вашему аккаунту. Перегенерируйте или отзовите его в любой момент в личном кабинете.
Те же модели, что и в приложении
Те же модели детекции и блюра номеров, что работают в CarFlow AI — проверенные в проде, а не демо.
Без отдельного биллинга
Вызовы API списываются с вашего текущего баланса кредитов — так же, как и в приложении.
Документация
Размытие номеров
Endpoint
POST
https://api.carflowai.com/v1/blur-platescurl -X POST https://api.carflowai.com/v1/blur-plates \-H "Authorization: Bearer sk_live_your_key" \-F "[email protected]" \-F "style=blur" \-o result.jpg
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
image | file | Yes | The car photo to process. |
style | string | No | blur (default), pixelate, white, or black. |
Response
| Status | Content-Type | Body |
|---|---|---|
| 200 | image/jpeg | The processed photo, as raw image bytes. |
| 4xx / 500 | application/json | { error, code } — see Error codes below. |
Замена номера на свой дизайн
Endpoint
POST
https://api.carflowai.com/v1/plate-logocurl -X POST https://api.carflowai.com/v1/plate-logo \-H "Authorization: Bearer sk_live_your_key" \-F "[email protected]" \-F "[email protected]" \-o result.jpg# Or reuse a design you already saved in your Assets library instead of# re-uploading it every call — pass its id, not a file:curl -X POST https://api.carflowai.com/v1/plate-logo \-H "Authorization: Bearer sk_live_your_key" \-F "[email protected]" \-F "logoAssetId=your-saved-asset-id" \-o result.jpg
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
image | file | Yes | The car photo to process. |
logoorlogoAssetId | file or string | Yes — exactly one of the two | The plate design. Either upload the file directly (logo), or reference one already saved in your Assets library by id (logoAssetId) to avoid re-uploading it every call. |
Response
| Status | Content-Type | Body |
|---|---|---|
| 200 | image/jpeg | The processed photo, as raw image bytes. |
| 4xx / 500 | application/json | { error, code } — see Error codes below. |
Тень под машиной
Endpoint
POST
https://api.carflowai.com/v1/car-shadowcurl -X POST https://api.carflowai.com/v1/car-shadow \-H "Authorization: Bearer sk_live_your_key" \-F "[email protected]" \-F "reflection=false" \-o result.png
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
image | file | Yes | The car photo. A transparent PNG cutout is used as is; any other photo is cut out first. |
reflection | boolean | No | true adds a floor reflection under the shadow (beta). Default false. |
Response
| Status | Content-Type | Body |
|---|---|---|
| 200 | image/png | The processed photo, as raw image bytes. |
| 4xx / 500 | application/json | { error, code } — see Error codes below. |
Cut out car
Coming soonEndpoint
POST
https://api.carflowai.com/v1/xxxxxxxxxxxcurl -X POST https://api.carflowai.com/v1/cutout \-H "Authorization: Bearer sk_live_your_key" \-F "[email protected]" \-o result.png
Logo on photo
Coming soonEndpoint
POST
https://api.carflowai.com/v1/xxxxxxxxxxxcurl -X POST https://api.carflowai.com/v1/logo-overlay \-H "Authorization: Bearer sk_live_your_key" \-F "[email protected]" \-F "logoAssetId=your-saved-asset-id" \-o result.jpg
Blur plates on video
Coming soonEndpoint
POST
https://api.carflowai.com/v1/xxxxxxxxxxxcurl -X POST https://api.carflowai.com/v1/blur-video \-H "Authorization: Bearer sk_live_your_key" \-F "[email protected]" \-o result.mp4
Коды ошибок
| 401 | invalid_api_key | Отсутствующий, неверный или отозванный API-ключ |
| 402 | insufficient_credits | Недостаточно кредитов и не включён pay-as-you-go |
| 429 | rate_limited | Больше 60 запросов в минуту для этого ключа |
| 400 | unknown_tool / missing_image / invalid_params | Неизвестный инструмент, нет изображения или неверные параметры |
| 500 | processing_failed | Ошибка обработки на нашей стороне — не списано |
Оплата по факту использования скоро появится — пока вызовы API списываются с вашего текущего баланса кредитов.