• Logo
    Hypereal AI
API
  • Playground
  • Dashboard
  • API Keys
  • Documentation
  • API Pricing
  • History
Toolkit
  • Chat
  • Virtual Try-OnNew
  • Design Studio
  • Talking AvatarNew
  • Workflow
Account
  • Affiliate50%
  • Billing
  • Settings
  • Blog
  • Changelog
  • Feedback
/
Personal Workspace
POST/v1/virtual-tryon

Virtual Try-On API

Generate try-on videos from person and garment images. Combines AI image editing with video generation in a single API call.

Request Parameters

ParameterTypeRequiredDescription
person_imagestringRequiredURL of the person/model image
garment_imagestringRequiredURL of the garment/clothing image
video_modelstringRequiredVideo generation model (see supported models below)
promptstringOptionalVideo motion description (default: natural walking)
durationnumberOptionalVideo duration: 5 or 10 seconds (default: 5)
webhook_urlstringOptionalURL to receive completion webhook

Supported Video Models

Model IDNameCredits
seedance-1-5-i2vSeedance 1.5 Pro60 + 5 (try-on)
kling-2-5-i2vKling 2.542 + 5 (try-on)
kling-2-6-i2v-proKling 2.6 Pro50 + 5 (try-on)
wan-2-5-i2vWan 2.542 + 5 (try-on)
wan-2-6-i2vWan 2.642 + 5 (try-on)
veo-3-1-i2vVeo 3.185 + 5 (try-on)
sora-2-i2vSora 2100 + 5 (try-on)

Total credits = Video model credits + 5 credits for try-on image generation

Example Request

curl -X POST "https://api.hypereal.tech/v1/virtual-tryon" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "person_image": "https://example.com/person.jpg",
    "garment_image": "https://example.com/garment.jpg",
    "video_model": "seedance-1-5-i2v",
    "prompt": "The model walks elegantly showing the outfit",
    "duration": 5
  }'

Response

The API returns immediately with a job ID. Poll the pollUrl to check status.

Processing Response

{
  "status": "processing",
  "jobId": "task_abc123",
  "tryonImageUrl": "https://cdn.hypereal.tech/tryon/xxx.jpg",
  "pollUrl": "/api/v1/jobs/task_abc123"
}

Completed Response (from polling)

{
  "status": "completed",
  "outputUrl": "https://cdn.hypereal.tech/videos/xxx.mp4",
  "tryonImageUrl": "https://cdn.hypereal.tech/tryon/xxx.jpg",
  "jobId": "task_abc123"
}

How It Works

1

Try-On Image Generation

AI combines person and garment images to create a realistic try-on image using Qwen Image Edit.

2

Video Generation

The try-on image is animated using your selected video model to create natural movement.

3

Result Delivery

Poll the job status or receive a webhook when the video is ready.

Ready to get started?

Get your API key and start generating try-on videos.