Skip to main content

High quality image generation by Microsoft Designer. Reverse engineered API.

Project description

Microsoft Designer API

Installation

bash pip3 install MicrosoftDesigner

Usage

$ python3 -m MicrosoftDesigner -h

options:
  -h, --help            show this help message and exit
  --user_id USER_ID     User ID
  --auth_token AUTH_TOKEN
                        Auth Token
  --session_id SESSION_ID
                        Session ID
  --prompt PROMPT       Prompt
  --save_path FILE_PATH
                        File Path to save the output (optional)
  --file_name FILE_NAME
                        File Name to save the output (optional)

Getting Started

  • Create a new user account or login Microsoft Designer
  • Open the developer tools and go to the network tab
  • Create a new image using random text
  • Find the request with post method and copy the request headers
  • Copy the user id, auth token and session id from the request headers
  • Run the script with the copied values
$ python3 -m MicrosoftDesigner --user_id <user_id> --auth_token <auth_token> --session_id <session_id> --prompt <prompt> --save_path <save_path> --file_name <file_name>

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

MicrosoftDesigner-0.0.4.tar.gz (16.4 kB view details)

Uploaded Source

File details

Details for the file MicrosoftDesigner-0.0.4.tar.gz.

File metadata

  • Download URL: MicrosoftDesigner-0.0.4.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for MicrosoftDesigner-0.0.4.tar.gz
Algorithm Hash digest
SHA256 4d6e40d85fe4ef2ffc3de38f75b0058a07a1e46197c65528f8e7773c1c4151b0
MD5 ff584c5171615481bd93a80b627985a8
BLAKE2b-256 90a93370e42191b07732659277cd195f4eb920496557f2d786f746f27987fee5

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