responseModalities
gemini-2.0-flash-exp-image-generation
Authorization: Bearer ********************
{ "contents": [ { "parts": [ { "text": "Hi, can you create a 3d rendered image of a pig with wings and a top hat flying over a happy futuristic scifi city with lots of greenery?" } ] } ], "generationConfig": { "responseModalities": [ "TEXT", "IMAGE" ] } }
{}