Editing
Replace Object by Text
Changed onTry out this capability in Bria's sandbox Description
Swap an existing object in an image with a new one using a natural language command.
Example: Instruction: "Replace the red apple with a green pear"
<table> <tr> <th style="text-align: center;">Input Image</th> <th style="text-align: center;">Output Image</th> </tr> <tr> <td align="center" style="vertical-align: middle;"> <img src="https://bria-datasets.s3.us-east-1.amazonaws.com/Liza/a_bowl_of_fruits__should_have_a_red_apple.png" width="300" style="border-radius: 8px;"> </td> <td align="center" style="vertical-align: middle;"> <img src="https://bria-datasets.s3.us-east-1.amazonaws.com/Liza/bria_result+(2).png" width="300" style="border-radius: 8px;"> </td> </tr> </table>post/replace_object_by_text
Request
- Base URL: https://engine.prod.bria-api.com/v2/image/edit
- URL: https://engine.prod.bria-api.com/v2/image/edit/replace_object_by_text
- Auth: API key in header api_token
Request body
Response
Successful operation (Synchronous Success)
Changes
- warning
deleted the
headerrequest parameterapi_token - info
api tag
Editingadded - info
api tag
v2 endpointsremoved
- warning