본문으로 건너뛰기
cccskills
무료GitHub에 공개

byted-ind-ecom-prompt-to-video

使用 Seedance 2.0 根据提示词与参考素材生成视频。用户要把文本/参考图/参考视频变成视频时使用。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(5)

  • SKILL.md2.5 KB
  • requirements.txt59 B
  • scripts/config.py707 B
  • scripts/generate.py9.5 KB
  • scripts/tos_client.py2.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Seedance 2.0 文生视频/参考生成视频(byted-ind-ecom-prompt-to-video)

本 skill 用于调用火山方舟上的 Seedance 2.0 视频生成能力,支持:

  • 文生视频(仅 prompt)
  • 图生视频(首帧/首尾帧)
  • 多参考生成(参考图片最多 9 张、参考视频最多 3 个)

使用方式

在 skill 目录下执行 scripts/generate.py。

参数

  • --prompt:视频文本提示词
  • --first_frame:首帧图片(URL 或本地路径)
  • --last_frame:尾帧图片(URL 或本地路径)
  • --reference_images:参考图片(URL 或本地路径,最多 9 张)
  • --reference_videos:参考视频(URL 或本地路径,最多 3 个)
  • --resolution:分辨率(如 720p、1080p)
  • --ratio:画幅(如 16:9、9:16、1:1、adaptive)
  • --duration:时长(秒)

示例

文生视频:

python3 scripts/generate.py --prompt "A cute cat playing with a ball of yarn in a sunny room" --ratio 16:9 --duration 5

图生视频(首帧):

python3 scripts/generate.py --prompt "The cat jumps" --first_frame "/path/to/cat.jpg" --ratio 16:9 --duration 5

多参考图片:

python3 scripts/generate.py --prompt "A scenic landscape" --reference_images "/path/to/img1.jpg" "/path/to/img2.jpg" --ratio 16:9

本地素材处理逻辑(重要)

  • 本地图片:
    • 在“可用 TOS”时会先上传到 TOS,再使用公网 URL 参与生成。
    • 若无可用 TOS,则自动转为 data:<mime>;base64,... 形式提交。
  • 本地参考视频:建议直接提供公网 URL;如提供本地视频,需要可用 TOS 才能先上传转为公网 URL。
  • 视频输出:
    • 若可用 TOS,会尝试将生成视频转存到 TOS 并输出 TOS URL。
    • 否则直接返回模型原始视频 URL(通常有时效,建议尽快下载或转存)。

环境变量

最低必需:

  • ARK_API_KEY
  • SEEDANCE_EP_ID
  • ARK_BASE_URL(可选,默认 https://ark.cn-beijing.volces.com/api/v3)

如需启用 TOS 上传/转存:

  • VOLC_ACCESS_KEY
  • VOLC_SECRET_KEY
  • TOS_ENDPOINT
  • TOS_REGION
  • TOS_BUCKET
  • TOS_UPLOAD_ENABLED(可选,默认 true)

输出

脚本会轮询任务直到结束,并在终端输出:

  • Final Video URL: <url>

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Deploy, update, validate, and troubleshoot the AgentKit hybrid-cloud customer-service demo in this directory. Use when a user asks an AI coding agent to follow the README, deploy or update the demo, configure OpenAPI/Runtime/Knowledge/Memory/Sandbox/MCP/Skills/A2A, run customer-view validation, or record manual platform steps and failures.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 22일 업데이트

Generate deterministic SVG algorithmic artwork. Invoke when the user asks for geometric, generative, or algorithmic visual art.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 22일 업데이트

通过本地 Python CLI 和 OpenAPI 客户端管理、排查火山云手机资源。适用于查询实例和资源、截图、执行命令、查看任务、检查应用、主机和机房容量、标签、DNS、路由,以及操作已授权的测试云手机实例。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 22일 업데이트

Launch and continue the Volcengine AI Research survey workflow for concept testing, audience design, questionnaire drafting, interview guide generation, execution confirmation, progress checks, and result queries. Use this skill when the user wants to create, revise, confirm, execute, or follow up on a real AI research survey task in ABCompass instead of doing generic brainstorming, copywriting, translation, summarization, or broad market discussion.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 22일 업데이트

Create and check long-running video material evaluation tasks. Use this skill when the user wants to submit videos for evaluation, check an existing video evaluation task list, or fetch the result of a previously created video evaluation task. This skill is not a general-purpose video upload skill because upload is allowed only as an internal step of task creation. Authentication uses an API key passed as an Authorization bearer token.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 22일 업데이트

火山引擎 AntiDDoSPro 高防域名只读巡检。用户要查域名健康、攻击、流量、CC/WAF/区域封禁、智能防护或 CCAI 状态时使用。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 22일 업데이트

bytedance의 스킬 모두 보기

이 스킬의 문제 신고