bytedance/doubao-seedance-2.5
Text-to-video generation, billed by actual video output tokens at the official list price.
API çağrısında her iki ID de kullanılabilir.
bytedance/doubao-seedance-2.5doubao-seedance-2-5-260628ONEHOP_KEY yer tutucusunu API key'inizle değiştirin. Oluşturun →
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)