{"id":15584157,"url":"https://github.com/david-lor/python-qqddm","last_synced_at":"2025-04-24T03:48:26.712Z","repository":{"id":64225030,"uuid":"572667003","full_name":"David-Lor/python-qqddm","owner":"David-Lor","description":"Python wrapper for QQ \"Different Dimension Me\" AI (convert pictures into anime avatars)","archived":false,"fork":false,"pushed_at":"2023-01-07T16:07:38.000Z","size":4722,"stargazers_count":20,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-04-24T03:48:26.273Z","etag":null,"topics":["ai","anime","different-dimension-me","library","python","python3","qq","scraper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/David-Lor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-30T19:10:09.000Z","updated_at":"2025-02-19T05:26:54.000Z","dependencies_parsed_at":"2023-01-15T05:45:47.197Z","dependency_job_id":null,"html_url":"https://github.com/David-Lor/python-qqddm","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Lor%2Fpython-qqddm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Lor%2Fpython-qqddm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Lor%2Fpython-qqddm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Lor%2Fpython-qqddm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/David-Lor","download_url":"https://codeload.github.com/David-Lor/python-qqddm/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250560006,"owners_count":21450168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","anime","different-dimension-me","library","python","python3","qq","scraper"],"created_at":"2024-10-02T20:23:17.140Z","updated_at":"2025-04-24T03:48:26.685Z","avatar_url":"https://github.com/David-Lor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QQ's \"Different Dimension Me\" Animefier Python library\n\nPython wrapper for [QQ's \"Different Dimension Me\" AI](https://h5.tu.qq.com/web/ai-2d/cartoon/index) API, that applies an anime-theme to any given picture.\n\n## Installing\n\nThis package was developed \u0026 tested under Python 3.9. Available on [PyPI](https://pypi.org/project/qqddm):\n\n```bash\npip install --user qqddm\n```\n\n## Usage\n\nCheck the [example](example.py) code.\n\n### Known issues and limitations of the API\n\n- **Only pictures with human faces**: since 2022-12-06, the QQ's API became stricter with the pictures being converted, and requires them to have a human face.\n- **Forbidden images**: the QQ's API refuses to convert images with sensible or political content.\n\n## Changelog\n\nVersions 0.y.z are expected to be unstable, and the library API may change on Minor (y) releases.\n\n- 0.1.1\n  - Update to the new \"overseas\" API, which can be used from outside China\n  - Fix how images are downloaded using threads\n- 0.0.3\n  - Add new custom exception `ParamInvalidQQDDMApiResponseException`\n  - Refactor mapping of API response codes with custom exceptions, now done programatically, defining the corresponding response code on each exception class\n- 0.0.2\n  - Add new `x-sign` headers required by the API since 2022-12-06.\n  - Add new custom exceptions based on errors returned by the API: `VolumnLimitQQDDMApiResponseException`, `AuthFailedQQDDMApiResponseException`, `NotAllowedCountryQQDDMApiResponseException`, `NoFaceInPictureQQDDMApiResponseException`.\n- 0.0.1\n  - Initial release:\n    - Class-based interface.\n    - Pass an image (as bytes) and send it to QQ API, returning the resulting images URLs.\n    - Download the returned images URLs.\n    - Requests settings (different for QQ API and for downloading result images): request timeouts, proxy, user-agents.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-lor%2Fpython-qqddm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavid-lor%2Fpython-qqddm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-lor%2Fpython-qqddm/lists"}