İçeriğe geç

Kling O1 Reference Video to Video [Pro]

Entegre et

Model kimliği kling-video/o1/video-to-video/reference
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/kling-video/o1/video-to-video/reference?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Bu istek: $0,84 840 API kredisi Bu sayfada çalıştır

API anahtarı al
Kling Videodan Videoya Referans girdileri3–10 s

İsteğe bağlı ses korumayla referans klip yönlendirmesinde yeni çekim oluşturan Pro katman videodan videoya model

Doitong'ta oluşturuldu

Doitong topluluğunun Kling O1 ile oluşturduğu herkese açık çalışmalar. Bir istemi tek tıklamayla yeniden kullanın.

Gösterilen herkese açık çalışma sayısı: 16
**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Моя первая глобальная цель — 10.000 подписчиков. Я хочу расти вместе с вами, делать сериалы ещё к... Video

Моя первая глобальная цель — 10.000 подписчиков. Я хочу расти вместе с вами, делать сериалы ещё круче, масштабнее и в итоге превратить это в полноценный проект, чтобы в дальнейшем монетизировать свой блог. Путь к первой десятке объявляю открытым. Идём со мной? Мне нужно такое видео в трёх кадрах...

Оживи старую чёрно-белую свадебную фотографию. Молодожёны стоят рядом друг с другом. Жених нежно ... Video

Оживи старую чёрно-белую свадебную фотографию. Молодожёны стоят рядом друг с другом. Жених нежно и с любовью смотрит на невесту, слегка улыбается и бережно касается её руки. Невеста мягко улыбается, немного поворачивает голову к жениху и смотрит на него с теплотой. Их движения естественные,...

The woman in the reference photo smiles naturally at the camera. Golden magical sparks begin swir... Video

The woman in the reference photo smiles naturally at the camera. Golden magical sparks begin swirling around her body. Her eyes briefly glow with warm golden light. A beautiful black witch hat appears on her head, and her clothes magically transform into an elegant black-and-gold witch costume...

Кролик открывает дверь девушке, девушка дает чаевые кролику и говорит « спасибо, мой ушастый друг... Video

Кролик открывает дверь девушке, девушка дает чаевые кролику и говорит « спасибо, мой ушастый друг», он закрывает за ней дверь и говорит «Пожалуйста, красотка» после того как она села в машину за руль, кролик немного отходит, девушка в дрифте уезжает, все в одной сцене. Съемка кинематографичная....

İstek oluştur

Kontroller model şemasından oluşturulur. Değerleri değiştirdikçe kod ve fiyat güncellenir.

•gerekli 88 / 2500

Sıralı referanslarda öğeler için @Element1, @Element2 ve devamı; görseller için @Image1, @Image2 ve devamı kullanılır.

•gerekli video_url
Dosyayı bırakın veya

200MB'tan büyük olmayan .mp4 veya .mov biçimindeki referans videoya işaret eden URL. Her iki boyut 720px ile 2160px arasında, kare hızı 24.0–60.0 FPS ve süre 3–10 saniye (en fazla 10.05 saniye) olmalıdır. Zaman aşımı 30.0 saniyedir.

duration 5 s

Saniye cinsinden video uzunluğu.

aspect_ratio varsayılan auto

Üretilen videodaki karelerin genişlik-yükseklik oranı. 'auto' seçildiğinde, girdi videosunun oranına en yakın oran otomatik olarak seçilir.

Gelişmiş images · enable_safety_checker · keep_audio · elements
image_urls
Dosyayı bırakın veya

Stili veya görünümü yönlendiren ve istemde @Image1, @Image2 ve devamı ile belirtilen görseller. Video girdisiyle öğeler ve referans görsellerinin toplamı 4 girişi aşamaz. Her dosya 50 MB ile sınırlıdır; genişlik ve yükseklik en az 300 px olmalı, en-boy oranı 0.40 ile 2.50 arasında bulunmalıdır.

Dahil edilecek ve istemde @Element1, @Element2 ve devamı ile belirtilen karakterler veya nesneler. Video girdisiyle öğeler ve referans görsellerinin toplamı 4 girişi aşamaz.

POST /run/kling-video/o1/video-to-video/reference?wait=20 fiyat → $0,84
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/kling-video/o1/video-to-video/reference?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Bu isteği çalıştır

Anahtarınız bu tarayıcıda kalır: yalnızca Doitong API'ye gönderilir ve yalnızca Hatırla seçeneğini işaretlerseniz localStorage'a kaydedilir. API anahtarı al

Kling O1 Reference Video to Video [Pro] hakkında

