Doubao Seedance 2.0
ByteDance · Vídeo
Modelo de vídeo ByteDance Doubao Seedance 2.0, compatible con texto a vídeo, imagen a vídeo y control del primer y último fotograma. Se factura por generación a través de getmodel. Doubao Seedance 2.0 está disponible en GetModel mediante una API compatible con OpenAI, con pago por uso. Consigue una clave y llámalo desde cualquier SDK de OpenAI.
Precios
| Concepto | Precio |
|---|---|
| Por generación | €0.514 |
Cómo llamarlo
curl https://getmodel.ai/v1/chat/completions \
-H "Authorization: Bearer $GETMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"doubao-seedance-2-0","messages":[{"role":"user","content":"Hello"}]}' from openai import OpenAI
client = OpenAI(base_url="https://getmodel.ai/v1", api_key="$GETMODEL_API_KEY")
resp = client.chat.completions.create(
model="doubao-seedance-2-0",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)