curl -X POST "https://gptproto.com/v1beta/models/gemini-2.5-flash-image-preview:generateContent" \ -H "Authorization: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "contents": [ { "role": "user", "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" ] }}'