ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Kling O1 Reference Image to Video [Pro]

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id kling-video/o1/reference-to-video
# 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/reference-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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ਇਹ ਬੇਨਤੀ: $0.56 560 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Kling ਹਵਾਲੇ ਤੋਂ ਵੀਡੀਓ ਹਵਾਲਾ ਇਨਪੁੱਟ3–10 s

Pro reference-to-video ਜੋ ਕਿਰਦਾਰਾਂ ਅਤੇ ਵਸਤੂਆਂ ਦੀ ਇਕਸਾਰਤਾ ਬਣਾਈ ਰੱਖਦਾ ਹੈ, 3 ਤੋਂ 10 ਸਕਿੰਟ, ਕੋਈ ਇਨਪੁਟ ਵੀਡੀਓ ਨਹੀਂ

Doitong ’ਤੇ ਬਣਾਇਆ ਗਿਆ

Doitong ਭਾਈਚਾਰੇ ਵੱਲੋਂ Kling O1 ਨਾਲ ਬਣਾਏ ਜਨਤਕ ਕੰਮ। ਇੱਕ ਕਲਿੱਕ ਨਾਲ ਪ੍ਰੌਮਪਟ ਦੁਬਾਰਾ ਵਰਤੋ।

ਦਿਖਾਏ ਗਏ ਜਨਤਕ ਕੰਮ: 16
**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ਵੀਡੀਓ

**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...

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

**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...

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

**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...

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... ਵੀਡੀਓ

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

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

**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...

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... ਵੀਡੀਓ

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... ਵੀਡੀਓ

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... ਵੀਡੀਓ

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ 88 / 2500

ਕ੍ਰਮਬੱਧ ਸੰਦਰਭਾਂ ਵਿੱਚ ਤੱਤਾਂ ਲਈ @Element1, @Element2 ਆਦਿ ਅਤੇ ਚਿੱਤਰਾਂ ਲਈ @Image1, @Image2 ਆਦਿ ਵਰਤੇ ਜਾਂਦੇ ਹਨ।

duration 5 s

ਸਕਿੰਟਾਂ ਵਿੱਚ ਮਾਪੀ ਵੀਡੀਓ ਦੀ ਲੰਬਾਈ।

aspect_ratio ਡਿਫ਼ਾਲਟ 16:9

ਸਿਰਜੇ ਗਏ ਵੀਡੀਓ ਦੇ ਫ੍ਰੇਮਾਂ ਲਈ ਚੌੜਾਈ-ਤੋਂ-ਉਚਾਈ ਅਨੁਪਾਤ।

ਉੱਨਤ images · enable_safety_checker · elements
image_urls
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਸ਼ੈਲੀ ਜਾਂ ਦਿੱਖ ਲਈ ਮਾਰਗਦਰਸ਼ਨ ਕਰਨ ਵਾਲੇ ਵਾਧੂ ਚਿੱਤਰ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਪ੍ਰੌਂਪਟ ਵਿੱਚ @Image1, @Image2 ਆਦਿ ਰਾਹੀਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ। ਤੱਤ, ਸੰਦਰਭ ਚਿੱਤਰ ਅਤੇ ਸ਼ੁਰੂਆਤੀ ਚਿੱਤਰ ਮਿਲਾ ਕੇ 7 ਐਂਟਰੀਆਂ ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋ ਸਕਦੇ। ਹਰ ਫ਼ਾਈਲ 50 MB ਤੱਕ ਸੀਮਿਤ ਹੈ; ਚੌੜਾਈ ਅਤੇ ਉਚਾਈ ਦੋਵੇਂ ਘੱਟੋ-ਘੱਟ 300 px ਅਤੇ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 0.40 ਤੋਂ 2.50 ਤੱਕ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।

ਵੀਡੀਓ ਵਿੱਚ ਦਿਖਾਏ ਜਾਣ ਵਾਲੇ ਪਾਤਰ ਜਾਂ ਵਸਤੂਆਂ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਪ੍ਰੌਂਪਟ ਵਿੱਚ @Element1, @Element2 ਆਦਿ ਰਾਹੀਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ। ਤੱਤ, ਸੰਦਰਭ ਚਿੱਤਰ ਅਤੇ ਸ਼ੁਰੂਆਤੀ ਚਿੱਤਰ ਮਿਲਾ ਕੇ 7 ਐਂਟਰੀਆਂ ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋ ਸਕਦੇ।

POST /run/kling-video/o1/reference-to-video?wait=20 ਕੋਟ → $0.56
# 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/reference-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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Kling O1 Reference Image to Video [Pro] ਬਾਰੇ

