bytedance/doubao-seedance-2.5
Text-to-video generation, billed by actual video output tokens at the official list price.
API 호출 시 어떤 ID든 사용할 수 있습니다.
bytedance/doubao-seedance-2.5doubao-seedance-2-5-260628ONEHOP_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.5",
contents="What is the meaning of life?",
)
print(response.text)