bytedance/doubao-seedance-2.0
ByteDance Seedance 2.0 video generation. Up to ~20s clips with realistic motion and physics. Async generate-and-poll.
Replace the ONEHOP_KEY placeholder with your API key. Create one โ
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",
contents="What is the meaning of life?",
)
print(response.text)