All of our photo processing is supported through a single API call named
If you're not sure what these operations mean, please try out our interactive products page to see what outputs you get for each of these operations.
The response is a JSON with the following schema:
status | a string, "success" if the request is successful, and "error" otherwise |
---|---|
data.result_url | a url that points to the processed photo |
Example response:
All of our photo processing is supported through a single API call named
The response is a JSON with the following schema:
status | a string, "success" if the request is successful, and "error" otherwise |
---|---|
data.first_frame_url | a url that points to the first frame in the video with background removed |
data.video_url | a url that points to where the background-removed video will become available. The video will be placed against a white format NOTE: this url will initially be empty, and populate within 1-15 minutes depending on video duration |
data.video_alpha_url | a url that points to a video that contains only the foreground layer in the input video. You can overlay this on your original rgb video to crop out the relevant part or perform other edits. NOTE: this url will initially be empty, and populate within 1-15 minutes depending on video duration |
Example response: