Back to Trending
RepositoryPython
SamurAIGPT

SamurAIGPT/Seedance-2.5-API

Uncensored Seedance 2.5 API: Python SDK for ByteDance Seedance 2.5 and Flash, with Spicy relaxed-moderation routes for text/image-to-video, references, edit, and extend. Native 4K, 30-second clips, and MCP via MuAPI; provider terms apply.

517stars
74forks
0issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: bytedance-seedance

#1 Repository of the week

1
TINIX TRENDING·Topic: image-to-video-api

#1 Repository of the week

1
TINIX TRENDING·Topic: python-api-wrapper

#1 Repository of the week

Seedance 2.5 API: Python Wrapper for ByteDance's AI Video Generator

Powered by MuAPI

PyPI version GitHub stars License: MIT Python 3.7+

The most comprehensive Python wrapper for the Seedance 2.5 API (developed by ByteDance), delivered via muapi.ai. Generate cinematic, high-fidelity AI videos from text prompts and static images — with industry-leading realistic human face generation — using ByteDance's most advanced video generation model.

Join the subreddit https://www.reddit.com/r/Seedance_2_API/ for discussions on using the Seedance 2.5 API.

🌟 Seedance 2.5 — native 4K, longer clips, advanced audio, and improved character consistency over Seedance 2.0. Try it now: I2V Playground · T2V Playground

🚀 Why Use Seedance 2.5 API?

Seedance 2.5 is ByteDance's most advanced video generation model, offering unparalleled video quality and motion consistency.

  • Cinematic Quality: Generate up to native 4K AI videos with realistic physics and lighting.
  • Realistic Human Faces: Best-in-class facial fidelity — natural expressions, skin detail, and identity consistency across frames.
  • Less Censorship: More permissive content policy compared to other AI video models, enabling a wider range of creative use cases.
  • Superior Motion Control: Advanced camera movement and character consistency for professional results.
  • Multimodal API: Supports Text-to-Video (T2V), Image-to-Video (I2V), and Video Extension.
  • Developer-First: Fast processing via the MuAPI infrastructure with a simple Python SDK.

🌟 Key Features of Seedance 2.5 API

  • ✅ Realistic Human Face Generation: Produces natural, high-fidelity human faces with accurate expressions, skin texture, and identity consistency — no uncanny valley.
  • ✅ Seedance 2.5 Text-to-Video (T2V): Transform complex descriptive prompts into stunning AI video clips.
  • ✅ Seedance 2.5 Image-to-Video (I2V): Animate any static image with precise motion control using images_list.
  • ✅ Seedance 2.5 Omni-Reference: Condition a video on any combination of image, video, and audio references in one request.
  • ✅ Seedance 2.5 Character: Generate a multi-panel character sheet (front, back, side, action pose, expressions) from 1–3 reference photos. Use @character:<id> inline in any prompt, or pass the sheet directly as an anchor image for tighter face fidelity via consistent_video().
  • ✅ Seedance 2.5 Video-Edit: Edit existing videos using text prompts and reference images for stylized results.
  • ✅ File Upload: Directly upload local images and videos using the upload_file method, supporting seamless use in generation tasks.
  • ✅ High-Resolution Output: Support for basic and high (1080p+) quality settings.
  • ✅ Less Censorship: More permissive content policy than competing models — broader creative freedom out of the box.
  • ✅ Flexible Aspect Ratios: Optimized for 16:9, 9:16 (TikTok/Reels), 4:3, and 3:4.

🛠 Installation

pip install seedance-2-api

From Source

# Clone the Seedance 2.5 API repository
git clone https://github.com/SamurAIGPT/Seedance-2.5-API.git
cd Seedance-2.5-API

# Install required dependencies
pip install -r requirements.txt

Configuration

Create a .env file in the root directory and add your MuAPI API key:

MUAPI_API_KEY=your_muapi_api_key_here

🤖 Seedance 2.5 MCP Server (New!)

