Domain changed to archive.palanq.win . Feb 14-25 still awaits import.
[1 / 1 / 1]

Help me with gemini API

No.1540127 View ViewReplyOriginalReport
I am looking for full documentation for this model in REST API (curl) :
>"gemini-2.0-flash-preview-image-generation"

Or atleast one working REST API (curl) command that can generate image with this model.

Only documentation I could find is for another model: "gemini-2.5-flash-image-preview"
https://ai.google.dev/gemini-api/docs/image-generation#rest

I get some error with these example everytime I change the model to gemini-2.0-flash-preview-image-generation