মডেল API পেজ
Wan Animate Replace API integration
Rivya Public API v1 দিয়ে Wan Animate Replace ব্যবহার করুন: model id wan-2-2-animate-replace, supported inputs, parameters, Files API rules, credits এবং response examples সহ।
Available via APIURL input readyভিডিও
API model id
wan-2-2-animate-replace
Inputs
url
Files API
minimal request-এর জন্য required নয়
Base credits
20
Capability
ভিডিও
Billing
FIXED
প্রম্পট সীমা
documented prompt limit নেই
Request contract
model id top level-এ পাঠান। Model-specific controls params-এ থাকবে।
| Key | Type | Required | Default | বিবরণ |
|---|---|---|---|---|
| model | string | Yes | wan-2-2-animate-replace | wan-2-2-animate-replace API model id ব্যবহার করুন। |
| prompt | string | No | - | text input support করে এমন models-এর prompt text। |
| params | object | No | - | Model-specific parameter object। allowed keys-এর জন্য নিচের rows ব্যবহার করুন। |
| client_request_id | string | No | - | আপনার system-এ requests trace করার optional client-side id। |
Model parameters
| Key | Type | Required | Default | Range | Options | বিবরণ |
|---|---|---|---|---|---|---|
| video_url | text | No | - | - | - | Generation service সরাসরি fetch করতে পারে এমন public video URL paste করুন। এই model local upload path নয়, MP4, MOV বা MKV-এর মতো hosted asset expect করে। |
| image_url | text | No | - | - | - | Public replacement image URL paste করুন। JPEG, PNG বা WebP সবচেয়ে ভালো কাজ করে; aspect ratio আলাদা হলে upstream service scale এবং center-crop করবে। |
| resolution | select | No | 480p | - | 480p, 580p, 720p | Current tiers হল `480p`, `580p` এবং `720p`। Higher output tier সাধারণত higher credit cost এবং longer wait বোঝায়। |
Minimal request
{
"model": "wan-2-2-animate-replace",
"params": {
"video_url": "https://example.com/input.mp4",
"image_url": "https://example.com/reference.png",
"resolution": "480p"
}
}Create response
create endpoint public task id return করে। task succeeds বা fails না করা পর্যন্ত status endpoint poll করুন।
{
"id": "task_wan_2_2_animate_replace_example",
"status": "queued",
"model": "wan-2-2-animate-replace",
"reserved_credits": 20,
"final_credits": 0,
"created_at": "2026-05-11T00:00:00.000Z",
"updated_at": "2026-05-11T00:00:00.000Z",
"result": null,
"error": null
}Common errors
validation_failed, insufficient_credits, idempotency_conflict, rate_limited, not_found
এই model model parameters দিয়ে public URL input accept করে।