SJinn
Seedance 2.5

Seedance 2.5

Use Seedance 2.5 to create videos with text and optional image, video, and audio references through the SJinn REST API

Tool Overview

Seedance 2.5 creates videos from a text prompt and optional image, video, and audio references. It supports durations from 4 to 30 seconds and output at 480P, 720P, or 1080P.

Tool Identifier

seedance25-video-api

Parameters

Required Parameters

prompt

  • Type: string
  • Description: Text description of the video to generate. Use the referenced media in the order provided by the URL arrays.

Optional Parameters

duration

  • Type: number
  • Default: 5
  • Range: 430 seconds

ratio

  • Type: string
  • Default: "16:9"
  • Supported Values: "adaptive", "16:9", "9:16", "1:1", "3:4", "4:3", "21:9"

resolution

  • Type: string
  • Default: "480p"
  • Supported Values: "480p", "720p", "1080p"

image_urls

  • Type: string[]
  • Default: []
  • Limit: Up to 30 public HTTP/HTTPS URLs

video_urls

  • Type: string[]
  • Default: []
  • Limit: Up to 10 public HTTP/HTTPS URLs

audio_urls

  • Type: string[]
  • Default: []
  • Limit: Up to 10 public HTTP/HTTPS URLs

Pricing

  • 480P: 170 credits per second
  • 720P: 350 credits per second
  • 1080P: 850 credits per second

The total is duration × resolution rate, rounded up to the nearest credit.

Request Examples

Prompt Only

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": "seedance25-video-api",
    "input": {
      "prompt": "A cinematic tracking shot through a neon-lit night market",
      "duration": 5,
      "ratio": "16:9",
      "resolution": "480p"
    }
  }'

Multimodal References

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": "seedance25-video-api",
    "input": {
      "prompt": "Keep the character from the image, follow the camera motion in the video, and use the audio as the soundtrack reference.",
      "duration": 10,
      "ratio": "9:16",
      "resolution": "720p",
      "image_urls": [
        "https://example.com/character.jpg"
      ],
      "video_urls": [
        "https://example.com/camera-motion.mp4"
      ],
      "audio_urls": [
        "https://example.com/soundtrack.mp3"
      ]
    }
  }'

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: 'seedance25-video-api',
    input: {
      prompt: 'A dancer performs under warm theatrical lighting',
      duration: 8,
      ratio: '9:16',
      resolution: '1080p',
      audio_urls: ['https://example.com/music.mp3'],
    },
  }),
});

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

Python

import requests

response = requests.post(
    'https://sjinn.ai/api/un-api/create_tool_task',
    headers={
        'Authorization': 'Bearer YOUR_API_KEY',
        'Content-Type': 'application/json',
    },
    json={
        'tool_type': 'seedance25-video-api',
        'input': {
            'prompt': 'A dancer performs under warm theatrical lighting',
            'duration': 8,
            'ratio': '9:16',
            'resolution': '1080p',
            'audio_urls': ['https://example.com/music.mp3'],
        },
    },
)

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

Response

The create endpoint returns a pending task ID. Poll query_tool_task_status until the task completes or fails.

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

Related Links