কনটেন্টে যান

Wan · v2.2 A14b · Image to Image

ইন্টিগ্রেট করুন

মডেল id wan/v2.2-a14b/image-to-image
# 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.2-a14b/image-to-image?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"

এই অনুরোধ: ০.০৫$ ৫০ API ক্রেডিট এই পেজে চালান

API কী পান
Alibaba ছবি সম্পাদনা #image-to-image

মূল ছবি রাখা বা পুনর্নির্মাণের জন্য সামঞ্জস্যযোগ্য ডিনয়জিং শক্তিসহ Wan 2.2 A14B ইমেজ-টু-ইমেজ

Doitong-এ তৈরি

Doitong কমিউনিটির Wan v2.2 A14b দিয়ে তৈরি পাবলিক কাজ। এক ক্লিকে একটি প্রম্পট পুনরায় ব্যবহার করুন।

দেখানো পাবলিক কাজ: 5
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...

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, c... ভিডিও

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, cinematic Christmas short film, high-quality realistic 3D animation. REFERENCE IMAGE — DASHA_001 Use the uploaded image as the exact character reference for Dasha. Preserve her recognizable face,...

একটি অনুরোধ তৈরি করুন

মডেল স্কিমা থেকে কন্ট্রোল তৈরি করা হয়। এগুলো পরিবর্তন করলে কোড ও মূল্য আপডেট হয়।

•আবশ্যক

জেনারেট করা ছবিকে নির্দেশনা দেওয়া টেক্সট।

•আবশ্যক image_url
একটি ফাইল ড্রপ করুন, অথবা

ইনপুট ছবির দিকে নির্দেশ করা URL।

aspect_ratio ডিফল্ট auto

জেনারেট করা ছবির অনুপাত স্পষ্টভাবে নির্ধারণ করুন অথবা 'auto' বেছে নিন, যাতে ইনপুট ছবি স্বয়ংক্রিয়ভাবে অনুপাত নির্ধারণ করে।

image_size
অ্যাডভান্সড negative_prompt · acceleration · image_format · strength · num_inference_steps · guidance_scale · guidance_scale_2 · shift · seed · enable_safety_checker · enable_output_safety_checker · enable_prompt_expansion
ডিফল্ট

ভিডিও জেনারেশনের সময় প্রয়োগ করা negative প্রম্পট।

acceleration ডিফল্ট regular

অ্যাক্সেলারেশন সেটিং, যেখানে 'regular' প্রস্তাবিত পছন্দ। অ্যাক্সেলারেশন বাড়ালে জেনারেশনের সময় কমে, তবে গুণমান কমে।

image_format ডিফল্ট jpeg

ফলস্বরূপ ছবির ফাইল ফরম্যাট।

ডিফল্ট 0.5

ডিনয়েজিংয়ের তীব্রতা: 1.0 ছবিটি সম্পূর্ণ পুনরায় তৈরি করে, আর 0.0 মূল ছবিকে অপরিবর্তিত রাখে।

ডিফল্ট 27

Sampling step-এর সংখ্যা; সংখ্যা বাড়ার সঙ্গে processing time বাড়ে এবং quality উন্নত হয়।

ডিফল্ট 3.5

classifier-free guidance-এর strength।

ডিফল্ট 4

মডেল তার দ্বিতীয় পর্যায়ে কতটা ঘনিষ্ঠভাবে প্রম্পট অনুসরণ করবে তা নিয়ন্ত্রণকারী গাইডেন্স স্কেল।

ডিফল্ট 2

পুনরুৎপাদনযোগ্য জেনারেশনের জন্য সিড। এটিকে None সেট করলে এলোমেলোভাবে একটি সিড নির্বাচন করা হয়।

POST /run/wan/v2.2-a14b/image-to-image?wait=20 মূল্য → ০.০৫$
# 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.2-a14b/image-to-image?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-তে পাঠানো হয় এবং Remember টিক দিলে কেবল localStorage-এ সংরক্ষিত হয়। একটি API কী পান

Wan · v2.2 A14b · Image to Image সম্পর্কে

একটি ইনপুট ছবি (`image_url`) টেক্সট `prompt` অনুসরণ করে সম্পাদনা করে। 0 থেকে 1 পর্যন্ত `strength` কতটা পুনর্নির্মাণ হবে তা নির্ধারণ করে; 1 মানে সম্পূর্ণ পুনর্নির্মাণ এবং 0 মানে মূল ছবি অপরিবর্তিত রাখা। অ্যাসপেক্ট রেশিও ইনপুট অনুযায়ী স্বয়ংক্রিয়ভাবে অনুসরণ করতে পারে, অথবা 16:9, 9:16 বা 1:1 হতে পারে। দুটি গাইডেন্স স্কেল এর দুই ধাপ কভার করে, এবং আউটপুট png বা jpeg।

প্যারামিটার

ক্যানোনিকাল নাম অথবা নেটিভ নাম—দুটো একসঙ্গে নয়—পাঠান। ক্যানোনিকাল নামগুলো