2500 ਅੱਖਰਾਂ ਤੱਕ ਦੇ ਲੋੜੀਂਦੇ `prompt` ਤੋਂ ਇੱਕ ਕਲਿੱਪ ਬਣਾਉਂਦਾ ਹੈ। ਦਿੱਤੇ `elements` ਨੂੰ @Element1 ਅਤੇ `image_urls` ਨੂੰ @Image1 ਵਜੋਂ ਦਰਸਾਓ; ਵੱਧ ਤੋਂ ਵੱਧ 7 ਐਲੀਮੈਂਟ ਅਤੇ ਹਵਾਲਾ ਚਿੱਤਰ ਜੋੜੇ ਜਾ ਸਕਦੇ ਹਨ। ਮਿਆਦ 3 ਤੋਂ 10 ਸਕਿੰਟ (ਪੂਰਵ-ਨਿਰਧਾਰਤ 5) ਹੈ ਅਤੇ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 16:9, 9:16 ਜਾਂ 1:1 ਹੈ।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਸੁਰੱਖਿਆ ਜਾਂਚਾਂ ਸਿਰਫ਼ ਖਾਤਾ ਅਧਿਕਾਰ ਨਾਲ ਅਸਮਰੱਥ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ; ਬਿਨਾਂ ਅਧਿਕਾਰ ਵਾਲੀਆਂ ਬੇਨਤੀਆਂ ਦੀ ਹਮੇਸ਼ਾ ਜਾਂਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ।
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
≤ 2,500 ਅੱਖਰ
ਕ੍ਰਮਬੱਧ ਸੰਦਰਭਾਂ ਵਿੱਚ ਤੱਤਾਂ ਲਈ @Element1, @Element2 ਆਦਿ ਅਤੇ ਚਿੱਤਰਾਂ ਲਈ @Image1, @Image2 ਆਦਿ ਵਰਤੇ ਜਾਂਦੇ ਹਨ।
image_urlsਵਿਕਲਪਿਕ images
ਕਿਸਮurl[] · image
ਸ਼ੈਲੀ ਜਾਂ ਦਿੱਖ ਲਈ ਮਾਰਗਦਰਸ਼ਨ ਕਰਨ ਵਾਲੇ ਵਾਧੂ ਚਿੱਤਰ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਪ੍ਰੌਂਪਟ ਵਿੱਚ @Image1, @Image2 ਆਦਿ ਰਾਹੀਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ। ਤੱਤ, ਸੰਦਰਭ ਚਿੱਤਰ ਅਤੇ ਸ਼ੁਰੂਆਤੀ ਚਿੱਤਰ ਮਿਲਾ ਕੇ 7 ਐਂਟਰੀਆਂ ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋ ਸਕਦੇ। ਹਰ ਫ਼ਾਈਲ 50 MB ਤੱਕ ਸੀਮਿਤ ਹੈ; ਚੌੜਾਈ ਅਤੇ ਉਚਾਈ ਦੋਵੇਂ ਘੱਟੋ-ਘੱਟ 300 px ਅਤੇ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 0.40 ਤੋਂ 2.50 ਤੱਕ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।
elementsਵਿਕਲਪਿਕ
ਕਿਸਮobject[]
ਵੀਡੀਓ ਵਿੱਚ ਦਿਖਾਏ ਜਾਣ ਵਾਲੇ ਪਾਤਰ ਜਾਂ ਵਸਤੂਆਂ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਪ੍ਰੌਂਪਟ ਵਿੱਚ @Element1, @Element2 ਆਦਿ ਰਾਹੀਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ। ਤੱਤ, ਸੰਦਰਭ ਚਿੱਤਰ ਅਤੇ ਸ਼ੁਰੂਆਤੀ ਚਿੱਤਰ ਮਿਲਾ ਕੇ 7 ਐਂਟਰੀਆਂ ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋ ਸਕਦੇ।
elements[].frontal_image_urlਲੋੜੀਂਦਾ
ਕਿਸਮurl · image
ਤੱਤ ਦਾ ਮੁੱਖ ਦ੍ਰਿਸ਼ ਪ੍ਰਦਾਨ ਕਰਨ ਵਾਲਾ ਸਾਹਮਣੇ ਤੋਂ ਲਿਆ ਚਿੱਤਰ, ਜੋ 50 MB ਤੱਕ ਸੀਮਿਤ ਹੈ। ਚੌੜਾਈ ਅਤੇ ਉਚਾਈ ਦੋਵੇਂ ਘੱਟੋ-ਘੱਟ 300 px ਅਤੇ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 0.40 ਤੋਂ 2.50 ਤੱਕ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ। ਟਾਈਮਆਉਟ 20 ਸਕਿੰਟ ਹੈ।
elements[].reference_image_urlsਵਿਕਲਪਿਕ
ਕਿਸਮurl[] · image
ਵੱਖ-ਵੱਖ ਕੋਣ ਦਿਖਾਉਣ ਵਾਲੇ 1–3 ਵਾਧੂ ਸੰਦਰਭ ਚਿੱਤਰ ਦਿਓ। ਹਰ ਚਿੱਤਰ ਦਾ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 0.40 ਤੋਂ 2.50 ਦੇ ਵਿਚਕਾਰ, ਦੋਵੇਂ ਮਾਪ ਘੱਟੋ-ਘੱਟ 300px ਅਤੇ ਆਕਾਰ 50.0MB ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋਣਾ ਚਾਹੀਦਾ।
durationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ5
345678910
ਸਕਿੰਟਾਂ ਵਿੱਚ ਮਾਪੀ ਵੀਡੀਓ ਦੀ ਲੰਬਾਈ।
aspect_ratioਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ16:9
16:99:161:1
ਸਿਰਜੇ ਗਏ ਵੀਡੀਓ ਦੇ ਫ੍ਰੇਮਾਂ ਲਈ ਚੌੜਾਈ-ਤੋਂ-ਉਚਾਈ ਅਨੁਪਾਤ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਫ਼ਾਈਲ ਪੈਰਾਮੀਟਰ ਜਨਤਕ https:// URL, 10 MB ਤੱਕ ਦਾ data: URI, ਜਾਂ ਅੱਪਲੋਡ ਦੇ file_url ਨੂੰ ਸਵੀਕਾਰਦੇ ਹਨ। ਫ਼ਾਈਲਾਂ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o1/reference-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": 560,
    "usd": "0.56",
    "charged": 560,
    "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
    }
  },
  "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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
video
object {url, content_type, file_name, file_size}ਮਾਡਲ ਵੱਲੋਂ ਤਿਆਰ ਕੀਤੀ ਵੀਡੀਓ।

ਹੋਰ ਮਾਡਲ: ਹਵਾਲੇ ਤੋਂ ਵੀਡੀਓ

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/kling-video/o1/reference-to-video.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt