सामग्री पर जाएँ

LongCat Video · Image to Video · 720p

इंटीग्रेट करें

मॉडल id longcat-video/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/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.216 216 API क्रेडिट · ≈ ₽23.18 चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Meituan इमेज से वीडियो 4K आउटपुट

अतिरिक्त रिफाइनमेंट पास और 30 fps डिफ़ॉल्ट के साथ 720p इमेज-टू-वीडियो

Meituan · वीडियो

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

डिफ़ॉल्ट First-person view fro...

वीडियो निर्माण को निर्देशित करने वाला प्रॉम्प्ट।

•आवश्यक image_url
फ़ाइल ड्रॉप करें, या

वीडियो निर्माण के लिए स्रोत इमेज URL।

डिफ़ॉल्ट 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...

वीडियो बनाते समय उपयोग किया गया नकारात्मक प्रॉम्प्ट।

video_output_type डिफ़ॉल्ट X264 (.mp4)

परिणामी वीडियो का आउटपुट प्रकार।

video_quality डिफ़ॉल्ट high

परिणामी वीडियो का गुणवत्ता स्तर।

video_write_mode डिफ़ॉल्ट balanced

परिणामी वीडियो का लेखन मोड।

acceleration डिफ़ॉल्ट regular

वीडियो निर्माण के दौरान लागू त्वरण स्तर।

डिफ़ॉल्ट 40

वीडियो निर्माण के दौरान किए गए इन्फ़रेंस चरणों की संख्या।

डिफ़ॉल्ट 40

रिफाइनमेंट के दौरान किए गए इन्फ़रेंस चरणों की संख्या।

डिफ़ॉल्ट 4

वीडियो बनाते समय लागू किया गया guidance scale।

डिफ़ॉल्ट 30

आउटपुट वीडियो की फ़्रेम दर।

रैंडम-नंबर निर्माण शुरू करने वाला सीड मान।

POST /run/longcat-video/image-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/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 · Image to Video · 720p के बारे में

इनपुट इमेज को लंबे वीडियो में एनिमेट करता है, जिसमें `num_refine_inference_steps` (8 से 50) द्वारा नियंत्रित दूसरा रिफाइनमेंट चरण होता है। `num_frames` 17 से 961 तक (डिफ़ॉल्ट 162) होता है और फ़्रेम दर का डिफ़ॉल्ट 30 है। यह प्रॉम्प्ट, नेगेटिव प्रॉम्प्ट और `guidance_scale` (1 से 10) भी स्वीकार करता है। आउटपुट फ़ॉर्मैट में 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
वीडियो निर्माण को निर्देशित करने वाला प्रॉम्प्ट।
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
वीडियो बनाते समय उपयोग किया गया नकारात्मक प्रॉम्प्ट।
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।
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
वीडियो निर्माण के दौरान लागू त्वरण स्तर।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

फ़ाइल पैरामीटर में सार्वजनिक https:// URL, 10 MB तक का data: URI, या अपलोड का file_url लिया जाता है। फ़ाइलें

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/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": 216,
    "usd": "0.216",
    "charged": 216,
    "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/hi/developers/models/longcat-video/image-to-video/720p.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt