Batching images to any GPT models

I’m trying to add batching for a function that I have. The function sends images to the api using base64. The error I was encountering is that the batch has a parameter that is asking for urls which I’m trying to avoid is there any way to use base64?

2 Likes

Welcome to the community!

I know Batch is relatively new. I don’t see anything in the docs about base64.

Is it throwing a specific error? Base64 might be too much text for a single line?

You might have to save them to your local system then serve them that way for Batch at this time.

Hopefully someone else will chime in…

1 Like
2 Likes

Have you solved the issue. Im also facing the same thing that its doesn’t accept the base64 format