`video_url` içinde bir referans video (mp4 veya mov, 3-10 saniye, 720-2160 px, en fazla 200MB) ve en fazla 2500 karakterlik bir `prompt` alır. Stil görüntüleri ve `elements` eklenebilir; toplam sayı 4'tür ve @Image1 veya @Element1 olarak belirtilir. Kaynak sesini korumak için `keep_audio` değerini ayarlayın. En-boy oranı auto, 16:9, 9:16 veya 1:1 olabilir; süre 3-10 saniyedir.

Parametreler

Kanonik adı veya yerel adı gönderin; ikisini birden göndermeyin. Kanonik adlar

AdTür Varsayılanİzin verilen Açıklama
enable_safety_checkeristeğe bağlı
Türboolean
Varsayılantrue
Güvenlik kontrolleri yalnızca hesap yetkilendirmesiyle devre dışı bırakılabilir; yetkilendirme içermeyen istekler her zaman kontrolden geçirilir.
promptgerekli
Türstring
≤ 2.500 karakter
Sıralı referanslarda öğeler için @Element1, @Element2 ve devamı; görseller için @Image1, @Image2 ve devamı kullanılır.
video_urlgerekli video
Türurl · video
200MB'tan büyük olmayan .mp4 veya .mov biçimindeki referans videoya işaret eden URL. Her iki boyut 720px ile 2160px arasında, kare hızı 24.0–60.0 FPS ve süre 3–10 saniye (en fazla 10.05 saniye) olmalıdır. Zaman aşımı 30.0 saniyedir.
keep_audioisteğe bağlı
Türboolean
Varsayılanfalse
Videonun özgün sesinin korunup korunmayacağını denetler.
image_urlsisteğe bağlı images
Türurl[] · image
Stili veya görünümü yönlendiren ve istemde @Image1, @Image2 ve devamı ile belirtilen görseller. Video girdisiyle öğeler ve referans görsellerinin toplamı 4 girişi aşamaz. Her dosya 50 MB ile sınırlıdır; genişlik ve yükseklik en az 300 px olmalı, en-boy oranı 0.40 ile 2.50 arasında bulunmalıdır.
elementsisteğe bağlı
Türobject[]
Dahil edilecek ve istemde @Element1, @Element2 ve devamı ile belirtilen karakterler veya nesneler. Video girdisiyle öğeler ve referans görsellerinin toplamı 4 girişi aşamaz.
elements[].frontal_image_urlgerekli
Türurl · image
Öğenin ana görünümünü sağlayan önden görsel; 50 MB ile sınırlıdır. Genişlik ve yükseklik en az 300 px olmalı, en-boy oranı 0.40 ile 2.50 arasında bulunmalıdır. Zaman aşımı 20 saniyedir.
elements[].reference_image_urlsisteğe bağlı
Türurl[] · image
Farklı açıları gösteren 1–3 ek referans görseli sağlayın. Her görselin en-boy oranı 0.40 ile 2.50 arasında olmalı, her iki boyutu en az 300px ölçmeli ve boyutu 50.0MB'ı aşmamalıdır.
aspect_ratioisteğe bağlı
Türenum
Varsayılanauto
auto16:99:161:1
Üretilen videodaki karelerin genişlik-yükseklik oranı. 'auto' seçildiğinde, girdi videosunun oranına en yakın oran otomatik olarak seçilir.
durationisteğe bağlı
Türenum
Varsayılan5
345678910
Saniye cinsinden video uzunluğu.
gerekli Kanonik ad, bu ad da kabul edilir

Dosya parametreleri herkese açık bir https:// URL'si, 10 MB'a kadar bir data: URI'si veya yüklenen bir dosyanın file_url değerini kabul eder. Dosyalar

Çıktı

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o1/video-to-video/reference",
  "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": 840,
    "usd": "0.84",
    "charged": 840,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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
    }
  },
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Dosyalarınız, seçiminizHer outputs[].url, depolamamızdaki bir kopyadır: sonsuza kadar (GB-ay başına ücretli) veya ücretsiz olarak 7 gün boyunca, hesap ayarınızla ya da ?storage= ile saklanır.
Her modelde aynı yapıGörüntüler, video ve ses için type, url, content_type, width, height ve duration aynıdır. output, modelin kendi sonuç nesnesidir.
Çıktı alanları
video
object {url, content_type, file_name, file_size}Model tarafından üretilen video.

Daha fazla model: Videodan Videoya

AI aracıları için: bu sayfanın Markdown biçimi şurada: https://doitong.com/tr/developers/models/kling-video/o1/video-to-video/reference.md. Tüm modeller ve kılavuzlar: https://doitong.com/developers/llms.txt