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

Versions

v0.0.2.dev5 add some features & fix bugs & save api key safely in the sortage

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.dev5.tar.gz (6.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pixai_openapi-0.0.2.dev5.tar.gz
  • Upload date:
  • Size: 6.9 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.dev5.tar.gz
Algorithm Hash digest
SHA256 287688d32dada5218cc1330895b7e4c24759419f0e8adc4257f46c1027aed04d
MD5 e7b1a93db41cedbf4303a4371d2ddbfc
BLAKE2b-256 a862fa65c27d4973e3e99963901286ba22baca0dabeed0872c963c172663675f

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