You can now use Seedance 2.5 as an MCP (Model Context Protocol) server. This allows AI models (like Claude Desktop or Cursor) to directly invoke Seedance tools.

Running the MCP Server

  1. Ensure MUAPI_API_KEY is set in your environment.
  2. Run the server:
    python3 mcp_server.py
    
  3. To test with the MCP Inspector:
    npx -y @modelcontextprotocol/inspector python3 mcp_server.py
    

💻 Quick Start with Seedance 2.5 API (Python)

from seedance_api import SeedanceAPI

# Initialize the Seedance 2.5 client
api = SeedanceAPI()

# 1. Generate Video from Text (T2V) using Seedance 2.5 API
print("Generating AI Video using Seedance 2.5...")
submission = api.text_to_video(
    prompt="A cinematic slow-motion shot of a cyberpunk city in the rain, neon lights reflecting on puddles, 8k resolution",
    aspect_ratio="16:9",
    duration=5,
    quality="high"
)

# 2. Wait for completion
result = api.wait_for_completion(submission['request_id'])
print(f"Success! View your Seedance 2.5 video here: {result['url']}")

📡 API Endpoints & Reference

1. Seedance 2.5 Text-to-Video (T2V)

Endpoint: POST https://api.muapi.ai/api/v1/seedance-v2.0-t2v

Supports @character:<id> inline in the prompt — see Character Workflow below.

curl --location --request POST "https://api.muapi.ai/api/v1/seedance-v2.0-t2v" \
  --header "Content-Type: application/json" \
  --header "x-api-key: YOUR_API_KEY" \
  --data-raw '{
      "prompt": "A majestic eagle soaring over the snow-capped Himalayas",
      "aspect_ratio": "16:9",
      "duration": 5,
      "quality": "high"
  }'

2. Seedance 2.5 Image-to-Video (I2V)

Endpoint: POST https://api.muapi.ai/api/v1/seedance-v2.0-i2v

Reference images with @image1, @image2, etc. in the prompt. Supports @character:<id> — characters are automatically appended to images_list.

curl --location --request POST "https://api.muapi.ai/api/v1/seedance-v2.0-i2v" \
  --header "Content-Type: application/json" \
  --header "x-api-key: YOUR_API_KEY" \
  --data-raw '{
      "prompt": "Make the clouds move slowly across the sky",
      "images_list": ["https://example.com/mountain.jpg"],
      "aspect_ratio": "16:9",
      "duration": 5,
      "quality": "basic"
  }'

3. Seedance 2.5 Omni-Reference

Endpoint: POST https://api.muapi.ai/api/v1/seedance-2.0-omni-reference

Condition a single video generation on any combination of image, video, and audio references. Use @character:<id> inline in the prompt to inject a character (see section below).

curl --location --request POST "https://api.muapi.ai/api/v1/seedance-2.0-omni-reference" \
  --header "Content-Type: application/json" \
  --header "x-api-key: YOUR_API_KEY" \
  --data-raw '{
      "prompt": "A dramatic chase scene through a neon city",
      "aspect_ratio": "16:9",
      "duration": 5,
      "images_list": ["https://example.com/scene_ref.jpg"],
      "video_files": ["https://example.com/style_ref.mp4"]
  }'

4. Seedance 2.5 Character (Consistent Character Sheets)

Endpoint: POST https://api.muapi.ai/api/v1/seedance-2-character

Create a multi-panel character sheet (front, back, side profile, action pose, facial expressions, accessories) at 4K / 21:9 from 1–3 reference photos of a real person.

Once the sheet is generated you can use it two ways:

  • @character:<request_id> inline in any T2V, I2V, or Omni-Reference prompt
  • Pass outputs[0] (the sheet image URL) directly as @image1 in an I2V request for tighter face fidelity via consistent_video()
