{"description":"Translates image text using Google or Yandex (randomly selected)","endpoints":{"GET /languages":"List all supported languages","GET /status":"Check API status and memory usage","POST /cleanup":"Force cleanup of browsers and old files","POST /translate_image":{"description":"Translate image text (random backend selection)","example":"curl -X POST -F \"image=@photo.png\" -F \"target_language=English\" http://localhost:5000/translate_image","parameters":{"image":"Image file (required, form-data)","target_language":"Target language (optional, default: Russian)"}},"POST /translate_image/google":{"description":"Force translation through Google Translate","parameters":"Same as /translate_image"},"POST /translate_image/yandex":{"description":"Force translation through Yandex Translate","parameters":"Same as /translate_image"}},"name":"Unified Image Translation API","response_fields":{"backend_used":"Which backend was used (google or yandex)","execution_time_seconds":"Time taken for translation","success":"Boolean indicating success","translated_image":"Path to translated image","translated_text":"Extracted text (if available)"},"version":"1.0.0"}
