google/gemini-3-pro-image-preview
Google Nano Banana Pro, backed by Gemini 3 Pro Image, for high-fidelity image generation and editing through the Vertex-compatible OneHop route. Industry-leading in-image text rendering, multi-image blending, identity preservation across subjects, and 2K/4K output. Supports text and image input, returns image output with optional text.
المصدر: gemini_image_x0.5 · تم التحقق في 2026-06-10
يمكنك استخدام أي من المعرّفَين لاستدعاء هذا النموذج.
google/gemini-3-pro-image-previewاستبدل placeholder الـ ONEHOP_KEY بمفتاح API الخاص بك. إنشاء مفتاح →
from google import genai
# OneHop 兼容 Vertex AI Gemini generateContent 接口
client = genai.Client(
api_key="<ONEHOP_KEY>",
http_options={"base_url": "https://api.onehop.ai/vertex-ai"},
)
response = client.models.generate_content(
model="google/gemini-3-pro-image-preview",
contents="What is the meaning of life?",
)
print(response.text)