bytedance/doubao-seedance-2.5
Text-to-video generation, billed by actual video output tokens at the official list price.
Você pode usar qualquer ID em chamadas de API.
bytedance/doubao-seedance-2.5doubao-seedance-2-5-260628Substitua o placeholder ONEHOP_KEY pela sua API key. Criar →
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.5",
contents="What is the meaning of life?",
)
print(response.text)