Production Ready · Async API

The AI API for
Creative Workflows

Faceswap, Video Processing, Image Generation, Upscale, Virtual Try-On — all through one unified async API with real-time webhooks and Server-Sent Events.

Get Started 🧪 Try Live Demo
Jobs Today
9+
AI Models
Avg Time (s)
99.9%
Uptime

Everything you need

Eight powerful AI features, one consistent API. Submit a job, get a webhook callback or stream events in real-time.

🎭

Faceswap

Single & multi-face swap with high accuracy. Supports images up to 20MB with optional auto upscale output.

faceswap · faceswap_multi
🎬

Video Faceswap

Frame-by-frame face replacement in videos. Original audio is preserved; multiple GPU backends for throughput.

faceswap_video
🔍

Upscale & Beauty

Super-resolution upscaling up to 4× with AI beauty enhancement presets (Natural, Glamour, Studio).

upscale
👗

Virtual Try-On

AI-powered virtual clothing try-on. Upload a person photo and a garment image to visualise the result instantly.

try_on
🎨

AHV Image Gen

AI-powered image generation and transformation with customisable style, resolution and parameter control.

ahv_image
📹

AHV Video Gen

AI video generation and processing with advanced neural rendering. Ideal for short-form creative content.

ahv_video
✂️

Remove Object

Precision AI object removal with intelligent background inpainting. Supply a mask or let the model detect automatically.

remove_object
🪄

Remove Background

One-click background removal with crisp edge detection. Returns a transparent PNG ready for compositing.

remove_bg · scan

How it works

Submit, track, receive. The full async loop in four steps.

1

Submit a job

POST your images/URLs and parameters to /submit. Receive a job_id immediately — no waiting.

2

Queue & process

Your job is queued and dispatched to the next available GPU backend. Estimated time is returned on submission.

3

Track in real-time

Subscribe to /events/{job_id} via Server-Sent Events, or receive a webhook POST to your URL when done.

4

Retrieve results

Poll /status/{job_id} or use the webhook payload — both contain the result URL and metadata.

# 1. Submit a faceswap job
curl -X POST https://ai.ahvchat.com/submit \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "faceswap",
    "source_url": "https://example.com/face.jpg",
    "target_url": "https://example.com/target.jpg",
    "webhook_url": "https://yourapp.com/webhook"
  }'

# 2. Response → job_id
# { "job_id": "abc123", "status": "queued", "pred_s": 12 }

# 3. Check status
curl https://ai.ahvchat.com/status/abc123 \
  -H "X-API-Key: your_api_key"

Simple, transparent pricing

Start for free, scale as you grow. All plans include access to every API endpoint.

Starter
$0
Free forever
  • 100 jobs / month
  • All 8 API endpoints
  • Webhook callbacks
  • SSE real-time events
  • Priority queue
  • SLA guarantee
  • Dedicated support
Get started free
Enterprise
Custom
Volume pricing
  • Unlimited jobs
  • All 8 API endpoints
  • Webhook callbacks
  • SSE real-time events
  • Priority queue
  • 99.9% uptime SLA
  • Dedicated support
Contact sales

Contact us

Questions about the API, custom plans, or integration support? We're here to help.

Talk to the team

Reach us directly on Telegram for fastest response, or send an email and we'll get back within 24 hours.


Quick access