Skip to content
Console
Quick Start

Seedance video generation (ZLHub) ​

This guide applies to ZLHub Seedance groups on the Mainland China and Global sites. Creating a task returns a task ID. Use the same API key to check its status and retrieve the video URL.

1. Choose a site, group, and model ​

Create an API key and select a Seedance group on the site you use. Send requests to that site's base URL. The key and account balance belong to that site.

SiteAPI base URLBilling currency
Mainland Chinahttps://sidrune.aiChinese yuan (CNY)
Globalhttps://fluxionai.worldUS dollars (USD)
ModelRequest modelResolutionsFixed duration
Seedance 2.0doubao-seedance-2-0-260128480p, 720p, 1080p, 4k4–15 seconds
Seedance 2.0 Fastdoubao-seedance-2-0-fast-260128480p, 720p4–15 seconds
Seedance 2.0 Minidoubao-seedance-2-0-mini-260615480p, 720p4–15 seconds
Seedance 2.5doubao-seedance-2-5-260628480p, 720p, 1080p, 4k4–30 seconds

The Mainland China public catalog lists all four models. The Global public catalog lists 2.0 and 2.5. Your key's group determines which models you can call. Set SIDRUNE_API_KEY to the key you created on the site, then use GET /v1/models to check.

bash
export SIDRUNE_BASE_URL=https://fluxionai.world
# For Mainland China, set the URL above to https://sidrune.ai
curl --fail-with-body --silent --show-error \
  "${SIDRUNE_BASE_URL}/v1/models" \
  -H "Authorization: Bearer ${SIDRUNE_API_KEY}"

2. Create a video task ​

Save the following text-to-video request as request.json. It creates a five-second 480p video with Seedance 2.5.

json
{
  "model": "doubao-seedance-2-5-260628",
  "content": [
    {"type": "text", "text": "A paper boat drifts down a creek as the camera tracks it just above the water."}
  ],
  "resolution": "480p",
  "duration": 5,
  "ratio": "16:9",
  "generate_audio": true
}
bash
curl --fail-with-body --silent --show-error \
  "${SIDRUNE_BASE_URL}/api/v3/contents/generations/tasks" \
  -H "Authorization: Bearer ${SIDRUNE_API_KEY}" \
  -H 'Content-Type: application/json' \
  --data-binary @request.json

A successful submission returns JSON such as {"id":"example-task-id"}. Save the returned id for the status query.

FieldUsage
modelRequired. Use a model ID enabled for your key's group.
contentRequired. An array of text or media reference entries.
resolutionDefaults to 720p. See the model table for supported values.
durationOutput duration in whole seconds. The 2.0 family defaults to 5 seconds. For 2.5, pass -1 or omit the field to let the model choose.
ratioOutput aspect ratio, for example 16:9 or 9:16.
generate_audioBoolean. Set it explicitly to true to request generated audio.

Use a reference image or video ​

Add either of the following entries after the text entry in content. Replace the example URL with a direct HTTPS link that the service can download. Keep the link valid while the task runs.

Reference image entry

json
{
  "type": "image_url",
  "role": "reference_image",
  "image_url": {"url": "https://example.com/reference.jpg"}
}

Reference video entry

json
{
  "type": "video_url",
  "role": "reference_video",
  "video_url": {"url": "https://example.com/reference.mp4"}
}

ZLHub groups accept direct HTTPS media links. The Asset API, asset:// references, Draft mode, callbacks, and task cancellation are unavailable for these groups.

3. Check status and download ​

Set TASK_ID to the ID from the create response. Wait about 60 seconds before the first check, then poll about once per minute.

bash
TASK_ID='example-task-id'
curl --fail-with-body --silent --show-error \
  "${SIDRUNE_BASE_URL}/api/v3/contents/generations/tasks/${TASK_ID}" \
  -H "Authorization: Bearer ${SIDRUNE_API_KEY}"
  • queued / running means the task is still in progress. Keep querying with the same ID.
  • When the status is succeeded, read content.video_url and download the video promptly.
  • If the status is failed, check the returned error. Share the task ID and error code if you contact support.
  • If submission times out before returning an ID, save the error response or request reference and contact support. Resubmitting may create a duplicate task.

4. Billing holds, charges, and errors ​

Submitting a task reserves part of your available balance and API key quota. A fixed duration makes the hold easier to estimate. With automatic duration, the hold uses the group's configured maximum output duration. A reference video can also add a hold based on the maximum input duration.

The final charge uses actual output tokens and the applicable group price. Unused funds are released on settlement. Rates are listed per million output tokens and can vary by model, resolution, input type, and group. Check current rates in Model Plaza and the final charge in your account's billing history. Mainland China Model Plaza · Global Model Plaza

Error codeWhat to check
UNSUPPORTED_VIDEO_SPECCheck that the model belongs to your key's group and that the resolution, duration, and reference media combination has a pricing rule.
VIDEO_KEY_QUOTA_EXCEEDEDCheck whether your key has enough remaining quota to cover the hold.
VIDEO_NOT_SUBMITTEDThe task was never dispatched and the hold was released. You can submit again after service recovers.
Support QQ 1683710 · Groups 1076140277 / 1128758710© 2026 Sidrune AI