# Using image URLs
curl -X POST https://api.viscribe.ai/v1/images/compare \
-H "VISCRIBE-APIKEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"image1_url": "https://example.com/product1.jpg",
"image2_url": "https://example.com/product2.jpg",
"instruction": "Compare and highlight key differences"
}'
# Or using base64 encoded images
curl -X POST https://api.viscribe.ai/v1/images/compare \
-H "VISCRIBE-APIKEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"image1_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRg...",
"image2_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRg...",
"instruction": "Compare and highlight key differences"
}'
# Or mix and match (one URL, one base64)
curl -X POST https://api.viscribe.ai/v1/images/compare \
-H "VISCRIBE-APIKEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"image1_url": "https://example.com/product1.jpg",
"image2_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRg...",
"instruction": "Compare and highlight key differences"
}'