Bỏ qua đến nội dung

Seedance 2.0 Mini Text to Video

Tích hợp

Id mô hình bytedance/seedance-2.0/mini/text-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/bytedance/seedance-2.0/mini/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Yêu cầu này: 2,321 $ 2.321 tín dụng API · ≈ 249,07 ₽ Chạy trên trang này

Lấy khóa API
ByteDance Văn bản sang video Âm thanh gốcLipsync4–15 stối đa 720p #stylized#transform

Mini Seedance 2.0 text-to-video ở 480p hoặc 720p với âm thanh đồng bộ tùy chọn

Được tạo trên Doitong

Các tác phẩm công khai được cộng đồng Doitong tạo bằng Seedance 2.0. Tái sử dụng một lời nhắc chỉ với một lần nhấp.

Tác phẩm công khai được hiển thị: 16
A close-up portrait of a striking cyberpunk woman with sleek dark hair partially wet and falling ... Video

A close-up portrait of a striking cyberpunk woman with sleek dark hair partially wet and falling around her face. She’s wearing glossy, high-tech neon visor goggles with a vivid color gradient — bright yellow, orange, and pink reflecting glowing city lights. Her expression is confident and...

Ultra-realistic scene featuring miniature construction workers in orange vests and hard hats, act... Video

Ultra-realistic scene featuring miniature construction workers in orange vests and hard hats, actively working on a giant [pizza]. The tiny workers are using small tools, cranes, and machines to [assemble]. The [pizza] is placed on a metal surface or kitchen countertop. Steam or particles rise...

Two sandboarders racing down massive golden sand dunes, carving aggressively in wide S-curves, he... Video

Two sandboarders racing down massive golden sand dunes, carving aggressively in wide S-curves, heading directly toward the camera in a low, dramatic angle. They are captured in mid-motion, kicking up thick trails of sand behind their boards. Both riders wear full protective sandboarding suits in...

A high-fashion cinematic video scene in slow motion, set on a wide white desert with fine rippled... Video

A high-fashion cinematic video scene in slow motion, set on a wide white desert with fine rippled sand under a deep blue sky. A tall Black male model and a woman walk together in full-body view, directly toward the camera. The male model wears a dramatic flowing red trench coat, matching tailored...

A fashionable young woman with black hair, walking confidently down a modern city street. She is ... Video

A fashionable young woman with black hair, walking confidently down a modern city street. She is wearing stylish everyday fashion — a black turtleneck top, oversized gray blazer, and wide-leg black trousers with chunky black boots. Her outfit is monochrome, mostly black and gray, with minimalist...

Scene: On a large metal grill surface, miniature construction workers in orange safety vests and ... Video

Scene: On a large metal grill surface, miniature construction workers in orange safety vests and hard hats are preparing a giant steak. The raw meat, marbled and richly textured, rests across the hot grill. Some workers are spreading seasoning using tiny wheelbarrows filled with salt and pepper,...

Subject: Young woman with closed eyes Context: Surrounded by goldfish swimming in the air Action:... Video

Subject: Young woman with closed eyes Context: Surrounded by goldfish swimming in the air Action: Portraiture in a dreamy aesthetic Style: Ethereal, artistic, reminiscent of fine art photography Camera motion (optional): Composition (optional): Shallow depth of field Ambiance (optional): Soft...

photorealistic, live-action film, real actress, ARRI Alexa look, desaturated cold tones, soft nat... Video

photorealistic, live-action film, real actress, ARRI Alexa look, desaturated cold tones, soft natural lighting, subtle dust in air, volumetric haze, consistent city destruction young fragile woman, pale skin, long dark ash-blonde hair, slightly messy, dirty torn gray nightgown, barefoot, natural...

Tạo một yêu cầu

Các điều khiển được tạo từ lược đồ mô hình. Mã và giá sẽ cập nhật khi bạn thay đổi chúng.

•bắt buộc

Lời nhắc văn bản định hướng việc tạo video.

duration auto

Lựa chọn thời lượng video: `auto` giao quyền lựa chọn cho mô hình dựa trên lời nhắc, còn thời lượng chỉ định phải từ 4 đến 15 giây.

resolution mặc định 720p

Độ phân giải đầu ra: 480p ưu tiên tốc độ tạo, còn 720p mang lại lựa chọn cân bằng.

