pixai-openapi


Namepixai-openapi JSON
Version 0.0.2 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-06-27 13:31:04
maintainerNone
docs_urlNone
authorHTony03
requires_python>=3.8
licenseNone
keywords python
VCS
bugtrack_url
requirements requests pillow setuptools cryptography
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pixai_api_linker
A small program to connect to `pixai api` 

### future features
- [X] A pypi package with the basic features
- [ ] other possible features

### current features
- [x] link to api & generate/get pictures

### example code
```python
from pixai_openapi import *
import time

if __name__ == '__main__':
    pass

define_apikey('none')

genpic_data = gen_pic({
    "prompts":
        """GTS, GigaGTS, Cramped, PlanetaryGTS, Looming,solo,
    (((a giant girl))),(((a giant girl treads on a mini city))),1girl,
    (loli,wariza:1.5), cute girl,(((extremely kawaii girl))),((fill the screen)),
    full body,day:1.9,proving Earth is flat,horizon, city:2.8,(loli,small breasts),giantess
    , size difference, tall female,<lora:more_details:1>,giantess, size difference, tall female
    1girl, solo, long hair, looking at viewer, blush, smile, bangs, blue eyes, blonde hair,
    hair ornament, gloves, long sleeves, dress, sitting, very long hair, full body, braid, heart,
     multicolored hair, medium breasts, frills, wings, barefoot, fingerless gloves, nail polish,
     white dress, two side up,streaked hair, book, symbol-shaped pupils, thigh strap, halo, feathers,""",
    "enableTile": False,
    "negativePrompts": '(worst quality, low quality, large head, extra digits:1.4), easynegative,',
    "samplingSteps": 12,
    "samplingMethod": "Euler a",
    "cfgScale": 5,
    "modelId": "1648918115270508582",
    "width": 512,
    "height": 768,
    "batchSize": 4,
    "lora": {
        "More details": 1632808153143363282,
        "Giantess/Size Difference, Sizeplay Concept LoRA by SaRrow": 1664117894070404490
    }
})
time.sleep(25)
get_pic(get_pic_mediaid(genpic_data))

```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pixai-openapi",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "python",
    "author": "HTony03",
    "author_email": "HTony03 <HTony03@foxmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ca/f3/7adaad49e76988ed65054664ea1680328a0fa900751fc2df3fe53a5b30b2/pixai_openapi-0.0.2.tar.gz",
    "platform": null,
    "description": "# Pixai_api_linker\r\nA small program to connect to `pixai api` \r\n\r\n### future features\r\n- [X] A pypi package with the basic features\r\n- [ ] other possible features\r\n\r\n### current features\r\n- [x] link to api & generate/get pictures\r\n\r\n### example code\r\n```python\r\nfrom pixai_openapi import *\r\nimport time\r\n\r\nif __name__ == '__main__':\r\n    pass\r\n\r\ndefine_apikey('none')\r\n\r\ngenpic_data = gen_pic({\r\n    \"prompts\":\r\n        \"\"\"GTS, GigaGTS, Cramped, PlanetaryGTS, Looming,solo,\r\n    (((a giant girl))),(((a giant girl treads on a mini city))),1girl,\r\n    (loli,wariza:1.5), cute girl,(((extremely kawaii girl))),((fill the screen)),\r\n    full body,day:1.9,proving Earth is flat,horizon, city:2.8,(loli,small breasts),giantess\r\n    , size difference, tall female,<lora:more_details:1>,giantess, size difference, tall female\r\n    1girl, solo, long hair, looking at viewer, blush, smile, bangs, blue eyes, blonde hair,\r\n    hair ornament, gloves, long sleeves, dress, sitting, very long hair, full body, braid, heart,\r\n     multicolored hair, medium breasts, frills, wings, barefoot, fingerless gloves, nail polish,\r\n     white dress, two side up,streaked hair, book, symbol-shaped pupils, thigh strap, halo, feathers,\"\"\",\r\n    \"enableTile\": False,\r\n    \"negativePrompts\": '(worst quality, low quality, large head, extra digits:1.4), easynegative,',\r\n    \"samplingSteps\": 12,\r\n    \"samplingMethod\": \"Euler a\",\r\n    \"cfgScale\": 5,\r\n    \"modelId\": \"1648918115270508582\",\r\n    \"width\": 512,\r\n    \"height\": 768,\r\n    \"batchSize\": 4,\r\n    \"lora\": {\r\n        \"More details\": 1632808153143363282,\r\n        \"Giantess/Size Difference, Sizeplay Concept LoRA by SaRrow\": 1664117894070404490\r\n    }\r\n})\r\ntime.sleep(25)\r\nget_pic(get_pic_mediaid(genpic_data))\r\n\r\n```\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/HTony03/pixai-api-linker",
        "Issues": "https://github.com/HTony03/pixai-api-linker/issues"
    },
    "split_keywords": [
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ecb7cf9125b2f3364fd011283ecf9c86e9fd25dbb621dfd8350b625665b7869b",
                "md5": "f6e3b1931d7b0e386f64d642002d5b5e",
                "sha256": "c7b5424d94abeae63a6831394675c033cbdade8b281e5e50605485d9579699df"
            },
            "downloads": -1,
            "filename": "pixai_openapi-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f6e3b1931d7b0e386f64d642002d5b5e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 17503,
            "upload_time": "2024-06-27T13:31:02",
            "upload_time_iso_8601": "2024-06-27T13:31:02.843562Z",
            "url": "https://files.pythonhosted.org/packages/ec/b7/cf9125b2f3364fd011283ecf9c86e9fd25dbb621dfd8350b625665b7869b/pixai_openapi-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "caf37adaad49e76988ed65054664ea1680328a0fa900751fc2df3fe53a5b30b2",
                "md5": "7106b686b3447327ac266521deb37808",
                "sha256": "851b83b38744d26a503b08678941de4132770a63b270744bafed7690dddc8368"
            },
            "downloads": -1,
            "filename": "pixai_openapi-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7106b686b3447327ac266521deb37808",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 6480,
            "upload_time": "2024-06-27T13:31:04",
            "upload_time_iso_8601": "2024-06-27T13:31:04.838373Z",
            "url": "https://files.pythonhosted.org/packages/ca/f3/7adaad49e76988ed65054664ea1680328a0fa900751fc2df3fe53a5b30b2/pixai_openapi-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-27 13:31:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "HTony03",
    "github_project": "pixai-api-linker",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.32.3"
                ]
            ]
        },
        {
            "name": "pillow",
            "specs": [
                [
                    ">=",
                    "10.3.0"
                ]
            ]
        },
        {
            "name": "setuptools",
            "specs": [
                [
                    ">=",
                    "68.2.0"
                ]
            ]
        },
        {
            "name": "cryptography",
            "specs": [
                [
                    ">=",
                    "42.0.8"
                ]
            ]
        }
    ],
    "lcname": "pixai-openapi"
}
        
Elapsed time: 0.79023s