AI ID Photo Task API
POSThttps://api.acedata.cloud/headshots/tasks

You can check the execution status of the ID photo task through the task ID.

Request Headers

acceptstring
Specify the response format returned by the server.
Please select
authorizationstring
Bearer token

Request Body

idstring
ID of the ID photo task.
idsarray
List of ID for the ID photo task.
actionstring
Operation type. Use `retrieve` to get a single task, and use `retrieve_batch` to batch retrieve multiple tasks.
Please select

Response

AI ID Photo Production
Allow Use General Balance

When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.

Shell

Python

JavaScript

Java

Go

PHP

Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.