Description
Note: This API route requires the image to be registered via the /register
route.
The Person/Info Route is used to retrieve useful information on the people in a specific visual that was previously uploaded to the database.
Additionally, it provides a description of each person within the scene along with its available changes, which are supported by the Bria API.
This route should be used instead of the main /info route when you are only interested in information and available actions for the people in the image. With this route, you will save time by only obtaining information that is relevant to your needs.
Successful operation.
File hasn’t finished onboarding. Please call /info again until you get 200.
One of the details does not meet specification. Please call person/info again.
Specified Image does not exist.
Method not allowed.
Internal server error.
Insufficient data. The given input is not supported by the Bria API.
[- {
- "actions": {
- "age": [
- "mid-20",
- "mid-40",
- "mid-60"
], - "Beard": [
- "shaved",
- "medium",
- "full"
], - "diversity": [
- "original",
- "africa",
- "korea",
- "india",
- "japan",
- "sweden",
- "germany",
- "russia",
- "mexico",
- "brazil",
- "england",
- "spain",
- "france",
- "unsplash"
], - "expression": [
- "happy",
- "surprised",
- "dreaming",
- "angry",
- "fear",
- "contempt",
- "disgusted",
- "sad",
- "smile"
], - "gender": [
- "femininity",
- "masculinity"
], - "glasses": [
- "light",
- "none",
- "heavy"
], - "hair_line": [
- "high",
- "low"
], - "haircolor": [
- "black",
- "brown",
- "red",
- "blond",
- "gray"
], - "makeup": [
- "light",
- "heavy",
- "none"
]
}, - "id:"c6bbe1cd719300c11e5c581889e9383245a0c1d923f210a3445e8ea5a25500e0"": null,
- "labels": [
- "age_14-26",
- "glasses",
- "Female"
], - "oracle": {
- "age": {
- "age": "low"
}, - "Beard": {
- "Beard": "low"
}, - "diversity": {
- "africa": "low",
- "brazil": "low",
- "england": "low",
- "france": "low",
- "germany": "low",
- "india": "low",
- "japan": "low",
- "korea": "low",
- "mexico": "low",
- "russia": "low",
- "spain": "low",
- "sweden": "low"
}, - "expression": {
- "angry": "high",
- "calm": "high",
- "contempt": "high",
- "disgusted": "high",
- "dreaming": "high",
- "fear": "high",
- "happy": "high",
- "surprised": "high"
}, - "gender": {
- "gender": "low"
}, - "glasses": {
- "glasses": "low"
}, - "hair_line": {
- "hair_line": "low"
}, - "haircolor": {
- "haircolor": "low"
}
}, - "rect": {
- "h": 375.98625326156616,
- "w": 280.4049072265625,
- "x": 1134.1341552734375,
- "y": 290.6307406425476
}, - "type:"person"": null
}, - {
- "actions": {
- "age": [
- "mid-20",
- "mid-40",
- "mid-60"
], - "Beard": [
- "shaved",
- "medium",
- "full"
], - "diversity": [
- "original",
- "africa",
- "korea",
- "india",
- "japan",
- "sweden",
- "germany",
- "russia",
- "mexico",
- "brazil",
- "england",
- "spain",
- "france",
- "unsplash"
], - "expression": [
- "happy",
- "surprised",
- "dreaming",
- "angry",
- "fear",
- "contempt",
- "disgusted",
- "sad",
- "smile"
], - "gender": [
- "femininity",
- "masculinity"
], - "glasses": [
- "light",
- "none",
- "heavy"
], - "hair_line": [
- "high",
- "low"
], - "haircolor": [
- "black",
- "brown",
- "red",
- "blond",
- "gray"
], - "makeup": [
- "light",
- "heavy",
- "none"
]
}, - "id:"d74da71f722b45de5f18f93e9dd7fc64a50a5a5dda001985ab9c2374807182b8"": null,
- "labels": [
- "age_26-42",
- "happy",
- "Female"
], - "oracle": {
- "age": {
- "age": "high"
}, - "Beard": {
- "Beard": "high"
}, - "diversity": {
- "africa": "high",
- "brazil": "high",
- "england": "high",
- "france": "high",
- "germany": "high",
- "india": "high",
- "japan": "high",
- "korea": "high",
- "mexico": "high",
- "russia": "high",
- "spain": "high",
- "sweden": "high"
}, - "expression": {
- "angry": "high",
- "calm": "high",
- "contempt": "high",
- "disgusted": "high",
- "dreaming": "high",
- "fear": "high",
- "happy": "high",
- "surprised": "high"
}, - "gender": {
- "gender": "high"
}, - "glasses": {
- "glasses": "high"
}, - "hair_line": {
- "hair_line": "high"
}, - "haircolor": {
- "haircolor": "high"
}
}, - "rect": {
- "h": 354.8530983924866,
- "w": 282.885498046875,
- "x": 555.80419921875,
- "y": 486.4655692577362
}, - "type:"person"": null
}
]
Description
Note: This API route requires the image to be registered via the /register
route.
The Create Route is used to create a new visual, based on the changes requested by the user for a previously uploaded visual.
You can also use this route on a modified image by providing the sid from the response of the previously used route.
This route returns both the URL and the sid associated with the updated image.
Before making any modifications, please call the /info or person/info route to obtain information on the available presenters in the image, the available modifications, and their oracle values.
You should always include all the required changes in the request if you want to use multiple changes on a single person. It is not supported to make one request on a person with one change, take the SId from the result, and then use it in another request with a different change.
When you want to make changes on multiple people, you can make one request with all the desired changes on all the relevant people or make one request with all the desired changes on one person and then use the sid from the response in the request on the other person.
Successful operation.
Bad request.
Specified Image does not exist.
Method not allowed.
Internal server error.
Insufficient data. The given input is not supported by the Bria API.