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

LongCat Video Distilled · Text to Video · 720p

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

ਮਾਡਲ id longcat-video/distilled/text-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/text-to-video/720p?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

API ਕੁੰਜੀ ਲਵੋ

ਰਿਫ਼ਾਈਨਮੈਂਟ ਪੜਾਵਾਂ ਅਤੇ 30 fps ਪੂਰਵ-ਨਿਰਧਾਰਤ ਨਾਲ 720p ਡਿਸਟਿਲਡ ਟੈਕਸਟ-ਤੋਂ-ਵੀਡੀਓ

Meituan · ਵੀਡੀਓ

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

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

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

•ਲੋੜੀਂਦਾ

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

aspect_ratio ਡਿਫ਼ਾਲਟ 16:9

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦਾ ਪੱਖ ਅਨੁਪਾਤ।

ਡਿਫ਼ਾਲਟ 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/text-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/text-to-video/720p?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

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

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

ਡਿਸਟਿਲਡ ਮਾਡਲ ਨਾਲ 720p 'ਤੇ ਟੈਕਸਟ ਤੋਂ ਵੀਡੀਓ ਸਿਰਜਦਾ ਹੈ। `num_inference_steps` ਅਤੇ `num_refine_inference_steps` ਦੋਵੇਂ 2 ਤੋਂ 16 ਸਵੀਕਾਰ ਕਰਦੇ ਹਨ (ਪੂਰਵ-ਨਿਰਧਾਰਤ 12)। `aspect_ratio` 16:9, 9:16 ਜਾਂ 1:1 ਹੈ, `num_frames` 17 ਤੋਂ 961 ਤੱਕ ਹੁੰਦਾ ਹੈ (ਪੂਰਵ-ਨਿਰਧਾਰਤ 162), ਅਤੇ fps ਪੂਰਵ-ਨਿਰਧਾਰਤ ਤੌਰ 'ਤੇ 30 ਹੈ। ਆਉਟਪੁੱਟ mp4, webm, ProRes mov ਜਾਂ GIF ਹੋ ਸਕਦੀ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਵੀਡੀਓ ਸਿਰਜਣਾ ਲਈ ਦਿਸ਼ਾ ਦੇਣ ਵਾਲਾ ਪ੍ਰੌਂਪਟ।
num_framesਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ162
17 – 961
ਸਿਰਜੇ ਗਏ ਆਉਟਪੁੱਟ ਵਿੱਚ ਫ੍ਰੇਮਾਂ ਦੀ ਗਿਣਤੀ।
num_inference_stepsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ12
2 – 16
ਕੀਤੇ ਗਏ ਇਨਫ਼ਰੈਂਸ ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ।
num_refine_inference_stepsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ12
2 – 16
ਰਿਫਾਈਨਮੈਂਟ ਦੌਰਾਨ ਕੀਤੇ ਗਏ ਇਨਫ਼ਰੈਂਸ ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ।
aspect_ratioਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ16:9
16:99:161:1
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦਾ ਪੱਖ ਅਨੁਪਾਤ।
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
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਲਿਖਣ ਮੋਡ।
ਲੋੜੀਂਦਾ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/distilled/text-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": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "prompt": "realistic filming style, a person wearing a dark helmet, a deep-colored jacket, blue jeans, and bright yellow shoes rides a skateboard along a winding mountain road. The skateboarder starts in a standing position, then gradually lowers into a crouch, extending one hand to touch the road surface while maintaining a low center of gravity to navigate a sharp curve. After completing the turn, the skateboarder rises back to a standing position and continues gliding forward. The background features lush green hills flanking both sides of the road, with distant snow-capped mountain peaks rising against a clear, bright blue sky. The camera follows closely from behind, smoothly tracking the skateboarder’s movements and capturing the dynamic scenery along the route. The scene is shot in natural daylight, highlighting the vivid outdoor environment and the skateboarder’s fluid actions.",
    "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/text-to-video/720p.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt