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

Kling O3 Reference to Video [Pro]

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

ਮਾਡਲ id kling-video/o3/pro/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/o3/pro/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–15 s #reference-to-video

Pro ਹਵਾਲਾ-ਤੋਂ-ਵੀਡੀਓ ਜੋ ਚਿੱਤਰਾਂ ਅਤੇ ਐਲੀਮੈਂਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਕਿਰਦਾਰਾਂ ਅਤੇ ਵਸਤੂਆਂ ਦੀ ਇਕਸਾਰਤਾ ਕਾਇਮ ਰੱਖਦਾ ਹੈ

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

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

ਦਿਖਾਏ ਗਏ ਜਨਤਕ ਕੰਮ: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... ਵੀਡੀਓ

Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while speaking, with realistic facial expressions and synchronized lip movements, as if she is promoting something to the viewer. She maintains eye contact with the camera, smiles slightly, and uses subtle...

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her ey... ਵੀਡੀਓ

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her eyes and cheeks, as if the blurry image on the screen is changing. Her eyes move slightly as she studies the screen, and she takes one slow, tense breath. Behind her, shadows of the snowstorm move...

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. I... ਵੀਡੀਓ

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. Its huge dark leathery wings beat twice with slow, heavy strokes, sending snow swirling off the cliff in big clouds. Then it folds its wings and settles on the rock, the giant elk still held in its...

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

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jeng... ਵੀਡੀਓ

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jenga tower. As the block comes out, the tower naturally loses balance and realistically collapses onto the table. Frustrated, he angrily sweeps all the fallen wooden blocks off the table with both hands....

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold ... ਵੀਡੀਓ

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold rock, a huge orange-white heat shape hidden inside a rock crevice, two small bright amber spots glowing like eyes, faint noise grain. Cinematic videorealistic, ultra detailed, 16:9, volumetric light,...

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

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

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

88 / 2500

ਵੀਡੀਓ ਬਣਾਉਣ ਲਈ ਵਰਤੀਆਂ ਜਾਣ ਵਾਲੀਆਂ ਲਿਖਤੀ ਹਦਾਇਤਾਂ। ਪ੍ਰੌਂਪਟ ਜਾਂ multi_prompt ਵਿੱਚੋਂ ਸਿਰਫ਼ ਇੱਕ ਦਿਓ।

duration 5 s

ਵੀਡੀਓ ਦੀ ਮਿਆਦ, 3 ਤੋਂ 15 ਸਕਿੰਟ ਤੱਕ।

aspect_ratio ਡਿਫ਼ਾਲਟ 16:9

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

ਉੱਨਤ image · end_image · images · shot_type · enable_safety_checker · multi_prompt · elements
start_image_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਵੀਡੀਓ ਦੇ ਸ਼ੁਰੂਆਤੀ ਫ੍ਰੇਮ ਲਈ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ ਚਿੱਤਰ। ਫ਼ਾਈਲ ਦਾ ਆਕਾਰ 50 MB ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋਣਾ ਚਾਹੀਦਾ; ਚੌੜਾਈ ਅਤੇ ਉਚਾਈ ਦੋਵੇਂ ਘੱਟੋ-ਘੱਟ 300px ਅਤੇ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 0.40 ਤੋਂ 2.50 ਦੇ ਵਿਚਕਾਰ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।

end_image_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਵੀਡੀਓ ਦਾ ਅੰਤਿਮ ਫ੍ਰੇਮ ਪ੍ਰਦਾਨ ਕਰਨ ਵਾਲਾ ਚਿੱਤਰ, ਜੋ 50 MB ਤੱਕ ਸੀਮਿਤ ਹੈ। ਚੌੜਾਈ ਅਤੇ ਉਚਾਈ ਦੋਵੇਂ ਘੱਟੋ-ਘੱਟ 300 px ਹੋਣੀਆਂ ਚਾਹੀਦੀਆਂ ਹਨ, ਅਤੇ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 0.40 ਤੋਂ 2.50 ਤੱਕ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।

