bytedance/doubao-seedance-2.0-fast
Seedance 2.0 的加速款,面向对延迟敏感的视频生成。
把 ONEHOP_KEY 占位符替换为你的 API Key。 创建 →
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="bytedance/doubao-seedance-2.0-fast",
contents="What is the meaning of life?",
)
print(response.text)