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

LongCat Video · Text to Video · 720p

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

ਮਾਡਲ id longcat-video/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/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.216 216 API ਕ੍ਰੈਡਿਟ · ≈ ₽23.18 ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਮਾਪੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ

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

Meituan · ਵੀਡੀਓ

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

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

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

•ਲੋੜੀਂਦਾ

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

aspect_ratio ਡਿਫ਼ਾਲਟ 16:9

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

ਡਿਫ਼ਾਲਟ 162

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

ਉੱਨਤ negative_prompt · video_output_type · video_quality · video_write_mode · acceleration · num_inference_steps · num_refine_inference_steps · guidance_scale · fps · seed · enable_prompt_expansion · enable_safety_checker
ਡਿਫ਼ਾਲਟ Bright tones, overexp...

ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ negative ਪ੍ਰੌਂਪਟ।

video_output_type ਡਿਫ਼ਾਲਟ X264 (.mp4)

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

video_quality ਡਿਫ਼ਾਲਟ high

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

video_write_mode ਡਿਫ਼ਾਲਟ balanced

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

acceleration ਡਿਫ਼ਾਲਟ regular

ਵੀਡੀਓ ਸਿਰਜਣਾ ਦੌਰਾਨ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਐਕਸੈਲੇਰੇਸ਼ਨ ਪੱਧਰ।

ਡਿਫ਼ਾਲਟ 40

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

ਡਿਫ਼ਾਲਟ 40

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

ਡਿਫ਼ਾਲਟ 4

ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਲਾਗੂ ਕੀਤਾ guidance scale।

ਡਿਫ਼ਾਲਟ 30

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

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

POST /run/longcat-video/text-to-video/720p?wait=20 ਕੋਟ → $0.216
# 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/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 · Text to Video · 720p ਬਾਰੇ

ਪ੍ਰੌਂਪਟ ਤੋਂ ਵੀਡੀਓ ਬਣਾਉਂਦਾ ਹੈ ਅਤੇ `num_refine_inference_steps` (8 ਤੋਂ 50) ਦੁਆਰਾ ਸੈੱਟ ਕੀਤਾ ਰਿਫ਼ਾਈਨਮੈਂਟ ਪਾਸ ਜੋੜਦਾ ਹੈ। `aspect_ratio` 16:9, 9:16 ਜਾਂ 1:1 ਹੈ, ਅਤੇ `num_frames` ਪੂਰਵ-ਨਿਰਧਾਰਤ 30 fps ’ਤੇ 17 ਤੋਂ 961 ਤੱਕ ਹੁੰਦਾ ਹੈ (ਪੂਰਵ-ਨਿਰਧਾਰਤ 162)। ਇਹ ਨੈਗੇਟਿਵ ਪ੍ਰੌਂਪਟ ਅਤੇ 1 ਤੋਂ 10 ਤੱਕ `guidance_scale` ਵੀ ਲੈਂਦਾ ਹੈ। ਆਉਟਪੁੱਟ mp4, webm, ProRes mov ਜਾਂ GIF ਹੋ ਸਕਦੀ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਵੀਡੀਓ ਸਿਰਜਣਾ ਲਈ ਦਿਸ਼ਾ ਦੇਣ ਵਾਲਾ ਪ੍ਰੌਂਪਟ।
negative_promptਵਿਕਲਪਿਕ
ਕਿਸਮstring
ਡਿਫ਼ਾਲਟBright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards
ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ negative ਪ੍ਰੌਂਪਟ।
num_framesਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ162
17 – 961
ਸਿਰਜੇ ਗਏ ਆਉਟਪੁੱਟ ਵਿੱਚ ਫ੍ਰੇਮਾਂ ਦੀ ਗਿਣਤੀ।
num_inference_stepsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ40
8 – 50
ਵੀਡੀਓ ਸਿਰਜਣਾ ਦੌਰਾਨ ਕੀਤੇ ਗਏ ਇਨਫ਼ਰੈਂਸ ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ।
num_refine_inference_stepsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ40
8 – 50
ਰਿਫਾਈਨਮੈਂਟ ਦੌਰਾਨ ਕੀਤੇ ਗਏ ਇਨਫ਼ਰੈਂਸ ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ।
guidance_scaleਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ4
1 – 10
ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਲਾਗੂ ਕੀਤਾ guidance scale।
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
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਲਿਖਣ ਮੋਡ।
accelerationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟregular
noneregular
ਵੀਡੀਓ ਸਿਰਜਣਾ ਦੌਰਾਨ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਐਕਸੈਲੇਰੇਸ਼ਨ ਪੱਧਰ।
ਲੋੜੀਂਦਾ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/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": 216,
    "usd": "0.216",
    "charged": 216,
    "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/text-to-video/720p.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt