உள்ளடக்கத்திற்குச் செல்க

Wan-2.1 Image-to-Video

ஒருங்கிணை

மாடல் id wan-i2v
# 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-i2v?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",
    "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.40 400 API கிரெடிட்கள் இந்தப் பக்கத்தில் இயக்குங்கள்

API விசையைப் பெறுக

Doitong இல் உருவாக்கப்பட்டது

Doitong சமூகத்தினரால் Wan 2.1 மூலம் உருவாக்கப்பட்ட பொதுப் படைப்புகள். ஒரே கிளிக்கில் ப்ராம்ப்ட்டை மீண்டும் பயன்படுத்தவும்.

காட்டப்படும் பொதுப் படைப்புகள்: 4
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... வீடியோ

Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video must feel like a real spontaneous phone...

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone vide... வீடியோ

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video...

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with na... வீடியோ

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with natural acting, realistic lighting and believable facial expressions. All dialogue is spoken naturally in French. **SCENE 1 — EXPENSIVE RESTAURANT, EVENING — 0–5 sec** A young man in his late 20s is...

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... வீடியோ

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

கோரிக்கையை உருவாக்கு

மாடல் ஸ்கீமாவிலிருந்து கட்டுப்பாடுகள் உருவாக்கப்படுகின்றன. அவற்றை மாற்றும்போது குறியீடும் விலையும் புதுப்பிக்கப்படும்.

•தேவை

வீடியோ உருவாக்கத்தை வழிநடத்தும் உரை வழிமுறைகள்.

•தேவை image_url
கோப்பை விடுங்கள் அல்லது

மூலப் பட URL; தேர்ந்தெடுக்கப்பட்ட aspect ratio, முன்செயலாக்கம் தேவைப்படுகிறதா என்பதைத் தீர்மானிக்கும்: பொருத்தமின்மை ஏற்பட்டால், அளவுமாற்றத்திற்குப் பிறகு மைய crop செய்யப்படும்.

resolution இயல்புநிலை 720p

வெளியீட்டு வீடியோவின் தெளிவுத்திறன், 480p அல்லது 720p.

aspect_ratio இயல்புநிலை auto

'auto' என அமைக்கும்போது உள்ளீட்டுப் படத்திலிருந்து தானாகத் தேர்ந்தெடுக்கப்படும் உருவாக்கப்பட்ட வீடியோவின் விகிதங்கள்.

இயல்புநிலை 81

உருவாக்கத்திற்கான ஃப்ரேம்களின் எண்ணிக்கை; 81 முதல் 100 வரை இரு எல்லைகளும் உட்பட.

மேம்பட்டவை negative_prompt · acceleration · frames_per_second · num_inference_steps · guide_scale · shift · seed · enable_safety_checker · enable_prompt_expansion
இயல்புநிலை bright colors, overex...

வீடியோ உருவாக்கும்போது பயன்படுத்தப்படும் எதிர்மறை ப்ராம்ப்ட்.

acceleration இயல்புநிலை regular

வேகப்படுத்தல் அமைப்பு; 'regular' பரிந்துரைக்கப்படுகிறது. வேகப்படுத்தலை அதிகரிப்பது தரத்தைத் தியாகம் செய்து உருவாக்க நேரத்தைக் குறைக்கும்.

இயல்புநிலை 16

உருவாக்கப்பட்ட வீடியோவின் ஃப்ரேம் வீதம், ஒரு வினாடிக்கான ஃப்ரேம்களில்; 5 முதல் 24 வரை.

இயல்புநிலை 30

Sampling படிநிலைகளின் எண்ணிக்கை; எண்ணிக்கை அதிகரிக்கும்போது நீண்ட செயலாக்க நேரத்திற்கு ஈடாகச் சிறந்த தரத்தை வழங்கும்.

இயல்புநிலை 5

Classifier-free guidance வலிமை; scale அதிகரிக்கும்போது சாத்தியமான தர இழப்பிற்கு ஈடாக ப்ராம்ப்ட்டுடன் நெருக்கமான பொருத்தத்தை வழங்கும்.

