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

Lynx

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

मॉडल id bytedance/lynx
# 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/bytedance/lynx?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",
    "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"

उदाहरण जैसी फ़ाइलें: $3.038 3,038 API क्रेडिट चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
ByteDance इमेज से वीडियो 720p तक #image-to-video#subject

इमेज-टू-वीडियो, जो विषय की पहचान को स्थिर रखता है, 480p से 720p और 9 से 81 फ़्रेम के साथ

ByteDance · वीडियो

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

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

अनुरोध बनाएँ

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

•आवश्यक

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

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

वीडियो बनाने के लिए उपयोग की गई subject इमेज की ओर संकेत करने वाला URL।

resolution डिफ़ॉल्ट 720p

आउटपुट वीडियो रिज़ॉल्यूशन, 480p, 580p या 720p में से चुना गया।

aspect_ratio डिफ़ॉल्ट 16:9

आउटपुट वीडियो आस्पेक्ट रेशियो, 16:9, 9:16 या 1:1 में से चुना गया।

डिफ़ॉल्ट 16

आउटपुट वीडियो फ़्रेम दर, फ़्रेम प्रति सेकंड में, 5 से 30 तक सीमित।

डिफ़ॉल्ट 81

आउटपुट वीडियो फ़्रेम count, 9 से 100 तक सीमित।

उन्नत negative_prompt · num_inference_steps · ip_scale · strength · guidance_scale · guidance_scale_2 · seed · enable_safety_checker
डिफ़ॉल्ट Bright tones, overexp...

निर्माण को उस सामग्री से दूर निर्देशित करने के लिए इस नेगेटिव प्रॉम्प्ट में अवांछित वीडियो सामग्री का वर्णन करें।

डिफ़ॉल्ट 50

sampling step count, जिसमें count बढ़ने पर अधिक processing time के बदले बेहतर गुणवत्ता मिलती है।

डिफ़ॉल्ट 1

सेट करें कि वीडियो रेफ़रेंस इमेज में दर्शाए गए व्यक्ति या विषय की पहचान को कितनी निष्ठा से बनाए रखे।

डिफ़ॉल्ट 1

स्केल सेट करके समायोजित करें कि निर्मित वीडियो रेफ़रेंस इमेज पर कितना निर्भर करे।

डिफ़ॉल्ट 5

Classifier-free guidance की शक्ति, जिसमें scale बढ़ने पर संभावित गुणवत्ता ह्रास के बदले प्रॉम्प्ट से अधिक निकटता से मिलान होता है।

डिफ़ॉल्ट 2

वीडियो निर्माण के लिए इमेज गाइडेंस scale, जो रेफ़रेंस-इमेज निष्ठा और गुणवत्ता के बीच संतुलन बनाता है: scale बढ़ाने पर अधिक निकट मिलान को प्राथमिकता मिलती है, लेकिन गुणवत्ता घटने का जोखिम रहता है।

निर्माण को पुनरुत्पाद्य बनाने वाली सीड। इसे None पर सेट करने से सीड यादृच्छिक रूप से चुनी जाती है।

POST /run/bytedance/lynx?wait=20 कोटेशन → $3.038
# 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/bytedance/lynx?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",
    "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 कुंजी प्राप्त करें

Lynx के बारे में

टेक्स्ट `prompt` के अनुसार विषय की इमेज (`image_url`) को एनिमेट करता है। पहचान-संरक्षण को `ip_scale` और `strength` (दोनों 0 से 2) से समायोजित किया जा सकता है। रिज़ॉल्यूशन 480p, 580p या 720p, आस्पेक्ट रेशियो 16:9, 9:16 या 1:1 हो सकता है, और `num_frames` 5 से 30 फ़्रेम प्रति सेकंड पर 9 से 81 तक चलता है। इसमें नेगेटिव प्रॉम्प्ट, दो गाइडेंस स्केल, 1 से 75 इन्फ़रेंस स्टेप और सीड भी उपलब्ध हैं।

पैरामीटर

कैनोनिकल नाम या नेटिव नाम में से कोई एक भेजें, दोनों नहीं। कैनोनिकल नाम

नामप्रकार डिफ़ॉल्टअनुमत विवरण
image_urlआवश्यक image
प्रकारurl · image
वीडियो बनाने के लिए उपयोग की गई subject इमेज की ओर संकेत करने वाला URL।
promptआवश्यक
प्रकारstring
वीडियो निर्माण को निर्देशित करने वाले टेक्स्ट निर्देश।
negative_promptवैकल्पिक
प्रकारstring
डिफ़ॉल्टBright tones, overexposed, blurred background, static, subtitles, style, works, paintings, images, 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_inference_stepsवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट50
1 – 75
sampling step count, जिसमें count बढ़ने पर अधिक processing time के बदले बेहतर गुणवत्ता मिलती है।
seedवैकल्पिक
प्रकारinteger | null
निर्माण को पुनरुत्पाद्य बनाने वाली सीड। इसे None पर सेट करने से सीड यादृच्छिक रूप से चुनी जाती है।
resolutionवैकल्पिक
प्रकारenum
डिफ़ॉल्ट720p
480p580p720p
आउटपुट वीडियो रिज़ॉल्यूशन, 480p, 580p या 720p में से चुना गया।
aspect_ratioवैकल्पिक
प्रकारenum
डिफ़ॉल्ट16:9
16:99:161:1
आउटपुट वीडियो आस्पेक्ट रेशियो, 16:9, 9:16 या 1:1 में से चुना गया।
ip_scaleवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट1
0 – 2
सेट करें कि वीडियो रेफ़रेंस इमेज में दर्शाए गए व्यक्ति या विषय की पहचान को कितनी निष्ठा से बनाए रखे।
strengthवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट1
0 – 2
स्केल सेट करके समायोजित करें कि निर्मित वीडियो रेफ़रेंस इमेज पर कितना निर्भर करे।
frames_per_secondवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट16
5 – 30
आउटपुट वीडियो फ़्रेम दर, फ़्रेम प्रति सेकंड में, 5 से 30 तक सीमित।
guidance_scaleवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट5
1 – 20
Classifier-free guidance की शक्ति, जिसमें scale बढ़ने पर संभावित गुणवत्ता ह्रास के बदले प्रॉम्प्ट से अधिक निकटता से मिलान होता है।
guidance_scale_2वैकल्पिक
प्रकारnumber
डिफ़ॉल्ट2
0 – 10
वीडियो निर्माण के लिए इमेज गाइडेंस scale, जो रेफ़रेंस-इमेज निष्ठा और गुणवत्ता के बीच संतुलन बनाता है: scale बढ़ाने पर अधिक निकट मिलान को प्राथमिकता मिलती है, लेकिन गुणवत्ता घटने का जोखिम रहता है।
num_framesवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट81
9 – 81
आउटपुट वीडियो फ़्रेम count, 9 से 100 तक सीमित।
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
यदि कॉलर अधिकृत है, तो false सेट करके स्क्रीनिंग में ढील दी जा सकती है।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

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

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/lynx",
  "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": 3038,
    "usd": "3.038",
    "charged": 3038,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42
  },
  "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, width, height, fps, duration, num_frames}परिणामी वीडियो फ़ाइल।
seed
integerनिर्माण के दौरान उपयोग किया गया seed मान।

और मॉडल: इमेज से वीडियो

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/bytedance/lynx.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt