Skip to main content

No project description provided

Project description

Pixai_api_linker

A small program to connect to pixai api

future features

  • A pypi package with the basic features
  • other possible features

current features

  • link to api & generate/get pictures

example code

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))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pixai_openapi-0.0.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

pixai_openapi-0.0.2-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file pixai_openapi-0.0.2.tar.gz.

File metadata

  • Download URL: pixai_openapi-0.0.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pixai_openapi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 851b83b38744d26a503b08678941de4132770a63b270744bafed7690dddc8368
MD5 7106b686b3447327ac266521deb37808
BLAKE2b-256 caf37adaad49e76988ed65054664ea1680328a0fa900751fc2df3fe53a5b30b2

See more details on using hashes here.

File details

Details for the file pixai_openapi-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pixai_openapi-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c7b5424d94abeae63a6831394675c033cbdade8b281e5e50605485d9579699df
MD5 f6e3b1931d7b0e386f64d642002d5b5e
BLAKE2b-256 ecb7cf9125b2f3364fd011283ecf9c86e9fd25dbb621dfd8350b625665b7869b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page