| Parameter | Type | Required? | Description |
|---|---|---|---|
| image_url | string | yes | Public image URL. |
When successful, returns:
{
'caption': 'Python code defining a class with a method that prints \"Hello World!\" and a main function to run it.'
}curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/ml/general/generate_image_caption' \
--header 'X-User-Agent: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'Authorization: Bearer ' \
--form 'image_url="https://upload.wikimedia.org/wikipedia/commons/2/20/Hello_World_in_Python.png"'{
"caption": "string"
}