FieldTypeRequiredDescription
images_listarray of URLsYes1–3 photos of the reference person
promptstringYesDesired outfit/style for the character
curl --location --request POST "https://api.muapi.ai/api/v1/seedance-2-character" \
  --header "Content-Type: application/json" \
  --header "x-api-key: YOUR_API_KEY" \
  --data-raw '{
      "images_list": ["https://example.com/person.jpg"],
      "prompt": "cyberpunk jacket with neon accents"
  }'

Cost: $0.18 per character sheet

For a full guide including the direct sheet-anchored I2V workflow, see CHARACTER_CONSISTENCY.md.

5. Seedance 2.5 Video-Edit

Endpoint: POST https://api.muapi.ai/api/v1/seedance-v2.0-video-edit

curl --location --request POST "https://api.muapi.ai/api/v1/seedance-v2.0-video-edit" \
  --header "Content-Type: application/json" \
  --header "x-api-key: YOUR_API_KEY" \
  --data-raw '{
      "prompt": "The cat walks through a garden",
      "video_urls": ["https://example.com/video.mp4"],
      "images_list": ["https://example.com/image.jpg"],
      "aspect_ratio": "16:9",
      "quality": "basic",
      "remove_watermark": false
  }'

🎭 Character Consistency Workflow

Create a fictional character from reference photos and maintain their identity across multiple video scenes.

See CHARACTER_CONSISTENCY.md for a full guide.

Option A — @character:<id> inline (simplest)

from seedance_api import SeedanceAPI
api = SeedanceAPI()

# Step 1 — generate a character sheet (1–3 reference photos)
char = api.create_character(
    images_list=["https://example.com/person.jpg"],
    outfit_description="cyberpunk jacket with neon accents, glowing visor",
)
char_id = char["request_id"]
api.wait_for_completion(char_id)  # wait for sheet to render

# Step 2 — reference the character inline in any prompt
video = api.text_to_video(
    prompt=f"@character:{char_id} rides a motorcycle through a neon-lit city at night",
    aspect_ratio="16:9",
    duration=5,
)
result = api.wait_for_completion(video["request_id"])
print(f"Video: {result['outputs'][0]}")

# Multiple characters in one prompt
char2_id = "another-completed-character-request-id"
video2 = api.text_to_video(
    prompt=f"@character:{char_id} and @character:{char2_id} face off in a neon-lit arena",
    aspect_ratio="16:9",
    duration=5,
)

Option B — consistent_video() (tighter face fidelity)

Pass the character sheet directly as the anchor image for Image-to-Video generation.

# Get the sheet URL after character creation
sheet_result = api.wait_for_completion(char_id)
sheet_url = sheet_result["outputs"][0]

# Generate with the sheet as anchor
video = api.consistent_video(
    sheet_url=sheet_url,
    prompt="@image1 draws their weapon in slow motion, dramatic lighting",
    aspect_ratio="16:9",
    duration=5,
    quality="high",
)
result = api.wait_for_completion(video["request_id"])
print(f"Video: {result['outputs'][0]}")

Tip: @character:<id> works in T2V, I2V, and Omni-Reference prompts. Use consistent_video() when face similarity is critical.


📖 Documentation & Guides

For prompt engineering and advanced use cases, see awesome-seedance-2.5-api-prompts.

