LatentLogic

LatentLogic

Seedance 2.5 API for developers — a few notes after integrating it into my site

I recently integrated Seedance 2.5 into one of my own projects. The basic API flow is simple: create a task, get the task ID, and poll until the video is ready.

import requests
import time

API_KEY = "YOUR_API_KEY"
BASE_URL = "https://seegen.ai/api/v1"

headers = {
    "Authorization": f"Bearer {API_KEY}",
    "Content-Type": "application/json"
}

payload = {
    "model": "sd2.5",
    "inputs": {
        "prompt": "A cinematic tracking shot through a rainy Tokyo street at night.",
        "duration": "10s",
        "resolution": "1280x720",
        "outputResolution": "720p"
    }
}

task = requests.post(
    f"{BASE_URL}/jobs/createTask",
    headers=headers,
    json=payload
).json()

task_id = task["taskId"]

while True:
    result = requests.get(
        f"{BASE_URL}/jobs/queryTask",
        headers={"Authorization": f"Bearer {API_KEY}"},
        params={"taskId": task_id}
    ).json()

    if result["status"] in ["COMPLETED", "FAILED"]:
        print(result)
        break

    time.sleep(5)

A few integration differences I ran into compared with Seedance 2.0:

1. Video Edit needs a separate flow

With Seedance 2.0, editing requests could be handled through Multi-Reference. In 2.5, if the prompt contains editing instructions, the model may automatically classify the task as Video Edit.

If you still send normal ratio and duration parameters, the request can fail with:

Seedance identified your task as video editing based on your prompt.

`ratio` must be `adaptive`.
`duration` must be -1.

I ended up adding a dedicated Video Edit mode instead of sending editing prompts through Multi-Reference.

2. Omni-Reference now requires actual reference assets

Another difference from 2.0: Seedance 2.5 doesn’t accept a text-only request through the Omni-Reference flow.

It returns:

The parameter omni_reference_task_type specified in the request is not valid.
This parameter is only supported in the multimodal reference scenario.

For backward compatibility, I added a small fallback: if the request contains only a prompt and no image, video, or audio references, I automatically remove omni_reference_task_type and route it as a normal text-to-video request.

These aren’t major changes, but they’re worth handling if you’re migrating an existing Seedance 2.0 integration to 2.5.

Anyone else integrating Seedance 2.5 into their own product? Is there anything else I should watch out for during integration?

Where Next?

Popular Ai topics Top

Eiji
Today, I tried to find some information and few times I not only got completely wrong answers, but even fake GitHub links … Every time I ...
#ai
New
apoorv-2204
I’m reaching out to all software engineers, especially senior developers — I really want to hear your thoughts. I’ve always loved buildi...
New
apoorv-2204
General thoughts on google gemini ? IMHO , when compared chatgpt and claude sonnnet its pretty shit, and its feels broken,
#ai
New
xiji2646-netizen
Woke up to this today: Claude Code’s complete source code exposed via npm source map. Not a snippet. All 512,000 lines. 1,900 TypeScript ...
New
xiji2646-netizen
I’ve been following Seedance 2.0 since ByteDance dropped it in February, and after a few weeks of testing through third-party APIs, I wan...
New
xiji2646-netizen
Just went through the Anthropic migration guide for Opus 4.7 and there are more gotchas than the announcement implied. Curious if others ...
New
xiji2646-netizen
DeepSeek just released V4 and the pricing is hard to ignore. V4-Flash: $0.28/M output tokens. V4-Pro: $2.19/M. Both with 1M token contex...
New
xiji2646-netizen
Alibaba just opened public API access for HappyHorse 1.0, the model currently ranked #1 on Video Arena’s blind tests. What caught my att...
New
xiji2646-netizen
Curious how others deal with this: you start a refactoring task with your AI coding assistant, close the terminal, come back – and it has...
New
LatentLogic
I got tired of comparing Seedance 2.0 API providers. There are simply too many. I have personally come across at least 20–30 platforms, ...
New

Other popular topics Top

PragmaticBookshelf
Andy and Dave wrote this influential, classic book to help their clients create better software and rediscover the joy of coding. Almost ...
New
PragmaticBookshelf
Learn from the award-winning programming series that inspired the Elixir language, and go on a step-by-step journey through the most impo...
New
DevotionGeo
I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
New
New
PragmaticBookshelf
Leverage Elixir and the Nx ecosystem to build intelligent applications that solve real-world problems in computer vision, natural languag...
New
PragmaticBookshelf
25 puzzles that will make you a better C programmer by challenging your knowledge of the language, and explaining the technical details o...
New
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New
pragdave
Build robust LLM-powered apps, chatbots, and agents while mastering AI engineering principles that will help you outlast the tools and th...
New
xiji2646-netizen
There’s a GitHub repo at forrestchang/andrej-karpathy-skills that’s sitting at 97.8k stars. It’s a single CLAUDE.md file with four behavi...
New