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

AstonJ
This video about multi-agent AI is a really nice watch - it only took them a few million tries to master certain strategies - doing much ...
#ai
New
AstonJ
Loads of news stories about DeepSeek here in the last few days, no surprise as it’s been making headlines across the world! Currently a h...
New
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
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
AstonJ
Tucker: You’ve had complaints from one programmer who said you steal people’s stuff without paying them and he winded up being murdered.
New
xiji2646-netizen
Google just dropped a significant Deep Research upgrade: collaborative planning, multi-tool orchestration (MCP servers, Code Execution, F...
New
xiji2646-netizen
Been using a two-stage workflow for AI video production that’s been consistently more reliable than text-to-video: Generate a 3×3 stor...
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
xiji2646-netizen
Been using Claude Code on Max for a few weeks and kept running into rate limits by early afternoon. Same tasks as colleagues who weren’t ...
New
xiji2646-netizen
I was reading through a curated list of 60 real-world Claude Fable 5 cases (each logged with input, process, output, and an evidence tag)...
New

Other popular topics Top

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1063 24245 395
New
dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
PragmaticBookshelf
Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New
PragmaticBookshelf
Leverage Elixir and the Nx ecosystem to build intelligent applications that solve real-world problems in computer vision, natural languag...
New
PragmaticBookshelf
Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
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