New Report

Many Happy Returns

{error: “Messages array is required and must not be empty”}

error: “Messages array is required and must not be empty”

gemini-2.0-flash-exp natively supports image output and works on Vercel. Using the Vercel AI SDK with the @ai-sdk/google provider, you can instruct the model to generate and return base64 inline image data.

@pawlean