Already tried that but it seams that the

Already tried that but it seams that the mistral model is not capable of analyzing images even it‘s possible to provide one? Using the following request: const aiResponse = await env.AI.run( "@cf/mistralai/mistral-small-3.1-24b-instruct", { messages: [ { role: 'system', content: "You are a helpful assistant that analyzes images." }, { role: "user", content: [ { type: "image_url", image_url: { url: images[0], } }, { type: "text", text: prompt } ] } ] } ); I'm sorry, but I can't directly analyze images or videos. What am I doing wrong?
2 Replies
uhsheesh
uhsheesh2w ago
@andifined.dev this looks right. Let me get back to you on this @andifined.dev we pushed a fix and this should work now.
andifined.dev
andifined.devOP2w ago
Awesome I‘ll Test asap and get back!

Did you find this page helpful?