নামধরন ডিফল্টঅনুমোদিত বিবরণ
image_urlআবশ্যক image
ধরনurl · image
ইনপুট ছবির দিকে নির্দেশ করা URL।
promptআবশ্যক
ধরনstring
জেনারেট করা ছবিকে নির্দেশনা দেওয়া টেক্সট।
strengthঐচ্ছিক
ধরনnumber
ডিফল্ট0.5
০ – ১
ডিনয়েজিংয়ের তীব্রতা: 1.0 ছবিটি সম্পূর্ণ পুনরায় তৈরি করে, আর 0.0 মূল ছবিকে অপরিবর্তিত রাখে।
negative_promptঐচ্ছিক
ধরনstring
ডিফল্ট
ভিডিও জেনারেশনের সময় প্রয়োগ করা negative প্রম্পট।
seedঐচ্ছিক
ধরনinteger | null
পুনরুৎপাদনযোগ্য জেনারেশনের জন্য সিড। এটিকে None সেট করলে এলোমেলোভাবে একটি সিড নির্বাচন করা হয়।
aspect_ratioঐচ্ছিক
ধরনenum
ডিফল্টauto
auto16:99:161:1
জেনারেট করা ছবির অনুপাত স্পষ্টভাবে নির্ধারণ করুন অথবা 'auto' বেছে নিন, যাতে ইনপুট ছবি স্বয়ংক্রিয়ভাবে অনুপাত নির্ধারণ করে।
num_inference_stepsঐচ্ছিক
ধরনinteger
ডিফল্ট27
২ – ৪০
Sampling step-এর সংখ্যা; সংখ্যা বাড়ার সঙ্গে processing time বাড়ে এবং quality উন্নত হয়।
enable_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টfalse
প্রসেসিংয়ের আগে ইনপুট সেফটি স্ক্রিনিং, যা কেবল অনুমোদিত অ্যাকাউন্ট বন্ধ করতে পারে। অনুমোদনহীন রিকোয়েস্ট সবসময় স্ক্রিন করা হয়; অন্যথায় true মান স্ক্রিনিং সক্রিয় করে।
enable_output_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টfalse
জেনারেট করা ভিডিওর সেফটি স্ক্রিনিং নিয়ন্ত্রণ করে; true সেট করলে জেনারেশনের পর পরীক্ষা সক্রিয় হয়।
enable_prompt_expansionঐচ্ছিক
ধরনboolean
ডিফল্টfalse
একটি large language মডেল-কে বিশদসহ প্রম্পট সমৃদ্ধ করার অনুমতি দেয়। এই সম্প্রসারণ সক্রিয় করলেও প্রম্পটের অর্থ অপরিবর্তিত থাকে।
accelerationঐচ্ছিক
ধরনenum
ডিফল্টregular
noneregular
অ্যাক্সেলারেশন সেটিং, যেখানে 'regular' প্রস্তাবিত পছন্দ। অ্যাক্সেলারেশন বাড়ালে জেনারেশনের সময় কমে, তবে গুণমান কমে।
guidance_scaleঐচ্ছিক
ধরনnumber
ডিফল্ট3.5
১ – ১০
classifier-free guidance-এর strength।
guidance_scale_2ঐচ্ছিক
ধরনnumber
ডিফল্ট4
১ – ১০
মডেল তার দ্বিতীয় পর্যায়ে কতটা ঘনিষ্ঠভাবে প্রম্পট অনুসরণ করবে তা নিয়ন্ত্রণকারী গাইডেন্স স্কেল।
shiftঐচ্ছিক
ধরনnumber
ডিফল্ট2
১ – ১০
image_sizeঐচ্ছিক
ধরনobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
image_formatঐচ্ছিক
ধরনenum
ডিফল্টjpeg
pngjpeg
ফলস্বরূপ ছবির ফাইল ফরম্যাট।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

ফাইল প্যারামিটার হিসেবে একটি পাবলিক https:// URL, 10 MB পর্যন্ত একটি data: URI, অথবা আপলোডের file_url গ্রহণ করা হয়। ফাইল

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.2-a14b/image-to-image",
  "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": 50,
    "usd": "0.05",
    "charged": 50,
    "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": {
    "image": {
      "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
    },
    "prompt": "A cinematic portrait of a woman in natural light, 85mm look.",
    "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= অনুযায়ী বিনামূল্যে ৭ দিন পর্যন্ত।
প্রতিটি মডেলে একই গঠনছবি, ভিডিও এবং অডিও—সব ক্ষেত্রেই type, url, content_type, width, height এবং duration। output হলো মডেলের নিজস্ব ফলাফল অবজেক্ট।
আউটপুটের ফিল্ড
image
object {url, content_type, file_name, file_size}জেনারেশনে তৈরি ছবি ফাইল।
prompt
stringছবি জেনারেট করতে ব্যবহৃত টেক্সট প্রম্পট।
seed
integerজেনারেশনের সময় প্রয়োগ করা সিডের মান।

AI এজেন্টদের জন্য: এই পৃষ্ঠাটি Markdown হিসেবে এখানে আছে https://doitong.com/bn/developers/models/wan/v2.2-a14b/image-to-image.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt