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
Watching any? Any favourites? :upside_down_face:
New
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
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
apoorv-2204
General thoughts on google gemini ? IMHO , when compared chatgpt and claude sonnnet its pretty shit, and its feels broken,
#ai
New
kammy
Hi everyone! The other day I was having a debate with my friends about whether or not the top LLM models are “good at design.” I’d love ...
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
Anthropic shipped something called Dreaming for Managed Agents this week. It’s a scheduled background process that runs between sessions ...
New
xiji2646-netizen
Claude Code, Markdown, and the Case for HTML Artifacts I do not think Markdown is going away. It is still the right format for README f...
New
xiji2646-netizen
Cursor cloud agent development This month’s updates: Codex got real Windows sandboxing (May 13) ...
New
pagan
I am seeking a talented video creator who can help create stunning cinematic movies for the upcoming browser MMORPG Orizaya: Sisters of t...
New

Other popular topics Top

PragmaticBookshelf
Free and open source software is the default choice for the technologies that run our world, and it’s built and maintained by people like...
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
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
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
PragmaticBookshelf
A masterclass in the fundamentals and principles of functional programming. Minh Quang Tran The Art of Functional Programming is a ma...
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
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New
PragmaticBookshelf
Write elegant Ruby code—not just correct, but idiomatic. Go beyond the vocabulary and syntax and learn to express yourself with eloquence...
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