ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Wan · v2.2 5b · Text to Image

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id wan/v2.2-5b/text-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-5b/text-to-image?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"
  }'

# 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.016 16 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ

ਛੇ ਪ੍ਰੀਸੈੱਟ ਆਕਾਰਾਂ, PNG ਜਾਂ JPEG ਆਉਟਪੁੱਟ ਅਤੇ ਬਦਲਣਯੋਗ ਸੈਂਪਲਿੰਗ ਸਟੈਪਾਂ ਵਾਲਾ ਸੰਖੇਪ 5B ਟੈਕਸਟ-ਟੂ-ਇਮੇਜ ਮਾਡਲ

Doitong ’ਤੇ ਬਣਾਇਆ ਗਿਆ

Doitong ਭਾਈਚਾਰੇ ਵੱਲੋਂ Wan v22 ਨਾਲ ਬਣਾਏ ਜਨਤਕ ਕੰਮ। ਇੱਕ ਕਲਿੱਕ ਨਾਲ ਪ੍ਰੌਮਪਟ ਦੁਬਾਰਾ ਵਰਤੋ।

ਦਿਖਾਏ ਗਏ ਜਨਤਕ ਕੰਮ: 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_size ਡਿਫ਼ਾਲਟ square_hd

ਸਿਰਜੇ ਗਏ ਚਿੱਤਰ ਦੇ ਮਾਪ।

ਉੱਨਤ negative_prompt · image_format · num_inference_steps · guidance_scale · shift · seed · enable_safety_checker · enable_output_safety_checker · enable_prompt_expansion
ਡਿਫ਼ਾਲਟ

ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਲਾਗੂ ਕੀਤਾ negative ਪ੍ਰੌਂਪਟ।

image_format ਡਿਫ਼ਾਲਟ jpeg

ਨਤੀਜੇ ਵਾਲੇ ਚਿੱਤਰ ਦਾ ਫ਼ਾਈਲ ਫ਼ਾਰਮੈਟ।

ਡਿਫ਼ਾਲਟ 40

Sampling ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ; ਗਿਣਤੀ ਵਧਣ ਨਾਲ ਵੱਧ ਪ੍ਰੋਸੈਸਿੰਗ ਸਮੇਂ ਦੇ ਬਦਲੇ ਬਿਹਤਰ ਗੁਣਵੱਤਾ ਮਿਲਦੀ ਹੈ।

ਡਿਫ਼ਾਲਟ 3.5

Classifier-free guidance ਦੀ ਤਾਕਤ; scale ਵਧਣ ਨਾਲ ਸੰਭਾਵਿਤ ਗੁਣਵੱਤਾ ਘਾਟ ਦੇ ਬਦਲੇ ਪ੍ਰੌਂਪਟ ਨਾਲ ਵਧੇਰੇ ਮਿਲਾਪ ਮਿਲਦਾ ਹੈ।

ਡਿਫ਼ਾਲਟ 2

ਚਿੱਤਰ ਸ਼ਿਫ਼ਟ ਸੈਟਿੰਗ, ਜਿਸ ਦੀ ਮਨਜ਼ੂਰਸ਼ੁਦਾ ਸੀਮਾ 1.0–10.0 ਹੈ।

ਸਿਰਜਣਾ ਨੂੰ ਦੁਹਰਾਉਣਯੋਗ ਬਣਾਉਣ ਵਾਲਾ ਸੀਡ। ਇਸਨੂੰ None ਸੈੱਟ ਕਰਨ ਨਾਲ ਸੀਡ ਬੇਤਰਤੀਬੇ ਢੰਗ ਨਾਲ ਚੁਣਿਆ ਜਾਂਦਾ ਹੈ।

POST /run/wan/v2.2-5b/text-to-image?wait=20 ਕੋਟ → $0.016
# 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-5b/text-to-image?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"
  }'

# 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 · v2.2 5b · Text to Image ਬਾਰੇ

ਟੈਕਸਟ `prompt` ਤੋਂ ਸਟਿਲ ਤਸਵੀਰ ਬਣਾਉਂਦਾ ਹੈ। `square_hd`, `portrait_16_9` ਜਾਂ `landscape_4_3` ਵਰਗਾ `image_size` ਪ੍ਰੀਸੈੱਟ ਚੁਣੋ ਅਤੇ `image_format` ਨਾਲ png ਜਾਂ jpeg ਚੁਣੋ। ਸੈਂਪਲਿੰਗ ਨੂੰ `num_inference_steps` (2 ਤੋਂ 50), `guidance_scale` (1 ਤੋਂ 10) ਅਤੇ `shift` ਨਾਲ ਬਦਲਿਆ ਜਾ ਸਕਦਾ ਹੈ; `negative_prompt` ਅਤੇ ਵਿਕਲਪਿਕ ਪ੍ਰੌਂਪਟ ਵਿਸਥਾਰ ਵੀ ਉਪਲਬਧ ਹਨ।

ਪੈਰਾਮੀਟਰ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਸਿਰਜੇ ਗਏ ਚਿੱਤਰ ਨੂੰ ਦਿਸ਼ਾ ਦੇਣ ਵਾਲੀਆਂ ਪਾਠ ਹਦਾਇਤਾਂ।
negative_promptਵਿਕਲਪਿਕ
ਕਿਸਮstring
ਡਿਫ਼ਾਲਟ
ਵੀਡੀਓ ਸਿਰਜਣ ਵੇਲੇ ਲਾਗੂ ਕੀਤਾ negative ਪ੍ਰੌਂਪਟ।
seedਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਸਿਰਜਣਾ ਨੂੰ ਦੁਹਰਾਉਣਯੋਗ ਬਣਾਉਣ ਵਾਲਾ ਸੀਡ। ਇਸਨੂੰ None ਸੈੱਟ ਕਰਨ ਨਾਲ ਸੀਡ ਬੇਤਰਤੀਬੇ ਢੰਗ ਨਾਲ ਚੁਣਿਆ ਜਾਂਦਾ ਹੈ।
num_inference_stepsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ40
2 – 50
Sampling ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ; ਗਿਣਤੀ ਵਧਣ ਨਾਲ ਵੱਧ ਪ੍ਰੋਸੈਸਿੰਗ ਸਮੇਂ ਦੇ ਬਦਲੇ ਬਿਹਤਰ ਗੁਣਵੱਤਾ ਮਿਲਦੀ ਹੈ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਪ੍ਰੋਸੈਸਿੰਗ ਤੋਂ ਪਹਿਲਾਂ ਇਨਪੁੱਟ ਸੁਰੱਖਿਆ ਜਾਂਚ, ਜਿਸਨੂੰ ਸਿਰਫ਼ ਅਧਿਕਾਰਤ ਖਾਤੇ ਬੰਦ ਕਰ ਸਕਦੇ ਹਨ। ਅਧਿਕਾਰ ਤੋਂ ਬਿਨਾਂ ਬੇਨਤੀਆਂ ਦੀ ਹਮੇਸ਼ਾ ਜਾਂਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ; ਨਹੀਂ ਤਾਂ true ਜਾਂਚ ਚਾਲੂ ਕਰਦਾ ਹੈ।
enable_output_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਸਿਰਜੇ ਗਏ ਵੀਡੀਓ ਦੀ ਸੁਰੱਖਿਆ ਜਾਂਚ ਨੂੰ ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ; true ਸੈਟ ਕਰਨ ਨਾਲ ਸਿਰਜਣਾ ਤੋਂ ਬਾਅਦ ਜਾਂਚ ਚਾਲੂ ਹੁੰਦੀ ਹੈ।
enable_prompt_expansionਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਵੱਡੇ ਭਾਸ਼ਾਈ ਮਾਡਲ ਨੂੰ ਵੇਰਵਿਆਂ ਨਾਲ ਪ੍ਰੌਂਪਟ ਨੂੰ ਸਮ੍ਰਿੱਧ ਕਰਨ ਦਿਓ। ਇਹ ਵਿਸਤਾਰ ਚਾਲੂ ਕਰਨ ਨਾਲ ਪ੍ਰੌਂਪਟ ਦਾ ਅਰਥ ਨਹੀਂ ਬਦਲਦਾ।
guidance_scaleਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ3.5
1 – 10
Classifier-free guidance ਦੀ ਤਾਕਤ; scale ਵਧਣ ਨਾਲ ਸੰਭਾਵਿਤ ਗੁਣਵੱਤਾ ਘਾਟ ਦੇ ਬਦਲੇ ਪ੍ਰੌਂਪਟ ਨਾਲ ਵਧੇਰੇ ਮਿਲਾਪ ਮਿਲਦਾ ਹੈ।
shiftਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ2
1 – 10
ਚਿੱਤਰ ਸ਼ਿਫ਼ਟ ਸੈਟਿੰਗ, ਜਿਸ ਦੀ ਮਨਜ਼ੂਰਸ਼ੁਦਾ ਸੀਮਾ 1.0–10.0 ਹੈ।
image_sizeਵਿਕਲਪਿਕ
ਕਿਸਮobject
ਡਿਫ਼ਾਲਟsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
ਸਿਰਜੇ ਗਏ ਚਿੱਤਰ ਦੇ ਮਾਪ।
image_formatਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟjpeg
pngjpeg
ਨਤੀਜੇ ਵਾਲੇ ਚਿੱਤਰ ਦਾ ਫ਼ਾਈਲ ਫ਼ਾਰਮੈਟ।
ਲੋੜੀਂਦਾ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.2-5b/text-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": 16,
    "usd": "0.016",
    "charged": 16,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    },
    "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-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
image
object {url, content_type, file_name, file_size}ਸਿਰਜਣਾ ਦੁਆਰਾ ਤਿਆਰ ਕੀਤੀ ਚਿੱਤਰ ਫ਼ਾਈਲ।
seed
integerਸਿਰਜਣਾ ਦੌਰਾਨ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਸੀਡ ਮੁੱਲ।

ਹੋਰ ਮਾਡਲ: ਟੈਕਸਟ ਤੋਂ ਚਿੱਤਰ

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/wan/v2.2-5b/text-to-image.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt