cURL
curl --request POST \ --url https://api.worqhat.com/api/ai/images/modify/v3/search-replace-image \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form search_object=cat \ --form 'modification=Change this into a white-colored husky' \ --form output_type=url \ --form existing_image=@example-file
{ "image": "https://storage.googleapis.com/.../modified-image.png", "processing_time": 15938.768708, "processing_id": "1e01b632-2d8f-4f71-8a27-36e219d67be5" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Image modified successfully.
The response is of type object.
object
Was this page helpful?