Tencent Cloud TIAA SDK for Python provides image analysis capabilities including image recognition, content moderation, and image search. Current version 3.1.69. Releases follow TencentCloud SDK release cadence with occasional breaking changes due to API updates.
pip install tencentcloud-sdk-python-tiiaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Instantiates a TIAA client with credentials from environment variables and calls AssessQuality on an image URL.
Use 'from tencentcloud.tiia.v20190529 import tiia_client' instead of 'from tencentcloud.tiia import tiia_client'.
Import as 'from tencentcloud.tiia.v20190529 import tiia_client' and use 'tiia_client.TiiaClient'.
Use new method names as per API docs (e.g., 'RecognizeImage' instead of 'DetectCelebrity').
Set environment variables with correct names.
Use 'from tencentcloud.tiia.v20190529 import tiia_client' and then instantiate 'tiia_client.TiiaClient()'.
Use a supported region like 'ap-guangzhou' or check TIAA region availability.
Add 'from tencentcloud.tiia.v20190529 import models'.
Set 'TENCENTCLOUD_SECRET_ID' and 'TENCENTCLOUD_SECRET_KEY' environment variables, or pass them directly to Credential() constructor.