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

Wan · v2.7 · Edit

ஒருங்கிணை

மாடல் id wan/v2.7/edit
# 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/v2.7/edit?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",
    "images": [
      "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.03 30 API கிரெடிட்கள் இந்தப் பக்கத்தில் இயக்குங்கள்

API விசையைப் பெறுக
Alibaba படத் திருத்தம் #wan#image-to-image#image-editing

1-4 குறிப்பு படங்களுடன் கூடிய, jpeg, png அல்லது webp வெளியீட்டைத் தேர்ந்தெடுக்கக்கூடிய வழிமுறை அடிப்படையிலான படத் திருத்தம்

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

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

காட்டப்படும் பொதுப் படைப்புகள்: 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...

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

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

•தேவை 88 / 2000

சீனம் அல்லது ஆங்கிலத்தில் எழுதப்பட்ட, கோரப்பட்ட படத் திருத்தத்தின் விளக்கம்.

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

1–4 திருத்தக் குறிப்புப் படங்கள் தேவை. ப்ராம்ப்ட் குறிப்புகள் வழங்கப்பட்ட வரிசையைப் பின்பற்றும்: image 1 முதல், image 2 இரண்டாவது, image 3 மூன்றாவது, image 4 நான்காவது.

image_size இயல்புநிலை square_hd

வெளியீட்டுப் படத்தின் பரிமாணங்கள்.

num_images இயல்புநிலை 1

உருவாக்கத்திற்கான படங்களின் எண்ணிக்கை, 1 முதல் 4 வரை.

மேம்பட்டவை negative_prompt · output_format · seed · enable_prompt_expansion · enable_safety_checker
0 / 500

விளைவாக வரும் படத்திலிருந்து விலக்க வேண்டிய உள்ளடக்கம்; அதிகபட்சம் 500 எழுத்துகள்.

output_format இயல்புநிலை jpeg

வெளியீட்டுப் படங்களுக்கான கோப்பு வடிவம்.

மீண்டும் உருவாக்கக்கூடிய முடிவுகளை வழங்கும் சீரற்ற விதை, 0 முதல் 2147483647 வரை.

POST /run/wan/v2.7/edit?wait=20 விலை → $0.03
# 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/v2.7/edit?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",
    "images": [
      "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 · v2.7 · Edit பற்றி

சீனம் அல்லது ஆங்கிலத்தில் 2000 எழுத்துகள் வரையிலான உரை வழிமுறையிலிருந்து படங்களைத் திருத்துகிறது. `image_urls`-இல் 1 முதல் 4 படங்களை வழங்கி, ப்ராம்ப்ட்டில் அவற்றை image 1 முதல் image 4 வரை குறிப்பிடலாம். ஆறு `image_size` முன்வரையறைகள் உள்ளன; `num_images` 1-4 ஆகும். 500 எழுத்துகள் வரையிலான `negative_prompt` மற்றும் jpeg, png அல்லது webp ஆகிய `output_format` மதிப்புகள் ஆதரிக்கப்படுகின்றன.

அளவுருக்கள்

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

பெயர்வகை இயல்புநிலைஅனுமதிக்கப்பட்டது விளக்கம்
promptதேவை
வகைstring
≤ 2,000 எழுத்துகள்
சீனம் அல்லது ஆங்கிலத்தில் எழுதப்பட்ட, கோரப்பட்ட படத் திருத்தத்தின் விளக்கம்.
image_urlsதேவை images
வகைurl[] · image
1–4 திருத்தக் குறிப்புப் படங்கள் தேவை. ப்ராம்ப்ட் குறிப்புகள் வழங்கப்பட்ட வரிசையைப் பின்பற்றும்: image 1 முதல், image 2 இரண்டாவது, image 3 மூன்றாவது, image 4 நான்காவது.
negative_promptவிருப்பத்தேர்வு
வகைstring | null
இயல்புநிலை
≤ 500 எழுத்துகள்
விளைவாக வரும் படத்திலிருந்து விலக்க வேண்டிய உள்ளடக்கம்; அதிகபட்சம் 500 எழுத்துகள்.
image_sizeவிருப்பத்தேர்வு
வகைobject
இயல்புநிலைsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
வெளியீட்டுப் படத்தின் பரிமாணங்கள்.
num_imagesவிருப்பத்தேர்வு num_outputs
வகைinteger
இயல்புநிலை1
1 – 4
உருவாக்கத்திற்கான படங்களின் எண்ணிக்கை, 1 முதல் 4 வரை.
enable_prompt_expansionவிருப்பத்தேர்வு
வகைboolean
இயல்புநிலைtrue
DashScope ப்ராம்ப்ட் விரிவாக்கத்தைக் கட்டுப்படுத்துகிறது; இது படத் திருத்தப் பயன்முறையில் மட்டுமே கிடைக்கும்.
seedவிருப்பத்தேர்வு
வகைinteger | null
மீண்டும் உருவாக்கக்கூடிய முடிவுகளை வழங்கும் சீரற்ற விதை, 0 முதல் 2147483647 வரை.
enable_safety_checkerவிருப்பத்தேர்வு
வகைboolean
இயல்புநிலைtrue
உள்ளீடு மற்றும் வெளியீடு இரண்டிற்குமான moderation; கணக்கு அதை முடக்க அங்கீகரிக்கப்பட்டு, விருப்பம் அணைக்கப்படாவிட்டால் ஒவ்வொரு கோரிக்கையிலும் அமல்படுத்தப்படும்.
output_formatவிருப்பத்தேர்வு
வகைenum
இயல்புநிலைjpeg
jpegpngwebp
வெளியீட்டுப் படங்களுக்கான கோப்பு வடிவம்.
தேவை நியமப் பெயர், இதுவும் ஏற்கப்படும்

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

வெளியீடு

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.7/edit",
  "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": 30,
    "usd": "0.03",
    "charged": 30,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      }
    ],
    "seed": 42
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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 என்பது மாதிரியின் சொந்த முடிவு பொருளாகும்.
வெளியீட்டின் புலங்கள்
images
array of object {url, content_type, file_name, file_size}உருவாக்கத்தால் தயாரிக்கப்படும் படங்கள்.
seed
integerஉருவாக்கத்தின்போது பயன்படுத்தப்படும் விதை மதிப்பு.

மேலும் மாதிரிகள்: படத் திருத்தம்

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