Communitygithub.com

NeverSight/learn-skills.dev

通过AceDataCloud API调用字节跳动的Seedance模型生成AI视频。适用于从文本提示创建视频、将图像动画化为动态视频,或驱动Seedance 2.0多模态生成(支持真人/角色图像参考、参考音频和视频)。支持多种模型,可配置分辨率(高达4k)、宽高比、时长以及可选音频生成。

learn-skills.dev 是什么?

该技能通过AceDataCloud平台提供的Seedance(字节跳动)API,使开发者能够生成AI舞蹈与运动视频。它支持多种工作流:文本转视频、图像转视频、首帧+尾帧动画、以及Seedance 2.0独有的多模态参考(真人/角色图像、音频、视频)。用户可以选择不同的模型(如Seedance 2.0高性能版、快速版、轻量版以及1.x系列),并精细控制分辨率(最高4k)、宽高比、时长、帧数、种子、摄像机固定、水印等参数。技能还提供了内联参数语法,允许在提示文本中直接指定参数,简化调用。该技能适用于Claude Code、Cursor等AI代理工具,通过详细的SKILL.md文档指导开发者快速集成。关键特性包括异步任务轮询、MCP服务器支持(通过pip install mcp-seedance或托管端点),并重点提醒了模型命名约定、内容数组用法以及各项参数的限制与陷阱(如分辨率支持范围、状态码等)。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/NeverSight/learn-skills.dev/tree/HEAD/data/skills-md/acedatacloud/skills/seedance-video

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Seedance 视频生成

通过AceDataCloud的Seedance(字节跳动)API生成AI舞蹈和运动视频。

设置: 请参阅 authentication 了解令牌设置。

快速开始

curl -X POST https://api.acedata.cloud/seedance/videos \
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model": "doubao-seedance-2-0-260128", "content": [{"type": "text", "text": "a dancer performing contemporary ballet in a misty forest"}], "callback_url": "https://api.acedata.cloud/health"}'

异步: 请参阅 async task polling。通过 POST /seedance/tasks 并携带 {"id": "..."} 进行轮询。 此接口会立即返回一个任务ID。轮询获取结果:

curl -X POST https://api.acedata.cloud/seedance/tasks \
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"id": "<来自上述请求的task_id>"}'

模型

Seedance 2.0(当前代次——多模态参考)

2.0系列增加了多模态参考输入:真人/角色图像参考、参考音频和参考视频(参见下方的工作流)。

模型最佳用途最大分辨率
doubao-seedance-2-0-260128最高质量、真人/角色参考、4k输出4k
doubao-seedance-2-0-fast-260128更快的2.0生成720p
doubao-seedance-2-0-mini-260615轻量级/最具成本效益的2.0720p

Seedance 1.x

模型类型最佳用途
doubao-seedance-1-5-pro-251215文本+图像转视频1.5旗舰版本,支持音频
doubao-seedance-1-0-pro-250528文本+图像转视频通用,质量可靠
doubao-seedance-1-0-pro-fast-251015文本+图像转视频更快的Pro生成
doubao-seedance-1-0-lite-t2v-250428仅文本转视频轻量级文本转视频
doubao-seedance-1-0-lite-i2v-250428仅图像转视频轻量级图像转视频

工作流

1. 文本转视频

在 content 数组中传递一个文本内容项。

POST /seedance/videos
{
  "model": "doubao-seedance-1-0-pro-250528",
  "content": [
    {"type": "text", "text": "a street dancer doing breakdancing moves in an urban setting"}
  ],
  "resolution": "1080p",
  "ratio": "16:9",
  "duration": 5
}

2. 图像转视频

在文本旁边包含一个图像内容项(可选的 role)。

POST /seedance/videos
{
  "model": "doubao-seedance-1-5-pro-251215",
  "content": [
    {"type": "text", "text": "the person starts dancing gracefully"},
    {
      "type": "image_url",
      "role": "first_frame",
      "image_url": {"url": "https://example.com/dancer.jpg"}
    }
  ],
  "resolution": "720p",
  "duration": 5
}

图像角色:

  • first_frame — 图像用作开场帧
  • last_frame — 图像用作闭幕帧
  • reference_image — 图像用作风格/主题/真人参考(Seedance 2.0保持参考人物或角色一致)

参考媒体(仅限Seedance 2.0):

  • audio_url — 用于音色/背景音乐的参考音频(无 role)
  • video_url — 用于主题、摄像机运动、动作或整体风格的参考视频(无 role)

3. 首帧+尾帧

同时提供开始帧和结束帧图像:

POST /seedance/videos
{
  "model": "doubao-seedance-2-0-260128",
  "content": [
    {"type": "text", "text": "smooth transition between two scenes"},
    {"type": "image_url", "role": "first_frame", "image_url": {"url": "https://example.com/start.jpg"}},
    {"type": "image_url", "role": "last_frame", "image_url": {"url": "https://example.com/end.jpg"}}
  ]
}

4. 真人/角色参考(Seedance 2.0)

Seedance 2.0模型(doubao-seedance-2-0-260128、doubao-seedance-2-0-fast-260128、doubao-seedance-2-0-mini-260615)可以在全新场景中保持特定人物或角色一致。将一张或多张照片作为 image_url 项传递,并设置 role: "reference_image" —— 模型会保持该主题的外观。最多可接受9张参考图像。

POST /seedance/videos
{
  "model": "doubao-seedance-2-0-260128",
  "content": [
    {"type": "text", "text": "the same person walking through a neon-lit night market, cinematic"},
    {"type": "image_url", "role": "reference_image", "image_url": {"url": "https://example.com/person.jpg"}}
  ],
  "resolution": "1080p",
  "duration": 8
}

5. 参考音频/视频(Seedance 2.0)

2.0模型还接受参考音频(音色、背景音乐)和参考视频(主题内容、摄像机运动、动作、整体风格)。添加 audio_url 和/或 video_url 内容项。限制:每个请求最多3个音频和3个视频参考。

POST /seedance/videos
{
  "model": "doubao-seedance-2-0-260128",
  "content": [
    {"type": "text", "text": "a singer performing on stage, matching the reference voice and motion"},
    {"type": "image_url", "role": "reference_image", "image_url": {"url": "https://example.com/person.jpg"}},
    {"type": "audio_url", "audio_url": {"url": "https://example.com/voice.mp3"}},
    {"type": "video_url", "video_url": {"url": "https://example.com/motion.mp4"}}
  ],
  "generate_audio": true
}

参数

参数值描述
model见模型表要使用的模型(必填)
content数组输入项:text、image_url、audio_url(2.0版)、video_url(2.0版)(必填)
resolution"480p"、"720p"、"1080p"、"4k"输出分辨率。4k 仅适用于 doubao-seedance-2-0-260128(标准版);2-0-fast / 2-0-mini 最高仅支持 720p(默认值:pro/2.0 为720p,lite 为480p)
ratio"16:9"、"4:3"、"1:1"、"3:4"、"9:16"、"21:9"、"adaptive"宽高比(默认值:16:9)
duration2 – 15时长(秒)(Seedance 2.0支持4–15秒)
frames29–361(必须满足 25+4n)帧数——与 duration 互斥
seed-1 到 4294967295用于可重复结果的种子(-1 = 随机)
generate_audiotrue / false生成音频(由 doubao-seedance-1-5-pro-251215 和 doubao-seedance-2-0 系列支持;其他模型忽略)
camerafixedtrue / false生成时固定摄像机位置
watermarktrue / false为生成的视频添加水印
return_last_frametrue / false返回生成视频的最后一帧
service_tier"default"、"flex"处理层(默认值:default)
execution_expires_after数字任务超时阈值(秒)

内联参数语法

你也可以直接在文本提示中使用 --param value 语法嵌入生成参数:

A kitten yawning at the camera. --rs 720p --rt 16:9 --dur 5 --fps 24 --seed 42

支持的内联参数:--rs(分辨率)、--rt(宽高比)、--dur(时长)、--frames、--fps(仅24)、--seed、--cf(camera_fixed)、--wm(水印)。

注意事项

  • 模型名称使用 doubao-* 约定(例如 doubao-seedance-1-0-pro-250528)——旧的短名称如 seedance-1.0 无效
  • content 数组取代了旧的 prompt + image_url 字段;始终使用 content
  • 每个内容项中图像和文本场景是互斥的——每个项要么有 text,要么有 image_url,不能同时存在
  • first_frame 和 last_frame 可以在一个请求中组合,但 reference_image 与 first_frame / last_frame 互斥——不要将参考图像与首帧/尾帧混合
  • generate_audio: true 由 doubao-seedance-1-5-pro-251215 和 doubao-seedance-2-0 系列支持;其他模型忽略此字段
  • Lite模型已拆分:*-lite-t2v-* 仅接受文本,*-lite-i2v-* 仅接受图像转视频
  • audio_url 和 video_url 参考项仅由 Seedance 2.0系列使用
  • 分辨率选项为 480p、720p、1080p 和 4k(4k 仅适用于 doubao-seedance-2-0-260128;2-0-fast / 2-0-mini 最高仅支持 720p)——没有360p或540p
  • service_tier 的值为 "default" 和 "flex"(不是 "standard" / "premium")
  • 时长范围为 2–15秒(Seedance 2.0支持4–15秒)——超出此范围的值将失败
  • 任务状态使用 "succeeded"(不是 "completed")——轮询时检查此值

MCP: pip install mcp-seedance | 托管:https://seedance.mcp.acedata.cloud/mcp | 请参阅 所有MCP服务器

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

NeverSight/learn-skills.dev

Use when generating or modifying Remotion video code, creating demo videos, or working with the demo-video/ directory

NeverSight/learn-skills.dev

Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc

NeverSight/learn-skills.dev

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

NeverSight/learn-skills.dev

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

NeverSight/learn-skills.dev

ElevenLabs automatic dubbing - translate and dub audio/video into 29 languages while preserving speaker voice via inference.sh CLI. Capabilities: auto speaker detection, voice-preserving translation, video dubbing, audio localization. Use for: content localization, video translation, multilingual content, international distribution. Triggers: dubbing, dub video, translate audio, video translation, audio translation, localize content, elevenlabs dubbing, eleven labs dub, multilingual dub, voice translation, auto dub, language dub, content localization

NeverSight/learn-skills.dev

Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline

NeverSight/learn-skills.dev

Still-to-video conversion guide: model selection, motion prompting, and camera movement. Covers Wan 2.5 i2v, Seedance, Fabric, Grok Video with when to use each. Use for: animating images, creating video from stills, adding motion, product animations. Triggers: image to video, i2v, animate image, still to video, add motion to image, image animation, photo to video, animate still, wan i2v, image2video, bring image to life, animate photo, motion from image

NeverSight/learn-skills.dev

Generate talking head avatar videos with Pruna P-Video-Avatar via inference.sh CLI. Turn a portrait image into a realistic speaking video with built-in TTS. 18x faster and 6x cheaper than competitors. Models: P-Video-Avatar, P-Image (for portrait generation). Capabilities: text-to-avatar, audio-driven avatars, 30 voices, 10 languages, 720p/1080p, built-in TTS, dynamic backgrounds, full-body control. Use for: AI presenters, product demos, explainer videos, virtual influencers, marketing, education, multilingual content, UGC, gaming avatars. Triggers: avatar video, talking head, ai avatar, p-video-avatar, pruna avatar, video avatar, ai presenter, digital human, virtual presenter, lipsync, talking avatar, ai spokesperson, heygen alternative, synthesia alternative, veed alternative, fabric alternative, omnihuman alternative

NeverSight/learn-skills.dev

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

NeverSight/learn-skills.dev

Render videos from React/Remotion component code via inference.sh. Pass TSX code, get MP4. Supports all Remotion APIs: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Configurable resolution, FPS, duration, codec. Use for: programmatic video generation, animated graphics, motion design, data-driven videos, React animations to video. Triggers: remotion, render video from code, tsx to video, react video, programmatic video, remotion render, code to video, animated video, motion graphics code, react animation video

NeverSight/learn-skills.dev

Video ad creation with exact platform-specific specs for TikTok, Instagram, YouTube, Facebook, LinkedIn. Covers dimensions, duration limits, AIDA framework, and caption requirements. Use for: video ads, social media ads, paid media creative, video marketing, ad production. Triggers: video ad, social media ad, tiktok ad, instagram ad, youtube ad, facebook ad, linkedin ad, video creative, ad specs, paid media, video marketing, ad production, reels ad, stories ad, pre roll, bumper ad

NeverSight/learn-skills.dev

Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts

NeverSight/learn-skills.dev

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

NeverSight/learn-skills.dev

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

NeverSight/learn-skills.dev

Configure and use the hosted YouTube Data MCP end-to-end with minimal user input. Use when users want the agent to verify Node.js and `npx`, configure MCP server config (Windows/macOS, Cursor/Codex/OpenClaw/OpenCode), request API key at setup time, run post-install capability discovery (`tools/list` and `get_patch_notes`), and then strongly recommend helper skill and Python setup for full local document and spreadsheet workflows.

NeverSight/learn-skills.dev

Creates 120fps GPU-accelerated animations with Motion.dev (Framer Motion successor) for React, Next.js, Svelte, and Astro projects. Use when user requests animation, motion, scroll effects, parallax, hero animations, gestures, drag interactions, spring physics, whileHover effects, whileInView animations, animated UI, micro-interactions, page transitions, or layout animations. Generates production TypeScript/JSX code with accessibility (prefers-reduced-motion) and performance validation (≥60fps). Supports entrance animations, gesture interactions (hover/tap/drag), scroll-based reveals, and layout transitions using spring physics and natural timing. Do NOT use for CSS-only transitions (use native CSS), static sites without JavaScript, Vue animations (use motion-v variant instead), or SVG/Canvas complex animations (GSAP better suited).

NeverSight/learn-skills.dev

Static artifact craft skill for self-contained HTML/CSS/JS documents: docs, sheets, dashboards, explainers, slides, tools, and landing pages. Use when the user asks for a durable, openable, shareable web deliverable they'll keep or hand off — a report, a dashboard, a slide deck, a data table, a page. Local folder first, temporary public link via tunnel (localhost.run), optional durable publish to Surge, GitHub Pages, or Cloudflare. Not for quick look renders, inline snippets, or throwaway scratch. Not for SPA frameworks, backend APIs, database apps, or production product UI.

NeverSight/learn-skills.dev

FFmpeg commands for video/audio conversion, trimming, compression, and processing. Use when user mentions "ffmpeg", "convert video", "compress video", "extract audio", "trim video", "gif from video", "video codec", "transcode", "screen recording", "merge videos", "video to mp4", "reduce file size", or any media processing task.

NeverSight/learn-skills.dev

Vim keybindings, motions, text objects, and operators for efficient text editing. Use when user asks about "vim commands", "vim motions", "text objects", "vim keybindings", "vim cheat sheet", "learn vim", "vim in VS Code", or any Vim editing tasks.

NeverSight/learn-skills.dev

Grok Build ONLY. Turn a 2D character still into smooth animation sprites via image_gen/image_edit base → image_to_video (6s/10s run-in-place) → ffmpeg frames → magenta chroma-key → dense sampled sprites (strip/grid/GIF). Use when the user wants video-to-sprite, motion capture from generated video, smoother run/walk cycles from dense frames, or runs /video2dsprite. Do NOT use on Codex/Claude — only Grok Build has image_to_video. Prefer generate2dsprite for crisp pixel sheets without video.

相关技能