Bỏ qua đến nội dung

Video Prompt Generator

Tích hợp

Id mô hình video-prompt-generator
# 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/video-prompt-generator?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input_concept": "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: 0,001 $ 1 tín dụng API · ≈ 0,11 ₽ Chạy trên trang này

Lấy khóa API
Utility LLM #motion#transformation#chat#claude

Viết lời nhắc tạo video từ một ý tưởng, với các tùy chọn về máy quay, nhịp độ và hiệu ứng

Utility · Dữ liệu (JSON)

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.

image_url
Thả tệp hoặc

Hình ảnh tùy chọn được cung cấp qua URL; nội dung được phân tích của hình ảnh sẽ trở thành một phần của lời nhắc video.

•bắt buộc

Ý tưởng hoặc chủ đề chính được dùng để tạo lời nhắc video.

Nâng cao prompt_length · style · camera_style · camera_direction · pacing · special_effects · custom_elements · model
prompt_length mặc định Medium

Độ dài lời nhắc mong muốn.

mặc định Simple

Phong cách áp dụng cho lời nhắc video.

mặc định None

Phong cách chuyển động camera.

mặc định None

Hướng chuyển động của camera.

mặc định None

Nhịp độ chuyển cảnh.

mặc định None

Cách tiếp cận được dùng cho hiệu ứng đặc biệt.

mặc định

Chi tiết kỹ thuật tùy chỉnh, không bắt buộc.

mặc định google/gemini-2.5-fla...

Mô hình được chọn để sử dụng.

POST /run/video-prompt-generator?wait=20 báo giá → 0,001 $
# 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/video-prompt-generator?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input_concept": "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ề Video Prompt Generator

Nhận một `input_concept` và xây dựng lời nhắc bằng `style`, `camera_style`, `camera_direction`, `pacing` và `special_effects` đã chọn. Bạn có thể thêm `custom_elements` hoặc `image_url`, chọn mô hình ngôn ngữ và đặt `prompt_length` thành Short, Medium hoặc Long. Trả về lời nhắc dưới dạng văn bản.

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ả
input_conceptbắt buộc
Kiểustring
Ý tưởng hoặc chủ đề chính được dùng để tạo lời nhắc video.
styletùy chọn
Kiểuenum
Mặc địnhSimple
MinimalistSimpleDetailedDescriptiveDynamicCinematicDocumentaryAnimationActionExperimental
Phong cách áp dụng cho lời nhắc video.
camera_styletùy chọn
Kiểuenum
Mặc địnhNone
NoneSteadicam flowDrone aerialsHandheld urgencyCrane eleganceDolly precisionVR 360Multi-angle rigStatic tripodGimbal smoothnessSlider motionJib sweepPOV immersionTime-slice arrayMacro extremeTilt-shift miniature
+5 giá trị khácSnorricam characterWhip pan dynamicsDutch angle tensionUnderwater housingPeriscope lens
Phong cách chuyển động camera.
camera_directiontùy chọn
Kiểuenum
Mặc địnhNone
NoneZoom inZoom outPan leftPan rightTilt upTilt downOrbital rotationPush inPull outTrack forwardTrack backwardSpiral inSpiral outArc movementDiagonal traverse
+2 giá trị khácVertical riseVertical descent
Hướng chuyển động của camera.
pacingtùy chọn
Kiểuenum
Mặc địnhNone
NoneSlow burnRhythmic pulseFrantic energyEbb and flowHypnotic driftTime-lapse rushStop-motion staccatoGradual buildQuick cut rhythmLong take meditationJump cut energyMatch cut flowCross-dissolve dreamscapeParallel actionSlow motion impact
+4 giá trị khácRamping dynamicsMontage tempoContinuous flowEpisodic breaks
Nhịp độ chuyển cảnh.
special_effectstùy chọn
Kiểuenum
Mặc địnhNone
NonePractical effectsCGI enhancementAnalog glitchesLight paintingProjection mappingNanosecond exposuresDouble exposureSmoke diffusionLens flare artistryParticle systemsHolographic overlayChromatic aberrationDigital distortionWire removalMotion capture
+5 giá trị khácMiniature integrationWeather simulationColor gradingMixed media compositeNeural style transfer
Cách tiếp cận được dùng cho hiệu ứng đặc biệt.
custom_elementstùy chọn
Kiểustring
Mặc định
Chi tiết kỹ thuật tùy chỉnh, không bắt buộc.
image_urltùy chọn image
Kiểuurl · image
Hình ảnh tùy chọn được cung cấp qua URL; nội dung được phân tích của hình ảnh sẽ trở thành một phần của lời nhắc video.
modeltùy chọn
Kiểuenum
Mặc địnhgoogle/gemini-2.5-flash-lite
anthropic/claude-3-haikugoogle/gemini-2.5-flashgoogle/gemini-2.5-flash-litemeta-llama/llama-3.1-8b-instructmeta-llama/llama-3.1-70b-instructopenai/gpt-4o-miniopenai/gpt-4o
Mô hình được chọn để sử dụng.
prompt_lengthtùy chọn
Kiểuenum
Mặc địnhMedium
ShortMediumLong
Độ dài lời nhắc mong muốn.
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": "video-prompt-generator",
  "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": 1,
    "usd": "0.001",
    "charged": 1,
    "refunded": 0
  },
  "input": {
    "input_concept": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "prompt": "A futuristic city glows softly at dusk, captured with smooth gimbal movements and a slow burn pacing, enhanced by subtle holographic overlays."
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "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 video do mô hình tạo ra.

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