For the complete documentation index, see llms.txt. This page is also available as Markdown.

Multipart fields

POST /api/v2/jobs and POST /api/v2/jobs/sync use multipart/form-data. Booleans are the text true or false. style, regionOfInterest, and metadata are JSON serialized as a single string field.

file = photo.jpg faces = true plates = true style = {"type":"blur","intensity":1} regionOfInterest = {"top":0,"left":0,"right":1,"bottom":1} keepAudio = false generateJsonDetections = false metadata = {"orderId":"42"}

style is one of:

  • {"type":"blur","intensity":1} with intensity an integer from 1 to 10 (default 1)

  • {"type":"pixelate","pixels":7} with pixels an integer from 2 to 10 (default 7)

  • {"type":"opaque","color":"#000000"} with color matching #RRGGBB (default #000000)

regionOfInterest uses top, left, right, bottom, each a number from 0 to 1. Omit it to process the whole frame.

At least one of faces or plates must be true.

Last updated