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

LongCat Video Distilled · Image to Video · 720p

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

ਮਾਡਲ id longcat-video/distilled/image-to-video/720p
# 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/720p?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"

ਉਦਾਹਰਨ ਵਰਗੀਆਂ ਫ਼ਾਈਲਾਂ: $0.054 54 API ਕ੍ਰੈਡਿਟ · ≈ ₽5.80 ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਮਾਪੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Meituan ਚਿੱਤਰ ਤੋਂ ਵੀਡੀਓ 4K ਆਉਟਪੁੱਟਤੇਜ਼

ਘੱਟ ਕਦਮਾਂ, ਰਿਫ਼ਾਈਨਮੈਂਟ ਪਾਸ ਅਤੇ 30 fps ਪੂਰਵ-ਨਿਰਧਾਰਤ ਨਾਲ 720p ’ਤੇ ਡਿਸਟਿਲਡ ਚਿੱਤਰ-ਟੂ-ਵੀਡੀਓ

Meituan · ਵੀਡੀਓ

ਤੁਹਾਡਾ ਪਹਿਲਾ ਨਤੀਜਾ ਇੱਥੇ ਹੋਵੇਗਾ

ਹੇਠਾਂ ਬੇਨਤੀ ਬਣਾਓ ਅਤੇ ਆਪਣੀ API ਕੁੰਜੀ ਨਾਲ ਚਲਾਓ। ਆਉਟਪੁੱਟ ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਕਾਪੀ ਕੀਤੇ ਜਾਂਦੇ ਹਨ ਅਤੇ ਹਮੇਸ਼ਾ ਲਈ ਜਾਂ ਮੁਫ਼ਤ ਵਿੱਚ 7 ਦਿਨ ਤੱਕ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

ਡਿਫ਼ਾਲਟ First-person view fro...

ਵੀਡੀਓ ਸਿਰਜਣਾ ਲਈ ਦਿਸ਼ਾ ਦੇਣ ਵਾਲਾ ਪ੍ਰੌਂਪਟ।

•ਲੋੜੀਂਦਾ image_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਵੀਡੀਓ ਸਿਰਜਣਾ ਲਈ ਸਰੋਤ ਚਿੱਤਰ URL।

ਡਿਫ਼ਾਲਟ 162

ਸਿਰਜੇ ਗਏ ਆਉਟਪੁੱਟ ਵਿੱਚ ਫ੍ਰੇਮਾਂ ਦੀ ਗਿਣਤੀ।

ਉੱਨਤ video_output_type · video_quality · video_write_mode · num_inference_steps · num_refine_inference_steps · fps · seed · enable_prompt_expansion · enable_safety_checker
video_output_type ਡਿਫ਼ਾਲਟ X264 (.mp4)

ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦੀ ਆਉਟਪੁੱਟ ਕਿਸਮ।

video_quality ਡਿਫ਼ਾਲਟ high

ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਗੁਣਵੱਤਾ ਪੱਧਰ।

video_write_mode ਡਿਫ਼ਾਲਟ balanced

ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਲਿਖਣ ਮੋਡ।

ਡਿਫ਼ਾਲਟ 12

ਕੀਤੇ ਗਏ ਇਨਫ਼ਰੈਂਸ ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ।

ਡਿਫ਼ਾਲਟ 12

ਰਿਫਾਈਨਮੈਂਟ ਦੌਰਾਨ ਕੀਤੇ ਗਏ ਇਨਫ਼ਰੈਂਸ ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ।

ਡਿਫ਼ਾਲਟ 30

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦਾ ਫ੍ਰੇਮ ਰੇਟ।

ਬੇਤਰਤੀਬ ਨੰਬਰ ਸਿਰਜਣਾ ਸ਼ੁਰੂ ਕਰਨ ਵਾਲੀ ਸੀਡ ਵੈਲਿਊ।

POST /run/longcat-video/distilled/image-to-video/720p?wait=20 ਕੋਟ → $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/720p?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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

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

LongCat Video Distilled · Image to Video · 720p ਬਾਰੇ

