Seedance 2.0 Video

Seedance 2.0 Video

Generate stunning videos with text prompts and reference images using Seedance 2.0 model with Pro, Fast, and Mini modes

Tool Overview

The Seedance 2.0 Video tool generates high-quality video content using ByteDance's Seedance 2.0 model. It supports text prompts, reference images (up to 6), flexible video duration (4-15 seconds), multiple aspect ratios, three resolution options (480P / 720P / 1080P), and three speed modes (Pro / Fast / Mini).

Tool Identifier

seedance20-video-api

Parameters

Required Parameters

At least one of prompt or media_urls must be provided.

prompt

  • Type: string
  • Description: Text description of the video content to guide AI video generation
  • Example: "A cat walking gracefully on a sandy beach at sunset"

media_urls

  • Type: string[]
  • Description: Reference media URLs (images, videos, or audio) to guide video generation
  • Limits:
    • Images: up to 6
    • Videos: up to 3 (total duration must not exceed 15 seconds, each video must be at least 2 seconds)
    • Audio: up to 2
  • Example: ["https://example.com/image1.jpg", "https://example.com/video1.mp4", "https://example.com/audio1.mp3"]

Optional Parameters

duration

  • Type: number (optional)
  • Default: 5
  • Range: 4 - 15 (seconds)
  • Note: Values outside range will be rejected. String values are automatically parsed to numbers

aspect_ratio

  • Type: string (optional)
  • Default: "16:9"
  • Supported Values:
    • "16:9" - Landscape format
    • "9:16" - Portrait format
    • "1:1" - Square format
    • "4:3" - Classic format
    • "3:4" - Portrait classic format
  • Note: Invalid values default to "16:9"

mode

  • Type: string (optional)
  • Default: "pro"
  • Supported Values:
    • "pro" - Higher quality
    • "fast" - Faster generation
    • "mini" - Lower-cost generation

resolution

  • Type: string (optional)
  • Default: "720p"
  • Supported Values:
    • "480p" - Lower resolution, cheapest option
    • "720p" - Standard resolution (default)
    • "1080p" - High resolution, highest quality
  • Note: Invalid values default to "720p"

seed

  • Type: number (optional)
  • Default: -1 (random)
  • Range: -1 to 4294967295 (2^32 - 1)
  • Description: Random seed integer for reproducibility. Using the same seed with the same parameters produces similar results. Set to -1 for random generation

Pricing

Credits are calculated as duration × cost per second, rounded up once at the end. Base API rates before campaign discounts:

ResolutionProFastMini
480P147 credits/s103 credits/s72 credits/s
720P263 credits/s184 credits/s120 credits/s
1080P656 credits/s459 credits/s300 credits/s

Black Friday 2026: From November 23 at 20:28:07 through November 29 at 23:59:59 (UTC+8), Mini uses 50% fewer credits: 36 / 60 / 150 credits per second. This replaces the previous Mini promotion; discounts are not stacked. Pro and Fast rates are unchanged. At the end of the event Mini automatically returns to the base rates above.

For example, a 5-second 720P Mini video uses 300 credits during the event, or 600 credits outside it.

Request Examples

Text-to-Video (Pro Mode, 5 seconds, 1080P)

curl -X POST https://sjinn.ai/api/un-api/create_tool_task \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tool_type": "seedance20-video-api",
    "input": {
      "prompt": "A cat walking gracefully on a sandy beach at sunset, cinematic lighting",
      "duration": 5,
      "aspect_ratio": "16:9",
      "mode": "pro",
      "resolution": "1080p",
      "seed": 42
    }
  }'

Media Reference + Text (Fast Mode, 8 seconds, 480P)

curl -X POST https://sjinn.ai/api/un-api/create_tool_task \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tool_type": "seedance20-video-api",
    "input": {
      "media_urls": ["https://example.com/reference.jpg"],
      "prompt": "The character starts dancing with smooth movements",
      "duration": 8,
      "aspect_ratio": "9:16",
      "mode": "fast",
      "resolution": "480p"
    }
  }'

Using JavaScript

const response = await fetch('https://sjinn.ai/api/un-api/create_tool_task', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    tool_type: 'seedance20-video-api',
    input: {
      prompt: 'A cat walking gracefully on a sandy beach at sunset',
      duration: 5,
      aspect_ratio: '16:9',
      mode: 'pro',
      resolution: '720p',
    },
  }),
});

const result = await response.json();
console.log('Task ID:', result.data.task_id);

Using Python

import requests

url = 'https://sjinn.ai/api/un-api/create_tool_task'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
}
data = {
    'tool_type': 'seedance20-video-api',
    'input': {
        'prompt': 'A cat walking gracefully on a sandy beach at sunset',
        'duration': 5,
        'aspect_ratio': '16:9',
        'mode': 'pro',
        'resolution': '720p'
    }
}

response = requests.post(url, json=data, headers=headers)
result = response.json()
print('Task ID:', result['data']['task_id'])

Response Examples

Success Response

{
  "success": true,
  "errorMsg": "",
  "error_code": 0,
  "data": {
    "task_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}

Error Response

{
  "success": false,
  "errorMsg": "Insufficient balance",
  "error_code": 100
}

Best Practices

  1. Mode Selection: Use mini or fast mode for quick prototyping, switch to pro for final high-quality output
  2. Duration Selection: Start with shorter durations (4-5s) for testing, then increase. Cost scales linearly with duration
  3. Reference Media: Provide reference images, videos, or audio for more consistent and guided video generation
  4. Prompt + Media: Combine text prompts with reference media for the best results — the prompt guides the action while media defines the visual/audio style
  5. Generation Time: Video generation typically takes 2-8 minutes depending on duration and mode

Related Links