aspect_ratio mặc định auto

Tỷ lệ khung hình đầu ra: 16:9 cho khung hình ngang, 9:16 cho khung hình dọc, 1:1 cho hình vuông và 21:9 cho khung hình siêu rộng điện ảnh. Chọn `auto` để mô hình chọn tỷ lệ.

Nâng cao codec · end_user_id
codec mặc định auto

Lựa chọn codec video: `auto` giữ nguyên hành vi codec mặc định, `H264` chọn H.264 và `H265` chọn H.265.

Mã định danh duy nhất được gán cho người dùng cuối.

POST /run/bytedance/seedance-2.0/mini/text-to-video?wait=20 báo giá → 2,321 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/bytedance/seedance-2.0/mini/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Chạy yêu cầu này

Key của bạn vẫn nằm trong trình duyệt này: key chỉ được gửi đến Doitong API và chỉ được lưu trong localStorage nếu bạn chọn Ghi nhớ. Nhận khóa API

Giới thiệu về Seedance 2.0 Mini Text to Video

Tạo các đoạn video chỉ từ lời nhắc văn bản. Độ phân giải là 480p hoặc 720p, thời lượng là auto hoặc 4 đến 15 giây, và tỷ lệ khung hình nằm trong khoảng 21:9 đến 9:16 hoặc auto. Âm thanh kèm hiệu ứng và lời thoại được tạo mặc định và có thể tắt bằng `generate_audio`. Codec có thể đặt là H264 hoặc H265.

Tham số

TênKiểu Mặc địnhĐược phép Mô tả
promptbắt buộc
Kiểustring
Lời nhắc văn bản định hướng việc tạo video.
resolutiontùy chọn
Kiểuenum
Mặc định720p
480p720p
Độ phân giải đầu ra: 480p ưu tiên tốc độ tạo, còn 720p mang lại lựa chọn cân bằng.
durationtùy chọn
Kiểuenum
Mặc địnhauto
auto456789101112131415
Lựa chọn thời lượng video: `auto` giao quyền lựa chọn cho mô hình dựa trên lời nhắc, còn thời lượng chỉ định phải từ 4 đến 15 giây.
aspect_ratiotùy chọn
Kiểuenum
Mặc địnhauto
auto21:916:94:31:13:49:16
Tỷ lệ khung hình đầu ra: 16:9 cho khung hình ngang, 9:16 cho khung hình dọc, 1:1 cho hình vuông và 21:9 cho khung hình siêu rộng điện ảnh. Chọn `auto` để mô hình chọn tỷ lệ.
generate_audiotùy chọn
Kiểuboolean
Mặc địnhtrue
Bật tùy chọn này để kèm âm thanh đồng bộ với video. Âm thanh được tạo bao gồm lời nói khớp với chuyển động môi, âm thanh môi trường và hiệu ứng âm thanh.
codectùy chọn
Kiểuenum
Mặc địnhauto
autoH264H265
Lựa chọn codec video: `auto` giữ nguyên hành vi codec mặc định, `H264` chọn H.264 và `H265` chọn H.265.
end_user_idtùy chọn
Kiểustring | null
Mã định danh duy nhất được gán cho người dùng cuối.
bắt buộc

Đầu ra

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedance-2.0/mini/text-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 2321,
    "usd": "2.321",
    "charged": 2321,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "seed": 42
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tệp của bạn, lựa chọn của bạnMỗi outputs[].url là một bản sao trên bộ lưu trữ của chúng tôi: được giữ vĩnh viễn (tính phí theo GB-tháng) hoặc 7 ngày miễn phí, theo cài đặt tài khoản hoặc ?storage=.
Cùng một cấu trúc trên mọi mô hìnhtype, url, content_type, width, height và duration cho hình ảnh, video và âm thanh. output là đối tượng kết quả riêng của mô hình.
Các trường đầu ra
video
object {url, content_type, file_name, file_size}Tệp video được tạo sinh.
seed
integerGiá trị seed được áp dụng trong quá trình tạo sinh.

Thêm mô hình: Văn bản sang video

Dành cho tác nhân AI: trang này ở dạng Markdown tại https://doitong.com/vi/developers/models/bytedance/seedance-2.0/mini/text-to-video.md. Tất cả mô hình và hướng dẫn: https://doitong.com/developers/llms.txt