Skip to main content
PowerTokens fully supports the Seedance 2.0 video generation model series, offering two integration methods:
  1. Full compatibility with the official Seedance 2.0 API: If you’re already using ByteDance’s official API, simply switch the Base URL and API Key for a seamless migration with zero code changes. See the Official Compatible Interface section in this document.
  2. OpenAI-style interface: A unified POST /v1/videos endpoint for a consistent calling experience across other platform models.
Base URL: Both interfaces share the same Base URL: https://baze-api.powerbuyin.top
This document covers both interfaces. The official compatible interface is in the first half, and the OpenAI-style interface is in the OpenAI-style Interface section.
Important prerequisite: Regardless of which interface you use, all image, video, and audio assets must first be uploaded through the Asset Library to obtain an asset_id, and then use the asset_id directly in your requests. See the Asset Preparation section for details.

Prerequisites

Before calling the Seedance 2.0 API, complete the following steps:
  1. Sign up / Log in: Register and log in at powertokens.ai
  2. Get an API Key: Go to the API Keys management page, create a new key, copy and store it securely
  3. Top up: Go to the Billing page and purchase Credits (video generation is pay-per-use and requires account balance)
  4. Enable Asset Library: Go to the Asset Library page, read and agree to the Asset Library User Agreement (all Seedance 2.0 assets must be uploaded through the Asset Library)

Authentication

All requests are authenticated via HTTP headers:

Official Compatible Interface

PowerTokens is fully compatible with the official Seedance API, with request bodies, parameter names, and response structures identical to ByteDance’s official API. If you’re already using ByteDance’s official API, simply switch the Base URL and API Key to migrate.

Migration from ByteDance Official

Base URL

Both interfaces share the same Base URL: https://baze-api.powerbuyin.top, differing only in the request path.

Endpoint List

Asset Input Format

In the official compatible interface, assets are passed into the url field using the asset://<ASSET_ID> format:
The url field for images, videos, and audio supports the following three formats:

Example: Image-to-Video (using asset_id)

Example: Multimodal Reference-to-Video (reference image + reference video + reference audio)

Example: Query Task Status

Example: List Tasks

Example: Cancel / Delete Task

Official Compatible Interface vs OpenAI-style Interface

The generation quality is identical for both interfaces — choose whichever fits your needs.

OpenAI-style Interface

A unified POST /v1/videos endpoint for a consistent calling experience across other platform models.

Available Models

Both models share the same API structure and parameters, differing only in generation speed and maximum resolution.

Supported Generation Modes


Asset Preparation (Must Read)

All Seedance 2.0 media assets (images, videos, audio) must first be uploaded through the Asset Library to obtain an asset_id. External URLs cannot be used directly.

Workflow

Just two steps — once you have the asset_id, you can use it directly in Seedance requests:
Once you have the asset_id, you’re ready to go! Regardless of which interface you use, pass the asset using the "url": "asset://your_asset_id" format — no need to query asset details for a URL.

Example: Preparing a Starting Frame Image

For detailed Asset Library usage, see Asset Library Quick Start.

Request Parameters

All generation modes share the POST /v1/videos endpoint, with different type combinations in the media array to distinguish modes.

Common Parameters

Media Types


Usage Examples

1. Text-to-Video (Standard API Reference · Fast)

2. Image-to-Video (Standard API Reference · Fast)

asset://XXXX — XXXX is the asset ID obtained after uploading through the Asset Library.

3. First-Last Frame-to-Video (Standard API Reference · Fast)

4. Multimodal Reference-to-Video (Standard API Reference · Fast)

You can pass one or more of: reference image, reference video, and reference audio simultaneously:

Query Task Status (API Reference)

After submitting a generation request, a task_id will be returned. Video generation is asynchronous and requires polling to check the status. Endpoint: GET /v1/videos/{task_id}

Task Statuses

Successful Response Example

Note: The video URL is valid for 14 days. Please download and save it promptly. Only tasks from the last 7 days can be queried.

Complete Workflow — Python

A complete example from asset upload to video generation:

Model Version Comparison


API Quick Reference

Official Compatible Interface

Base URL: https://baze-api.powerbuyin.top

Create Task — POST /byteplus/api/v3/contents/generations/tasks (API Reference)

Query Task — GET /byteplus/api/v3/contents/generations/tasks/{id} (API Reference)

Task List — GET /byteplus/api/v3/contents/generations/tasks (API Reference)

Cancel / Delete Task — DELETE /byteplus/api/v3/contents/generations/tasks/{id} (API Reference)

OpenAI-style Interface

Base URL: https://baze-api.powerbuyin.top

Generation Modes — POST /v1/videos

Text-to-Video (Standard · Fast)
Image-to-Video (Standard · Fast)
First-Last Frame-to-Video (Standard · Fast)
Multimodal Reference-to-Video (Standard · Fast)
For the Fast version, replace the model ID with dreamina-seedance-2-0-fast-260128.

Task Query — GET /v1/videos/{task_id} (API Reference)

Asset Preparation (Asset Library)

Upload Asset — POST /v1/asset/upload (API Reference)
Get Asset ID — GET /v1/asset/jobs/get-asset-id (API Reference)
This endpoint does not require authentication. Once you have the asset_id, you can directly use it in Seedance requests.

For the complete API reference, visit docs.powertokens.ai