Skip to main content

High quality image generation by ideogram.ai. Reverse engineered API.

Project description

IdeoImageCreator

About High quality image generation by ideogram. Reverse engineered API.

How to

  • Login to https://ideogram.ai and generate some images.
  • Use Chrome or other browsers to inspect the network requests (F12 -> XHR).
  • Clone this REPO -> git clone https://github.com/flowese/IdeogramWrapper.git
  • Copy the cookie.
  • Copy the Bearer token.
  • Copy your user name.
  • Export IDEO_COOKIE='xxxxx'.
  • Export IDEO_AUTH_TOKEN='xxxxx' (found after Bearer in the HEADERS of the requests).
  • Export IDEO_USER_ID='xxxxx'.

Usage

python -m ideo --prompt 'a big red cat'

or

pip install -U ideo
from ideo import ImageGen
i = ImageGen('cookie', 'user_id', 'auth_token') # Replace 'cookie', 'user_id', and 'auth_token' with your own values
print(i.get_limit_left())
i.save_images("a blue cyber dream", './output')

Thanks

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

ideo-0.1.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

ideo-0.1.2-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

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