Bỏ qua đến nội dung

LongCat Video Distilled · Image to Video · 480p

Tích hợp

Id mô hình longcat-video/distilled/image-to-video/480p
# 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/longcat-video/distilled/image-to-video/480p?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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"

Các tệp như ví dụ: 0,054 $ 54 tín dụng API · ≈ 5,80 ₽ tệp của bạn được đo trước khi chạy Chạy trên trang này

Lấy khóa API
Meituan · Video

Kết quả đầu tiên của bạn sẽ xuất hiện ở đây

Tạo một yêu cầu bên dưới và chạy bằng khóa API của bạn. Đầu ra được sao chép vào bộ lưu trữ của chúng tôi, giữ vĩnh viễn hoặc 7 ngày miễn phí.

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.

mặc định First-person view fro...

Lời nhắc định hướng việc tạo sinh video.

•bắt buộc image_url
Thả tệp hoặc

URL hình ảnh nguồn để tạo sinh video.

mặc định 162

Số khung hình của đầu ra được tạo sinh.

Nâng cao video_output_type · video_quality · video_write_mode · num_inference_steps · fps · seed · enable_prompt_expansion · enable_safety_checker
video_output_type mặc định X264 (.mp4)

Loại đầu ra của video kết quả.

video_quality mặc định high

Mức chất lượng của video kết quả.

video_write_mode mặc định balanced

Chế độ ghi của video kết quả.

mặc định 12

Số bước suy luận đã thực hiện.

mặc định 15

Tốc độ khung hình của video đầu ra.

Giá trị seed khởi tạo quá trình tạo số ngẫu nhiên.

POST /run/longcat-video/distilled/image-to-video/480p?wait=20 báo giá → 0,054 $
# 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/longcat-video/distilled/image-to-video/480p?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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ề LongCat Video Distilled · Image to Video · 480p

Phiên bản chưng cất tạo chuyển động cho hình ảnh với ít bước hơn nhiều: `num_inference_steps` mặc định là 12 và nằm trong khoảng từ 2 đến 16. `num_frames` nằm trong khoảng từ 17 đến 961 (mặc định 162), mặc định ở 15 fps. Không có lời nhắc phủ định hoặc thiết lập hướng dẫn. Định dạng đầu ra là mp4, webm, ProRes mov hoặc GIF.

Tham số

Gửi tên chuẩn hoặc tên gốc, không gửi cả hai. Tên chuẩn

TênKiểu Mặc địnhĐược phép Mô tả
image_urlbắt buộc image
Kiểuurl · image
URL hình ảnh nguồn để tạo sinh video.
prompttùy chọn
Kiểustring
Mặc địnhFirst-person view from the cockpit of a Formula 1 car. The driver's gloved hands firmly grip the intricate, carbon-fiber steering wheel adorned with numerous colorful buttons and a vibrant digital display showing race data. Beyond the windshield, a sun-drenched racetrack stretches ahead, lined with cheering spectators in the grandstands. Several rival cars are visible in the distance, creating a dynamic sense of competition. The sky above is a clear, brilliant blue, reflecting the exhilarating atmosphere of a high-speed race. high resolution 4k
Lời nhắc định hướng việc tạo sinh video.
num_framestùy chọn
Kiểuinteger
Mặc định162
17 – 961
Số khung hình của đầu ra được tạo sinh.
num_inference_stepstùy chọn
Kiểuinteger
Mặc định12
2 – 16
Số bước suy luận đã thực hiện.
fpstùy chọn
Kiểuinteger
Mặc định15
1 – 60
Tốc độ khung hình của video đầu ra.
seedtùy chọn
Kiểuinteger | null
Giá trị seed khởi tạo quá trình tạo số ngẫu nhiên.
enable_prompt_expansiontùy chọn
Kiểuboolean
Mặc địnhfalse
Kiểm soát việc bật mở rộng lời nhắc.
enable_safety_checkertùy chọn
Kiểuboolean
Mặc địnhtrue
Công tắc kiểm tra an toàn phụ thuộc quyền tài khoản: các yêu cầu không được ủy quyền vẫn bắt buộc kiểm tra và cần có ủy quyền để tắt.
video_output_typetùy chọn
Kiểuenum
Mặc địnhX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Loại đầu ra của video kết quả.
video_qualitytùy chọn
Kiểuenum
Mặc địnhhigh
lowmediumhighmaximum
Mức chất lượng của video kết quả.
video_write_modetùy chọn
Kiểuenum
Mặc địnhbalanced
fastbalancedsmall
Chế độ ghi của video kết quả.
bắt buộc Tên chuẩn, cũng được chấp nhận

Các tham số tệp nhận URL https:// công khai, URI data: tối đa 10 MB hoặc file_url của một tệp tải lên. Tệp

Đầu ra

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/distilled/image-to-video/480p",
  "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": 54,
    "usd": "0.054",
    "charged": 54,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "prompt": "First-person view from the cockpit of a Formula 1 car. The driver's gloved hands firmly grip the intricate, carbon-fiber steering wheel adorned with numerous colorful buttons and a vibrant digital display showing race data. Beyond the windshield, a sun-drenched racetrack stretches ahead, lined with cheering spectators in the grandstands. Several rival cars are visible in the distance, creating a dynamic sense of competition. The sky above is a clear, brilliant blue, reflecting the exhilarating atmosphere of a high-speed race. high resolution 4k",
    "seed": 42,
    "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
    }
  },
  "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
prompt
stringLời nhắc đã được dùng để tạo đầu ra.
seed
integerGiá trị seed được áp dụng trong quá trình tạo sinh.
video
object {url, content_type, file_name, file_size}Tệp video được tạo sinh.

Thêm mô hình: Hình ảnh sang video

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