Seedance 2.0
ByteDance · Video · Max duration 15 seconds
seedance-2.0
Try
Pricing
| 480P | Rp 1.345 |
|---|---|
| 720P | Rp 3.023 |
| 1080P | Rp 7.481 |
| 4K | Rp 15.544 |
MarkasAI sale prices in Rupiah, read from the same catalog as GET /v1/models. Prices can change and apply to later requests.
Specifications
- Model ID
seedance-2.0- Provider
- ByteDance
- Type
- Video
- Endpoint
POST /v1/videos/generations- Video
- Max duration 15 seconds
Call example
curl https://api.markas.ai.id/v1/videos/generations \
-H "Authorization: Bearer $MARKASAI_API_KEY" \
-H "Content-Type: application/json" \
--max-time 600 \
-d '{"model": "seedance-2.0", "prompt": "ocean waves at sunset", "duration_seconds": 5, "resolution": "480P"}'
import os, requests
resp = requests.post(
"https://api.markas.ai.id/v1/videos/generations",
headers={"Authorization": f"Bearer {os.environ['MARKASAI_API_KEY']}"},
json={"model": "seedance-2.0", "prompt": "ocean waves at sunset", "duration_seconds": 5, "resolution": "480P"},
timeout=600,
)
resp.raise_for_status()
print(resp.json()["videos"][0]["url"])
const resp = await fetch("https://api.markas.ai.id/v1/videos/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.MARKASAI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ model: "seedance-2.0", prompt: "ocean waves at sunset", duration_seconds: 5, resolution: "480P" }),
signal: AbortSignal.timeout(600_000),
});
const video = await resp.json();
console.log(video.videos[0].url);
Keep your API key in the MARKASAI_API_KEY environment variable. Read the endpoint docs