MethodParametersDescription
text_to_videoprompt, aspect_ratio, duration, quality, remove_watermarkGenerate video from text. Supports @character:<id> in prompt.
image_to_videoprompt, images_list, aspect_ratio, duration, quality, remove_watermarkAnimate images. Supports @image1/@character:<id> in prompt.
omni_referenceprompt, aspect_ratio, duration, quality, images_list, video_files, audio_filesMulti-modal reference video generation.
create_characterimages_list (1–3), outfit_description, character_nameGenerate a 4K character sheet from reference photos. Returns request_id; outputs[0] is the sheet URL.
consistent_videosheet_url, prompt, aspect_ratio, duration, quality, extra_imagesI2V with the character sheet as anchor (@image1). Tighter face fidelity than @character:<id>.
video_editprompt, video_urls, images_list, aspect_ratio, quality, remove_watermarkEdit existing videos with prompts and images.
watermark_removervideo_urlRemove MuAPI watermark from a Seedance video.
watermark_remover_provideo_urlRemove MuAPI watermark from a Seedance video (Pro version).
text_to_video_480pprompt, aspect_ratio, duration, qualityGenerate a 480p video from text (faster/cheaper).
image_to_video_480pprompt, images_list, aspect_ratio, duration, qualityGenerate a 480p video from an image (faster/cheaper).
extend_videorequest_id, prompt, duration, qualityExtend an existing Seedance video segment.
upload_filefile_pathUpload a local file (image or video) to MuAPI for use in generation tasks.
get_resultrequest_idCheck task status for the Seedance API.
wait_for_completionrequest_id, poll_interval, timeoutBlocking helper for Seedance generation tasks.

🔗 Official Resources

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Keywords: Seedance 2.5 API, ByteDance Seedance, AI Video Generator, Text-to-Video AI, Image-to-Video API, Seedance Python SDK, Sora Alternative, MuAPI, Video Generation API, Cinematic AI Video, AI Video Creation, ByteDance Video AI, Seedance API Documentation, Seedance I2V, Seedance T2V, AI Movie Generator, AI Animation API, Python Video API, Seedance 2.5 Tutorial.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
Anil-matcha/Seedance-2-API

Uncensored Seedance 2 API search? This Python SDK covers standard Seedance 2.0/2.5 workflows and Seedance 2.5 Flash Spicy routes; for relaxed-moderation Seedance 2 and 2 Mini, use the dedicated Seedance 2 Spicy API.

365
Nov 26, 2026
Repository
Anil-matcha/awesome-seedance-2.5-api-prompts

Seedance 3.0 API & Seedance 3 API updates. Seedance 2.5 and Seedance 2.5 Flash API guide, prompts, parameters, and examples for AI video generation via MuAPI

339
Nov 30, 2026
RepositoryPython
apimart-api-ai-Aggregator/seedance-2.5-api

Seedance 2.5 API (seedance-2.5): per-second pricing by resolution, up to 30-second text-to-video and reference-media workflows, with cURL and Python examples and measured costs.

136
Sep 27, 2026
RepositoryPython
SamurAIGPT/flux-3-video-api

Python wrapper for Black Forest Labs' FLUX 3 video API — Text-to-Video and Image-to-Video with native synchronized audio.

98
Oct 1, 2026
RepositoryPython
Anil-matcha/Wan-3.0-API

Uncensored Wan 3.0 API search? This Python SDK and MCP server documents standard routes; the Wan 3.0 Spicy companion provides relaxed-moderation endpoints.

84
Nov 26, 2026
RepositoryJavaScript
LearnPrompt/awesome-seedance

🎬 Evidence-led Seedance 2.5 / 2.0 prompt library: 1000+ cases traced to original posts, 490+ cross-model retest runs, 27 copy-ready templates, 80+ installable AI-video Skills. Synced daily from goodcase.ai. EN / 中文 / 日本語.

2.7k
Nov 30, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

147.3k
Dec 1, 2026
RepositoryPython
Anil-matcha/Flux-3-Dev-API

Python wrapper for Black Forest Labs' FLUX 3 Dev API, available now — fast, low-cost FLUX 3 variant, plus the full FLUX 3 family (Text-to-Image, Image-to-Image, Text-to-Video, Image-to-Video).

183
Oct 19, 2026
RepositoryPython
d3qqcegqn5bf1aco/seedance2.5-seedance-2.5-gateway

seedance-2.5 API (seedance2.5 / seedance 2.5): from $0.0961 per second (480P) through one gateway key. Model id, gateway settings, curl and Python examples over an OpenAI-compatibl

86
Oct 13, 2026