cURL
curl --request POST \ --url https://api.worqhat.com/api/ai/images/modify/v3/extend-image \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form existing_image=@example-file \ --form output_type=url \ --form leftExtend=0 \ --form rightExtend=0 \ --form topExtend=0 \ --form bottomExtend=100 \ --form 'description=Show a white field'
{ "image": "https://example.com/processed-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 processed successfully
The response is of type object.
object
Was this page helpful?