ID Photo Pro API
Professional AI-powered ID photo generation API. Generate passport photos, visa photos, and official document photos with background replacement, face detection, and beauty enhancements.
ID Photo Pro API endpoints
| Method | Endpoint | Description |
|---|---|---|
| v1 | ||
| POST |
generate_photo_v1_photo_generate_post /v1/photo/generate |
Process an image to create a standardized ID photo with background replacement, face alignment, and optional beauty enhancements. |
| GET |
list_sizes_v1_sizes_get /v1/sizes |
List all available preset photo sizes with dimensions. |
| POST |
remove_background_v1_photo_remove_background_post /v1/photo/remove-background |
Remove the background from a base64-encoded image, returning a transparent PNG. |
| POST |
generate_photo_base64_v1_photo_generate_base64_post /v1/photo/generate-base64 |
Process a base64-encoded image to create a standardized ID photo. Ideal for RapidAPI integration. |
| POST |
generate_layout_photo_base64_v1_photo_layout_base64_post /v1/photo/layout-base64 |
Generate a print-ready layout sheet with multiple copies of an ID photo from base64 input. |
| GET |
health_check_v1_health_get /v1/health |
Check API health, loaded models, and uptime. |
| GET |
list_layout_sizes_v1_layout_sizes_get /v1/layout-sizes |
List all available paper sizes for print layout. |
| POST |
remove_background_file_v1_photo_remove_background_file_post /v1/photo/remove-background-file |
Remove the background from an uploaded image file, returning a transparent PNG. |
| GET |
list_models_v1_models_get /v1/models |
List all available matting and detection models. |
| POST |
generate_layout_photo_v1_photo_layout_post /v1/photo/layout |
Generate a print-ready layout sheet with multiple copies of an ID photo. |
| root | ||
| GET |
root__get / |
API root - basic info and quick links. |
ID Photo Pro API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $9.99 / month | — |
|
| ULTRA | $29.99 / month | — |
|
| MEGA | $79.99 / month | — |
|