ਘੱਟ-ਪੜਾਅ ਵਾਲੇ ਡਿਸਟਿਲਡ ਮਾਡਲ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਚਿੱਤਰ ਨੂੰ ਐਨੀਮੇਟ ਕਰਦਾ ਹੈ। `num_inference_steps` ਅਤੇ `num_refine_inference_steps` ਦੋਵੇਂ 2 ਤੋਂ 16 ਤੱਕ ਚੱਲਦੇ ਹਨ (ਪੂਰਵ-ਨਿਰਧਾਰਤ 12)। `num_frames` 17 ਤੋਂ 961 ਤੱਕ ਹੁੰਦਾ ਹੈ (ਪੂਰਵ-ਨਿਰਧਾਰਤ 162) ਅਤੇ ਫ੍ਰੇਮ ਰੇਟ ਪੂਰਵ-ਨਿਰਧਾਰਤ ਤੌਰ 'ਤੇ 30 ਹੈ। ਪ੍ਰੌਂਪਟ ਵਿਸਤਾਰ ਵਿਕਲਪਿਕ ਹੈ, ਅਤੇ ਆਉਟਪੁੱਟ mp4, webm, ProRes mov ਜਾਂ GIF ਹੋ ਸਕਦਾ ਹੈ।

ਪੈਰਾਮੀਟਰ

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

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
image_urlਲੋੜੀਂਦਾ image
ਕਿਸਮurl · image
ਵੀਡੀਓ ਸਿਰਜਣਾ ਲਈ ਸਰੋਤ ਚਿੱਤਰ URL।
promptਵਿਕਲਪਿਕ
ਕਿਸਮstring
ਡਿਫ਼ਾਲਟ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
ਵੀਡੀਓ ਸਿਰਜਣਾ ਲਈ ਦਿਸ਼ਾ ਦੇਣ ਵਾਲਾ ਪ੍ਰੌਂਪਟ।
num_framesਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ162
17 – 961
ਸਿਰਜੇ ਗਏ ਆਉਟਪੁੱਟ ਵਿੱਚ ਫ੍ਰੇਮਾਂ ਦੀ ਗਿਣਤੀ।
num_inference_stepsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ12
2 – 16
ਕੀਤੇ ਗਏ ਇਨਫ਼ਰੈਂਸ ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ।
num_refine_inference_stepsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ12
2 – 16
ਰਿਫਾਈਨਮੈਂਟ ਦੌਰਾਨ ਕੀਤੇ ਗਏ ਇਨਫ਼ਰੈਂਸ ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ।
fpsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ30
1 – 60
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦਾ ਫ੍ਰੇਮ ਰੇਟ।
seedਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਬੇਤਰਤੀਬ ਨੰਬਰ ਸਿਰਜਣਾ ਸ਼ੁਰੂ ਕਰਨ ਵਾਲੀ ਸੀਡ ਵੈਲਿਊ।
enable_prompt_expansionਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ ਕਿ ਪ੍ਰੌਂਪਟ ਵਿਸਥਾਰ ਸਮਰਥਿਤ ਹੈ ਜਾਂ ਨਹੀਂ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਖਾਤਾ ਅਨੁਮਤੀਆਂ ਦੇ ਅਧੀਨ ਸੁਰੱਖਿਆ-ਜਾਂਚ ਟੌਗਲ: ਅਣਅਧਿਕਾਰਤ ਬੇਨਤੀਆਂ ਲਈ ਜਾਂਚ ਲਾਜ਼ਮੀ ਰਹਿੰਦੀ ਹੈ ਅਤੇ ਇਸਨੂੰ ਅਸਮਰੱਥ ਕਰਨ ਲਈ ਅਧਿਕਾਰਤਾ ਲੋੜੀਂਦੀ ਹੈ।
video_output_typeਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦੀ ਆਉਟਪੁੱਟ ਕਿਸਮ।
video_qualityਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟhigh
lowmediumhighmaximum
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਗੁਣਵੱਤਾ ਪੱਧਰ।
video_write_modeਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟbalanced
fastbalancedsmall
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਲਿਖਣ ਮੋਡ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

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

ਆਉਟਪੁੱਟ

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

ਹੋਰ ਮਾਡਲ: ਚਿੱਤਰ ਤੋਂ ਵੀਡੀਓ

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