AI论坛 AI论坛 beta

Normana234 在 因为googel2.0fe支持生图了,自己用的前端还没适配,想用api试试调用 中发帖

📌 📄 内容摘要: Normana234 在 因为googel2.0fe支持生图了,自己用的前端还没适配,想用api试试调用 中发帖 然后按照官网的调用代码,怎么都报错,问AI一轮轮也没解决 抱歉,一个不懂代码的不该碰这玩意的,就该老老实实等适配。 谷歌文档写的调用代码 from google import genai from google.genai import types from PIL import Image from io import BytesIO client = genai.Client() contents = ('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?') response = clien...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/495134/1
─────────────────────────────
📢 来源:LINUX DO

你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!

每日一言

AI论坛

帖子数 659811
评论数 8888
用户数 88888
在线用户 8888