Farah Diana Masri Greetings!
Did you check Process images in prompt flow already?
You can deploy a flow to an online endpoint for real-time inference.
Currently the Test tab in the deployment detail page doesn't support image inputs or outputs.
For now, you can test the endpoint by sending request including image inputs.
To consume the online endpoint with image input, you should represent the image by using the format {"data:<mime type>;<representation>": "<value>"}
. In this case, <representation>
can either be url
or base64
.
If the flow generates image output, it is returned with base64
format, for example, {"data:<mime type>;base64": "<base64 string>"}
.
Also, see Troubleshoot guidance for prompt flow if it helps.
Do let me know if that helps or have any further queries.