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

Wan Effects

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

मॉडल id wan-effects
# 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/wan-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "fox",
    "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

यह अनुरोध: $0.35 350 API क्रेडिट इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Alibaba इमेज से वीडियो #motion#effects

Wan 2.1 इफ़ेक्ट मॉडल, जो किसी इमेज पर cakeify या hulk जैसे चुने गए विज़ुअल इफ़ेक्ट लागू करता है

Alibaba · वीडियो

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

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

अनुरोध बनाएँ

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

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

इनपुट इमेज की ओर संकेत करने वाला URL।

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

आउटपुट वीडियो का चौड़ाई-से-ऊंचाई अनुपात।

•आवश्यक

इफ़ेक्ट के लिए विषय टेक्स्ट: इसका पूर्वनिर्धारित प्रॉम्प्ट टेम्पलेट इस मान से भरा जाता है।

उन्नत effect_type · num_frames · frames_per_second · num_inference_steps · lora_scale · seed · turbo_mode · enable_safety_checker
डिफ़ॉल्ट cakeify

वीडियो पर लागू किया गया इफ़ेक्ट प्रकार।

डिफ़ॉल्ट 81

निर्माण के लिए फ़्रेम की संख्या।

डिफ़ॉल्ट 16

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

डिफ़ॉल्ट 30

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

डिफ़ॉल्ट 1

LoRA वेट स्केलिंग फ़ैक्टर, जो इसके इफ़ेक्ट की तीव्रता नियंत्रित करता है।

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

POST /run/wan-effects?wait=20 कोटेशन → $0.35
# 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/wan-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "fox",
    "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

यह अनुरोध चलाएँ

आपकी key इसी ब्राउज़र में रहती है: इसे केवल Doitong API को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Wan Effects के बारे में

`effect_type` के ज़रिए चुने गए इफ़ेक्ट (डिफ़ॉल्ट cakeify, 43 विकल्प) से `image_url` को एनिमेट करता है और आपके `subject` को इफ़ेक्ट के प्रॉम्प्ट टेम्पलेट में शामिल करता है। `num_frames` 81-100, `frames_per_second` 5-24 और `aspect_ratio` 16:9, 9:16 या 1:1 होता है। `lora_scale` (0.1-2) तीव्रता सेट करता है और `turbo_mode` गुणवत्ता के बदले गति बढ़ाता है।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
subjectआवश्यक
प्रकारstring
इफ़ेक्ट के लिए विषय टेक्स्ट: इसका पूर्वनिर्धारित प्रॉम्प्ट टेम्पलेट इस मान से भरा जाता है।
image_urlआवश्यक image
प्रकारurl · image
इनपुट इमेज की ओर संकेत करने वाला URL।
effect_typeवैकल्पिक
प्रकारenum
डिफ़ॉल्टcakeify
squishmuscleinflatecrushrotategun-shootingdeflatecakeifyhulkbabybrideclassypuppysnow-whitedisney-princessmona-lisa
+27 औरpaintingpirate-captainprincessjunglesamuraivipwarriorzenassassintimelapsetsunamifirezoom-calldoom-fpsfus-ro-dahhug-jesusrobot-face-revealsuper-saiyanjumpscarelaughingcartoon-jaw-dropcryingkissingangry-faceselfie-younger-selfanimeifyblast
वीडियो पर लागू किया गया इफ़ेक्ट प्रकार।
num_framesवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट81
81 – 100
निर्माण के लिए फ़्रेम की संख्या।
frames_per_secondवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट16
5 – 24
आउटपुट वीडियो फ़्रेम दर, फ़्रेम प्रति सेकंड में मापी जाती है।
seedवैकल्पिक
प्रकारinteger | null
निर्माण को पुनरुत्पाद्य बनाने वाली सीड। इसे None पर सेट करने से सीड यादृच्छिक रूप से चुनी जाती है।
aspect_ratioवैकल्पिक
प्रकारenum
डिफ़ॉल्ट16:9
16:99:161:1
आउटपुट वीडियो का चौड़ाई-से-ऊंचाई अनुपात।
num_inference_stepsवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट30
2 – 40
sampling step count, जिसमें count बढ़ने पर अधिक processing time के बदले बेहतर गुणवत्ता मिलती है।
lora_scaleवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट1
0.1 – 2
LoRA वेट स्केलिंग फ़ैक्टर, जो इसके इफ़ेक्ट की तीव्रता नियंत्रित करता है।
turbo_modeवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
टर्बो मोड, सक्षम होने पर तेज़ निर्माण के बदले वीडियो की गुणवत्ता कम करता है।
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
यदि कॉलर अधिकृत है, तो false सेट करके स्क्रीनिंग में ढील दी जा सकती है।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

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

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-effects",
  "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": 350,
    "usd": "0.35",
    "charged": 350,
    "refunded": 0
  },
  "input": {
    "subject": "fox",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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
    },
    "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}मॉडल द्वारा निर्मित वीडियो।
seed
integer

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

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