இயல்புநிலை 5

வீடியோ உருவாக்கும்போது பயன்படுத்தப்படும் Shift அமைப்பு.

உருவாக்கத்தை மீண்டும் உருவாக்கக்கூடியதாக மாற்றும் விதை. None என அமைத்தால் விதை சீரற்றதாகத் தேர்ந்தெடுக்கப்படும்.

POST /run/wan-i2v?wait=20 விலை → $0.40
# 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-i2v?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",
    "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-க்கு மட்டும் அனுப்பப்படும்; Remember-ஐத் தேர்ந்தெடுத்தால் மட்டுமே (localStorage)-ல் சேமிக்கப்படும். API விசையைப் பெறுங்கள்

Wan-2.1 Image-to-Video பற்றி

ஒரு `prompt`-ஐப் பின்பற்றி ஒரு உள்ளீடு படத்தை (`image_url`) இது அனிமேட் செய்கிறது. வெளியீடு 480p அல்லது 720p-இல் இருக்கும், ஆஸ்பெக்ட் ரேஷியோ auto, 16:9, 9:16 அல்லது 1:1 ஆகும்; பொருந்தாத படங்கள் சென்டர் கிராப் செய்யப்படுகின்றன. `num_frames` என்பது வினாடிக்கு 5-24 ஃப்ரேம்கள் வீதத்தில் 81-100 ஆகும். கட்டுப்பாடுகளில் `negative_prompt`, `seed`, `guide_scale`, `shift` மற்றும் `acceleration` அமைப்பு ஆகியவை அடங்கும்.

அளவுருக்கள்

நியமப் பெயர் அல்லது நேட்டிவ் பெயர் இரண்டில் ஒன்றை மட்டும் அனுப்பவும். நியமப் பெயர்கள்

பெயர்வகை இயல்புநிலைஅனுமதிக்கப்பட்டது விளக்கம்
promptதேவை
வகைstring
வீடியோ உருவாக்கத்தை வழிநடத்தும் உரை வழிமுறைகள்.
negative_promptவிருப்பத்தேர்வு
வகைstring
இயல்புநிலைbright colors, overexposed, static, blurred details, subtitles, style, artwork, painting, picture, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, malformed limbs, fused fingers, still picture, cluttered background, three legs, many people in the background, walking backwards
வீடியோ உருவாக்கும்போது பயன்படுத்தப்படும் எதிர்மறை ப்ராம்ப்ட்.
image_urlதேவை image
வகைurl · image
மூலப் பட URL; தேர்ந்தெடுக்கப்பட்ட aspect ratio, முன்செயலாக்கம் தேவைப்படுகிறதா என்பதைத் தீர்மானிக்கும்: பொருத்தமின்மை ஏற்பட்டால், அளவுமாற்றத்திற்குப் பிறகு மைய crop செய்யப்படும்.
num_framesவிருப்பத்தேர்வு
வகைinteger | null
இயல்புநிலை81
81 – 100
உருவாக்கத்திற்கான ஃப்ரேம்களின் எண்ணிக்கை; 81 முதல் 100 வரை இரு எல்லைகளும் உட்பட.
frames_per_secondவிருப்பத்தேர்வு
வகைinteger | null
இயல்புநிலை16
5 – 24
உருவாக்கப்பட்ட வீடியோவின் ஃப்ரேம் வீதம், ஒரு வினாடிக்கான ஃப்ரேம்களில்; 5 முதல் 24 வரை.
seedவிருப்பத்தேர்வு
வகைinteger | null
உருவாக்கத்தை மீண்டும் உருவாக்கக்கூடியதாக மாற்றும் விதை. None என அமைத்தால் விதை சீரற்றதாகத் தேர்ந்தெடுக்கப்படும்.
resolutionவிருப்பத்தேர்வு
வகைenum
இயல்புநிலை720p
480p720p
வெளியீட்டு வீடியோவின் தெளிவுத்திறன், 480p அல்லது 720p.
num_inference_stepsவிருப்பத்தேர்வு
வகைinteger
இயல்புநிலை30
2 – 40
Sampling படிநிலைகளின் எண்ணிக்கை; எண்ணிக்கை அதிகரிக்கும்போது நீண்ட செயலாக்க நேரத்திற்கு ஈடாகச் சிறந்த தரத்தை வழங்கும்.
guide_scaleவிருப்பத்தேர்வு
வகைnumber
இயல்புநிலை5
1 – 10
Classifier-free guidance வலிமை; scale அதிகரிக்கும்போது சாத்தியமான தர இழப்பிற்கு ஈடாக ப்ராம்ப்ட்டுடன் நெருக்கமான பொருத்தத்தை வழங்கும்.
shiftவிருப்பத்தேர்வு
வகைnumber
இயல்புநிலை5
1 – 10
வீடியோ உருவாக்கும்போது பயன்படுத்தப்படும் Shift அமைப்பு.
enable_safety_checkerவிருப்பத்தேர்வு
வகைboolean
இயல்புநிலைfalse
பாதுகாப்புச் சரிபார்ப்பு மாற்றி; முடக்கப்பட்ட அமைப்பைப் பயன்படுத்த கணக்கு அங்கீகாரம் தேவை. அந்த அங்கீகாரம் இல்லாமல், அமைப்பைப் பொருட்படுத்தாமல் ஒவ்வொரு கோரிக்கையும் சரிபார்க்கப்படும்; true சரிபார்ப்பை இயக்குகிறது.
enable_prompt_expansionவிருப்பத்தேர்வு
வகைboolean
இயல்புநிலைfalse
ப்ராம்ப்ட் விரிவாக்கம் இயக்கப்பட்டுள்ளதா என்பதைக் கட்டுப்படுத்தும்.
accelerationவிருப்பத்தேர்வு
வகைenum
இயல்புநிலைregular
noneregular
வேகப்படுத்தல் அமைப்பு; 'regular' பரிந்துரைக்கப்படுகிறது. வேகப்படுத்தலை அதிகரிப்பது தரத்தைத் தியாகம் செய்து உருவாக்க நேரத்தைக் குறைக்கும்.
aspect_ratioவிருப்பத்தேர்வு
வகைenum
இயல்புநிலைauto
auto16:99:161:1
'auto' என அமைக்கும்போது உள்ளீட்டுப் படத்திலிருந்து தானாகத் தேர்ந்தெடுக்கப்படும் உருவாக்கப்பட்ட வீடியோவின் விகிதங்கள்.
தேவை நியமப் பெயர், இதுவும் ஏற்கப்படும்

கோப்பு அளவுருக்கள் பொதுவான https:// URL, 10 MB வரையிலான data: URI அல்லது பதிவேற்றத்தின் file_url-ஐ ஏற்கும். கோப்புகள்

வெளியீடு

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-i2v",
  "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": 400,
    "usd": "0.40",
    "charged": 400,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "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-மாதத்திற்கு கட்டணம்) அல்லது உங்கள் கணக்கு அமைப்பு அல்லது ?storage= மூலம் இலவசமாக 7 நாட்கள் வைக்கப்படும்.
ஒவ்வொரு மாடலிலும் ஒரே வடிவம்படங்கள், வீடியோ மற்றும் ஆடியோ ஆகிய அனைத்திற்குமான type, url, content_type, width, height மற்றும் duration. output என்பது மாதிரியின் சொந்த முடிவு பொருளாகும்.
வெளியீட்டின் புலங்கள்
video
object {url, content_type, file_name, file_size}உருவாக்கத்தால் தயாரிக்கப்படும் வீடியோ கோப்பு.
seed
integerஉருவாக்கத்தின்போது பயன்படுத்தப்படும் விதை மதிப்பு.

மேலும் மாதிரிகள்: படத்திலிருந்து வீடியோவிற்கு

AI ஏஜெண்டுகளுக்கு: இந்தப் பக்கம் Markdown வடிவில் இங்கே உள்ளது https://doitong.com/ta/developers/models/wan-i2v.md. அனைத்து மாடல்களும் வழிகாட்டிகளும்: https://doitong.com/developers/llms.txt