دمج معالجة الصور الاحترافية في تطبيقاتك. ذكاء اصطناعي متطور لصور المستندات واكتشاف الوجوه والمزيد.
جميع طلبات API تتطلب مفتاح API
Authorization: Bearer isp_your_api_key_here
نقاط نهاية قوية لجميع احتياجات معالجة الصور الخاصة بك
/api/v1/remove-background
إزالة الخلفية من الصورة بدقة متناهية. يُرجع PNG شفاف أو يطبق لون خلفية مخصص.
curl -X POST https://api.ishotaphoto.com/v1/remove-background \
-H "Authorization: Bearer isp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/photo.jpg",
"output_format": "png",
"background_color": null
}'
{
"success": true,
"credits_used": 1,
"credits_remaining": 249,
"result": {
"image_url": "https://cdn.ishotaphoto.com/results/abc123.png",
"expires_at": "2025-01-08T12:00:00Z"
}
}
/api/v1/replace-background
استبدال الخلفيات بألوان صلبة أو تدرجات أو صور مخصصة. مثالي لتصوير المنتجات والصور الشخصية.
curl -X POST https://api.ishotaphoto.com/v1/replace-background \
-H "Authorization: Bearer isp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/photo.jpg",
"background": {
"type": "color",
"value": "#FFFFFF"
}
}'
{
"success": true,
"credits_used": 1,
"credits_remaining": 248,
"result": {
"image_url": "https://cdn.ishotaphoto.com/results/def456.jpg",
"expires_at": "2025-01-08T12:00:00Z"
}
}
/api/v1/detect-faces
اكتشاف وتحديد موقع الوجوه في الصور مع مربعات الإحاطة ودرجات الثقة ودعم الوجوه المتعددة.
curl -X POST https://api.ishotaphoto.com/v1/detect-faces \
-H "Authorization: Bearer isp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/photo.jpg"
}'
{
"success": true,
"credits_used": 1,
"faces": [
{
"confidence": 0.98,
"bounding_box": {
"x": 120, "y": 80,
"width": 200, "height": 250
}
}
]
}
/api/v1/detect-emotions
تحليل تعابير الوجه لاكتشاف المشاعر مثل السعادة والمفاجأة والحياد والمزيد مع درجات الثقة.
curl -X POST https://api.ishotaphoto.com/v1/detect-emotions \
-H "Authorization: Bearer isp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/photo.jpg"
}'
{
"success": true,
"credits_used": 1,
"faces": [
{
"emotions": {
"neutral": 0.85,
"happy": 0.10,
"surprised": 0.03,
"sad": 0.02
}
}
]
}
/api/v1/detect-keypoints
اكتشاف أكثر من 68 نقطة معلم للوجه بما في ذلك العينين والأنف والفم وخط الفك للتحليل والمحاذاة الدقيقة للوجه.
curl -X POST https://api.ishotaphoto.com/v1/detect-keypoints \
-H "Authorization: Bearer isp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/photo.jpg"
}'
{
"success": true,
"credits_used": 1,
"faces": [
{
"keypoints": {
"left_eye": {"x": 180, "y": 120},
"right_eye": {"x": 260, "y": 118},
"nose_tip": {"x": 220, "y": 170},
"mouth_center": {"x": 222, "y": 210}
}
}
]
}
/api/v1/generate-passport-photo
إنشاء صور جواز سفر وتأشيرة متوافقة لأكثر من 100 دولة. قص تلقائي وتغيير الحجم وتطبيق المواصفات الصحيحة.
curl -X POST https://api.ishotaphoto.com/v1/generate-passport-photo \
-H "Authorization: Bearer isp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/photo.jpg",
"country_code": "US",
"document_type": "passport"
}'
{
"success": true,
"credits_used": 1,
"result": {
"image_url": "https://cdn.ishotaphoto.com/results/ghi789.jpg",
"dimensions": {"width": 600, "height": 600},
"dpi": 300,
"compliant": true
}
}
/api/v1/validate-photo
التحقق من صحة الصور وفقًا للمتطلبات الرسمية. فحص الأبعاد والخلفية ووضع الوجه والتعبير والمزيد.
curl -X POST https://api.ishotaphoto.com/v1/validate-photo \
-H "Authorization: Bearer isp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/photo.jpg",
"country_code": "US",
"document_type": "passport"
}'
{
"success": true,
"credits_used": 1,
"valid": false,
"checks": {
"face_detected": {"pass": true},
"background": {"pass": false, "reason": "Not white"},
"head_position": {"pass": true},
"expression": {"pass": true, "value": "neutral"}
}
}
/api/v1/enhance-image
تحسين مدعوم بالذكاء الاصطناعي للسطوع والتباين والحدة وتصحيح الألوان. مثالي للتحميلات منخفضة الجودة.
curl -X POST https://api.ishotaphoto.com/v1/enhance-image \
-H "Authorization: Bearer isp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/photo.jpg",
"enhancements": ["brightness", "sharpness", "denoise"]
}'
{
"success": true,
"credits_used": 1,
"result": {
"image_url": "https://cdn.ishotaphoto.com/results/jkl012.jpg",
"enhancements_applied": ["brightness", "sharpness", "denoise"],
"expires_at": "2025-01-08T12:00:00Z"
}
}
/api/v1/estimate-head-pose
اكتشاف اتجاه الرأس بزوايا الميل والانحراف والدوران. ضروري للتحقق من الصور الأمامية.
curl -X POST https://api.ishotaphoto.com/v1/estimate-head-pose \
-H "Authorization: Bearer isp_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/photo.jpg"
}'
{
"success": true,
"credits_used": 1,
"faces": [
{
"pose": {
"pitch": 2.5,
"yaw": -1.2,
"roll": 0.8
},
"front_facing": true
}
]
}
رصيد واحد = استدعاء API واحد. بدون اشتراكات، ادفع فقط مقابل ما تستخدمه.
مصممة للمطورين، موثوقة من قبل المؤسسات
متوسط وقت الاستجابة أقل من 500 مللي ثانية لمعظم العمليات
متوافق مع SOC 2 مع تشفير من طرف إلى طرف
بنية تحتية موثوقة مع CDN عالمي
دعم ذو أولوية لعملاء المؤسسات
اتصل بنا للحصول على مفتاح API الخاص بك وابدأ التكامل اليوم. خطط مؤسسية مخصصة متاحة لاحتياجات الحجم الكبير.