image_urls
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

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

shot_type ਡਿਫ਼ਾਲਟ customize

ਚੁਣੋ ਕਿ ਬਹੁ-ਸ਼ਾਟ ਸਿਰਜਣਾ ਆਪਣੇ ਸ਼ਾਟਾਂ ਦੀ ਯੋਜਨਾ ਕਿਵੇਂ ਬਣਾਏ; 'intelligent' ਚੁਣਨ ਨਾਲ ਸ਼ਾਟ ਦੀ ਬਣਤਰ ਮਾਡਲ ਨੂੰ ਸੌਂਪੀ ਜਾਂਦੀ ਹੈ।

ਕਈ ਸ਼ਾਟਾਂ ਵਾਲਾ ਵੀਡੀਓ ਸਿਰਜਣ ਲਈ ਵਰਤੀ ਜਾਣ ਵਾਲੀ ਪ੍ਰੌਂਪਟ ਸੂਚੀ।

ਸ਼ਾਮਲ ਕੀਤੇ ਜਾਣ ਵਾਲੇ ਪਾਤਰ ਜਾਂ ਵਸਤੂਆਂ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਪ੍ਰੌਂਪਟ ਵਿੱਚ @Element1 ਅਤੇ @Element2 ਰਾਹੀਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ।

POST /run/kling-video/o3/pro/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/o3/pro/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 O3 Reference to Video [Pro] ਬਾਰੇ

@Image1 ਆਦਿ ਵਜੋਂ ਦਰਸਾਏ ਹਵਾਲਾ `image_urls` ਅਤੇ ਪਾਤਰਾਂ ਜਾਂ ਵਸਤੂਆਂ ਲਈ `elements` ਤੋਂ ਵੀਡੀਓ ਦ੍ਰਿਸ਼ ਬਣਾਉਂਦਾ ਹੈ। ਵਿਕਲਪਿਕ `start_image_url` ਅਤੇ `end_image_url` ਪਹਿਲੇ ਅਤੇ ਆਖ਼ਰੀ ਫ੍ਰੇਮ ਨਿਰਧਾਰਤ ਕਰਦੇ ਹਨ। ਮਿਆਦ 3 ਤੋਂ 15 ਸਕਿੰਟ, ਪੱਖ ਅਨੁਪਾਤ 16:9, 9:16 ਜਾਂ 1:1 ਹੈ। `multi_prompt` ਸ਼ਾਟ ਅਤੇ ਵਿਕਲਪਿਕ ਆਡੀਓ ਸਮਰਥਿਤ ਹਨ।

ਪੈਰਾਮੀਟਰ

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

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਸੁਰੱਖਿਆ ਜਾਂਚਾਂ ਸਿਰਫ਼ ਖਾਤਾ ਅਧਿਕਾਰ ਨਾਲ ਅਸਮਰੱਥ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ; ਬਿਨਾਂ ਅਧਿਕਾਰ ਵਾਲੀਆਂ ਬੇਨਤੀਆਂ ਦੀ ਹਮੇਸ਼ਾ ਜਾਂਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ।
promptਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
≤ 2,500 ਅੱਖਰ
ਵੀਡੀਓ ਬਣਾਉਣ ਲਈ ਵਰਤੀਆਂ ਜਾਣ ਵਾਲੀਆਂ ਲਿਖਤੀ ਹਦਾਇਤਾਂ। ਪ੍ਰੌਂਪਟ ਜਾਂ multi_prompt ਵਿੱਚੋਂ ਸਿਰਫ਼ ਇੱਕ ਦਿਓ।
multi_promptਵਿਕਲਪਿਕ
ਕਿਸਮobject[]
ਕਈ ਸ਼ਾਟਾਂ ਵਾਲਾ ਵੀਡੀਓ ਸਿਰਜਣ ਲਈ ਵਰਤੀ ਜਾਣ ਵਾਲੀ ਪ੍ਰੌਂਪਟ ਸੂਚੀ।
multi_prompt[].promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਮੌਜੂਦਾ ਸ਼ਾਟ ਲਈ ਟੈਕਸਟ ਹਦਾਇਤਾਂ।
multi_prompt[].durationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ5
123456789101112131415
ਮੌਜੂਦਾ ਸ਼ਾਟ ਦੀ ਮਿਆਦ, ਸਕਿੰਟਾਂ ਵਿੱਚ ਮਾਪੀ ਜਾਂਦੀ ਹੈ।
start_image_urlਵਿਕਲਪਿਕ image
ਕਿਸਮurl · image
ਵੀਡੀਓ ਦੇ ਸ਼ੁਰੂਆਤੀ ਫ੍ਰੇਮ ਲਈ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ ਚਿੱਤਰ। ਫ਼ਾਈਲ ਦਾ ਆਕਾਰ 50 MB ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋਣਾ ਚਾਹੀਦਾ; ਚੌੜਾਈ ਅਤੇ ਉਚਾਈ ਦੋਵੇਂ ਘੱਟੋ-ਘੱਟ 300px ਅਤੇ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 0.40 ਤੋਂ 2.50 ਦੇ ਵਿਚਕਾਰ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।
end_image_urlਵਿਕਲਪਿਕ end_image
ਕਿਸਮurl · image
ਵੀਡੀਓ ਦਾ ਅੰਤਿਮ ਫ੍ਰੇਮ ਪ੍ਰਦਾਨ ਕਰਨ ਵਾਲਾ ਚਿੱਤਰ, ਜੋ 50 MB ਤੱਕ ਸੀਮਿਤ ਹੈ। ਚੌੜਾਈ ਅਤੇ ਉਚਾਈ ਦੋਵੇਂ ਘੱਟੋ-ਘੱਟ 300 px ਹੋਣੀਆਂ ਚਾਹੀਦੀਆਂ ਹਨ, ਅਤੇ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 0.40 ਤੋਂ 2.50 ਤੱਕ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।
image_urlsਵਿਕਲਪਿਕ images
ਕਿਸਮurl[] · image
ਸ਼ੈਲੀ ਜਾਂ ਦਿੱਖ ਲਈ ਮਾਰਗਦਰਸ਼ਨ ਕਰਨ ਵਾਲੇ ਚਿੱਤਰ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਪ੍ਰੌਂਪਟ ਵਿੱਚ @Image1, @Image2 ਆਦਿ ਰਾਹੀਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ। ਵੀਡੀਓ ਇਨਪੁੱਟ ਦੇ ਨਾਲ ਤੱਤ ਅਤੇ ਸੰਦਰਭ ਚਿੱਤਰ ਮਿਲਾ ਕੇ 4 ਐਂਟਰੀਆਂ ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋ ਸਕਦੇ। ਹਰ ਫ਼ਾਈਲ 50 MB ਤੱਕ ਸੀਮਿਤ ਹੈ; ਚੌੜਾਈ ਅਤੇ ਉਚਾਈ ਦੋਵੇਂ ਘੱਟੋ-ਘੱਟ 300 px ਅਤੇ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 0.40 ਤੋਂ 2.50 ਤੱਕ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।
elementsਵਿਕਲਪਿਕ
ਕਿਸਮobject[]
ਸ਼ਾਮਲ ਕੀਤੇ ਜਾਣ ਵਾਲੇ ਪਾਤਰ ਜਾਂ ਵਸਤੂਆਂ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਪ੍ਰੌਂਪਟ ਵਿੱਚ @Element1 ਅਤੇ @Element2 ਰਾਹੀਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ।
elements[].frontal_image_urlਵਿਕਲਪਿਕ
ਕਿਸਮurl · image
ਤੱਤ ਦਾ ਮੁੱਖ ਦ੍ਰਿਸ਼ ਦਿਖਾਉਣ ਵਾਲਾ ਸਾਹਮਣੇ ਤੋਂ ਲਿਆ ਚਿੱਤਰ। ਫ਼ਾਈਲ ਦਾ ਆਕਾਰ 50 MB ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋਣਾ ਚਾਹੀਦਾ; ਚੌੜਾਈ ਅਤੇ ਉਚਾਈ ਦੋਵੇਂ ਘੱਟੋ-ਘੱਟ 300px ਅਤੇ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 0.40 ਤੋਂ 2.50 ਦੇ ਵਿਚਕਾਰ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।
elements[].reference_image_urlsਵਿਕਲਪਿਕ
ਕਿਸਮurl[] · image
ਵੱਖ-ਵੱਖ ਕੋਣ ਦਿਖਾਉਣ ਵਾਲੇ 1–3 ਵਾਧੂ ਸੰਦਰਭ ਚਿੱਤਰ ਦਿਓ। ਹਰ ਚਿੱਤਰ ਦਾ ਆਸਪੈਕਟ ਰੇਸ਼ੋ 0.40 ਤੋਂ 2.50 ਦੇ ਵਿਚਕਾਰ, ਦੋਵੇਂ ਮਾਪ ਘੱਟੋ-ਘੱਟ 300px ਅਤੇ ਆਕਾਰ 50.0MB ਤੋਂ ਵੱਧ ਨਹੀਂ ਹੋਣਾ ਚਾਹੀਦਾ।
elements[].video_urlਵਿਕਲਪਿਕ
ਕਿਸਮurl · video
ਤੱਤ ਦੇ ਵੀਡੀਓ ਵੱਲ ਇਸ਼ਾਰਾ ਕਰਨ ਵਾਲਾ URL; ਹਰ ਬੇਨਤੀ ਵਿੱਚ ਸਿਰਫ਼ ਇੱਕ ਤੱਤ ਵਿੱਚ ਵੀਡੀਓ ਸ਼ਾਮਲ ਹੋ ਸਕਦਾ ਹੈ। ਫ਼ਾਈਲ ਵੱਧ ਤੋਂ ਵੱਧ 200 MB, ਚੌੜਾਈ ਅਤੇ ਉਚਾਈ ਦੋਵੇਂ 720px ਤੋਂ 2160px ਦੇ ਵਿਚਕਾਰ ਹੋਣੀਆਂ ਚਾਹੀਦੀਆਂ ਹਨ। ਮਿਆਦ 3 ਸਕਿੰਟ ਤੋਂ 10.05 ਸਕਿੰਟ ਅਤੇ FPS 24.0 ਤੋਂ 60.0 ਦੇ ਵਿਚਕਾਰ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।
elements[].voice_idਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
ਤੱਤ ਨੂੰ ਦਿੱਤਾ ਗਿਆ Voice ID। ਉਸ ਤੱਤ ਦੇ ਸੰਦਰਭ ਇਸ ਨੂੰ ਦਿੱਤੀ ਗਈ ਆਵਾਜ਼ ਦੀ ਵਰਤੋਂ ਕਰਦੇ ਹਨ।
generate_audioਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਇਹ ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ ਕਿ ਵੀਡੀਓ ਦੇ ਨਾਲ ਮੂਲ ਆਡੀਓ ਸਿਰਜੀ ਜਾਂਦੀ ਹੈ ਜਾਂ ਨਹੀਂ।
durationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ5
3456789101112131415
ਵੀਡੀਓ ਦੀ ਮਿਆਦ, 3 ਤੋਂ 15 ਸਕਿੰਟ ਤੱਕ।
shot_typeਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟcustomize
customizeintelligent
ਚੁਣੋ ਕਿ ਬਹੁ-ਸ਼ਾਟ ਸਿਰਜਣਾ ਆਪਣੇ ਸ਼ਾਟਾਂ ਦੀ ਯੋਜਨਾ ਕਿਵੇਂ ਬਣਾਏ; 'intelligent' ਚੁਣਨ ਨਾਲ ਸ਼ਾਟ ਦੀ ਬਣਤਰ ਮਾਡਲ ਨੂੰ ਸੌਂਪੀ ਜਾਂਦੀ ਹੈ।
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/o3/pro/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/o3/pro/reference-to-video.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt