FastApi-GeminiApi/postman_collection.json
2025-11-16 18:30:04 +03:30

69 lines
1.3 KiB
JSON

{
"info": {
"name": "AIFit Try-On Service",
"description": "Collection for testing the AIFit FastAPI service",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Health Check",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/health",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"health"
]
},
"description": "Check if the service is running and healthy"
},
"response": []
},
{
"name": "Try-On",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "user_photo",
"type": "file",
"src": [],
"description": "User mirror/body photo (JPEG or PNG)"
},
{
"key": "outfit_photo",
"type": "file",
"src": [],
"description": "Collection/outfit photo (JPEG or PNG)"
}
]
},
"url": {
"raw": "http://localhost:8000/api/try-on/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"try-on",
""
]
},
"description": "User photo + outfit photo → edited image"
},
"response": []
}
]
}